Lines Matching defs:devpath
108 char *devpath, *frustr;
120 FM_FMRI_AUTH_CHASSIS, &devpath, &err) == 0)
121 (void) strlcpy(hdl->libzfs_chassis_id, devpath,
134 if (_topo_prop_get_string(tn, "io", "devfs-path", &devpath, &err) != 0)
137 if (libzfs_fru_lookup(hdl, devpath) != NULL) {
138 _topo_hdl_strfree(thp, devpath);
143 _topo_hdl_strfree(thp, devpath);
152 _topo_hdl_strfree(thp, devpath);
162 _topo_hdl_strfree(thp, devpath);
167 if ((frup->zf_device = strdup(devpath)) == NULL ||
171 _topo_hdl_strfree(thp, devpath);
176 _topo_hdl_strfree(thp, devpath);
307 libzfs_fru_lookup(libzfs_handle_t *hdl, const char *devpath)
309 size_t idx = fru_strhash(devpath);
320 if (strcmp(devpath, frup->zf_device) == 0)