Home | History | Annotate | Download | only in common

Lines Matching refs:fru

53  * In order to work around these limitations, we have a per-vdev FRU property
107 nvlist_t *fru;
132 * Get the devfs path and FRU.
142 if (_topo_node_fru(tn, &fru, NULL, &err) != 0) {
148 * Convert the FRU into a string.
150 if (_topo_fmri_nvl2str(thp, fru, &frustr, &err) != 0) {
151 nvlist_free(fru);
156 nvlist_free(fru);
159 * Finally, we have a FRU string and device path. Add it to the hash.
251 * hc topology looking for disk nodes, and recording the io/devfs-path and FRU.
268 * Clear the FRU hash and initialize our basic structures.
301 * Given a devfs path, return the FRU for the device, if known. This will
328 * Given a fru path, return the device path. This will automatically call
333 libzfs_fru_devpath(libzfs_handle_t *hdl, const char *fru)
348 fru, frup->zf_fru))
357 * Change the stored FRU for the given vdev.
360 zpool_fru_set(zpool_handle_t *zhp, uint64_t vdev_guid, const char *fru)
365 (void) strncpy(zc.zc_value, fru, sizeof (zc.zc_value));
370 dgettext(TEXT_DOMAIN, "cannot set FRU")));
391 * This special function checks to see whether the FRU indicates it's supposed
397 libzfs_fru_notself(libzfs_handle_t *hdl, const char *fru)
408 if (strstr(fru, "/chassis=0/") == NULL)
411 if ((chassisid = strstr(fru, ":chassis-id=")) == NULL)
424 * Clear memory associated with the FRU hash.