Lines Matching defs:devid
135 char *devid = NULL, *tpl0id = NULL;
145 /* Get devid, if present */
146 err = nvlist_lookup_string(nvl, FM_FMRI_DEV_ID, &devid);
171 /* device-id part, topo_fmristr_build does nothing if devid is NULL */
173 buf, buflen, devid, ":" FM_FMRI_DEV_ID "=", NULL);
183 * there is a devid component so we continue to do that
187 * dev:///<devid-and-tpl0>//pci@0,0/...
189 * where <devid-and-tpl0> =
190 * [:devid=<devid>][:target-port-l0id=<tpl0>]
193 devid || tpl0id ? "/" : NULL, NULL);
236 char *cur, *devid = NULL, *tpl0id = NULL;
256 * with no FMRI auth info, no devid or target-port-l0id and
269 * fmri authority is a colon then we have devid and/or target-port-l0id
322 devid = eq + 1;
330 if (devid == NULL && tpl0id == NULL)
347 if (devid != NULL)
348 err |= nvlist_add_string(fmri, FM_FMRI_DEV_ID, devid);
353 if (devid != NULL || tpl0id != NULL)
382 char *devid;
411 &devid) == 0) {
420 fmd_zfs_iter_by_devid(hdlp, devid,