Lines Matching defs:nvlist

157 nvlist_find(const unsigned char *nvlist, const char *name, int type,
164 p = nvlist;
216 nvlist_check_features_for_read(const unsigned char *nvlist)
225 p = nvlist;
267 * Return the next nvlist in an nvlist array.
270 nvlist_next(const unsigned char *nvlist)
276 p = nvlist;
297 nvlist_print(const unsigned char *nvlist, unsigned int indent)
334 p = nvlist;
510 vdev_init_from_nvlist(const unsigned char *nvlist, vdev_t *pvdev,
522 if (nvlist_find(nvlist, ZPOOL_CONFIG_GUID,
524 || nvlist_find(nvlist, ZPOOL_CONFIG_ID,
526 || nvlist_find(nvlist, ZPOOL_CONFIG_TYPE,
545 nvlist_find(nvlist, ZPOOL_CONFIG_OFFLINE, DATA_TYPE_UINT64, 0,
547 nvlist_find(nvlist, ZPOOL_CONFIG_REMOVED, DATA_TYPE_UINT64, 0,
549 nvlist_find(nvlist, ZPOOL_CONFIG_FAULTED, DATA_TYPE_UINT64, 0,
551 nvlist_find(nvlist, ZPOOL_CONFIG_DEGRADED, DATA_TYPE_UINT64, 0,
553 nvlist_find(nvlist, ZPOOL_CONFIG_NOT_PRESENT, DATA_TYPE_UINT64, 0,
571 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASHIFT,
576 if (nvlist_find(nvlist, ZPOOL_CONFIG_NPARITY,
581 if (nvlist_find(nvlist, ZPOOL_CONFIG_PATH,
624 rc = nvlist_find(nvlist, ZPOOL_CONFIG_CHILDREN,
886 const unsigned char *nvlist;
920 nvlist = (const unsigned char *) vdev_label->vp_nvlist + 4;
922 if (nvlist_find(nvlist,
935 if (nvlist_find(nvlist,
941 if (nvlist_find(nvlist,
952 if (nvlist_find(nvlist,
955 || nvlist_find(nvlist,
958 || nvlist_find(nvlist,
970 (void) nvlist_find(nvlist, ZPOOL_CONFIG_IS_LOG, DATA_TYPE_UINT64, 0,
995 if (nvlist_find(nvlist,
1004 if (nvlist_find(nvlist,
1033 printf("ZFS: inconsistent nvlist contents\n");