• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/stand/libsa/zfs/

Lines Matching refs:nvlist

202 		return (rc);	/* Error while reading nvlist */
206 nvp = &data->nvl_pair; /* first pair in nvlist */
884 vdev_set_initial_state(vdev_t *vdev, const nvlist_t *nvlist)
891 (void) nvlist_find(nvlist, ZPOOL_CONFIG_OFFLINE, DATA_TYPE_UINT64, NULL,
893 (void) nvlist_find(nvlist, ZPOOL_CONFIG_REMOVED, DATA_TYPE_UINT64, NULL,
895 (void) nvlist_find(nvlist, ZPOOL_CONFIG_FAULTED, DATA_TYPE_UINT64, NULL,
897 (void) nvlist_find(nvlist, ZPOOL_CONFIG_DEGRADED, DATA_TYPE_UINT64,
899 (void) nvlist_find(nvlist, ZPOOL_CONFIG_NOT_PRESENT, DATA_TYPE_UINT64,
901 (void) nvlist_find(nvlist, ZPOOL_CONFIG_IS_LOG, DATA_TYPE_UINT64, NULL,
919 vdev_init(uint64_t guid, const nvlist_t *nvlist, vdev_t **vdevp)
928 if (nvlist_find(nvlist, ZPOOL_CONFIG_ID, DATA_TYPE_UINT64, NULL, &id,
930 nvlist_find(nvlist, ZPOOL_CONFIG_TYPE, DATA_TYPE_STRING, NULL,
963 nvlist_find(nvlist,
967 nvlist_find(nvlist,
971 nvlist_find(nvlist,
985 vdev_set_initial_state(vdev, nvlist);
987 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASHIFT,
991 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASIZE,
997 if (nvlist_find(nvlist, ZPOOL_CONFIG_NPARITY,
1001 if (nvlist_find(nvlist, ZPOOL_CONFIG_PATH,
1111 vdev_from_nvlist(spa_t *spa, uint64_t top_guid, const nvlist_t *nvlist)
1120 rc = vdev_init(top_guid, nvlist, &top_vdev);
1129 rc = nvlist_find(nvlist, ZPOOL_CONFIG_CHILDREN, DATA_TYPE_NVLIST_ARRAY,
1166 vdev_init_from_label(spa_t *spa, const nvlist_t *nvlist)
1172 if (nvlist_find(nvlist, ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64,
1174 nvlist_find(nvlist, ZPOOL_CONFIG_TOP_GUID, DATA_TYPE_UINT64,
1176 nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST,
1233 vdev_update_from_nvlist(uint64_t top_guid, const nvlist_t *nvlist)
1242 vdev_set_initial_state(vdev, nvlist);
1245 rc = nvlist_find(nvlist, ZPOOL_CONFIG_CHILDREN, DATA_TYPE_NVLIST_ARRAY,
1273 vdev_init_from_nvlist(spa_t *spa, const nvlist_t *nvlist)
1279 if (nvlist_find(nvlist, ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64,
1281 nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_CHILDREN, DATA_TYPE_UINT64,
1283 nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST,
1786 * Read the bootenv area from pool label, return the nvlist from it.
1829 * we have textual data in vbe_bootenv, create nvlist
2160 printf("ZFS: inconsistent nvlist contents\n");
3458 nvlist_t *nvlist;
3493 rc = load_nvlist(spa, config_object, &nvlist);
3514 rc = vdev_init_from_nvlist(spa, nvlist);
3515 nvlist_destroy(nvlist);