Lines Matching defs:cstr
197 char *cstr = NULL;
204 if (topo_fmri_nvl2str(thp, fmri, &cstr, err) != 0) {
209 if (nvlist_lookup_uint64(g_topo2diskmon, cstr, &u64val) == 0) {
216 *str = dstrdup(cstr);
217 topo_hdl_strfree(thp, cstr);
481 char *cstr = NULL;
499 if ((p = fmri2ptr(thp, node, &cstr, &err)) != NULL) {
516 wdp->pfmri = cstr;
532 if (cstr)
533 dstrfree(cstr);
671 if (cstr != NULL) {
701 if (nvlist_add_uint64(g_topo2diskmon, cstr,
705 "for `%s'!\n", cstr);
720 wdp->pfmri = cstr;