Lines Matching refs:nvlist_find
190 rc = nvlist_find(nvl, ZPOOL_CONFIG_FEATURES_FOR_READ, in nvlist_check_features_for_read()
889 (void) nvlist_find(nvlist, ZPOOL_CONFIG_OFFLINE, DATA_TYPE_UINT64, NULL, in vdev_set_initial_state()
891 (void) nvlist_find(nvlist, ZPOOL_CONFIG_REMOVED, DATA_TYPE_UINT64, NULL, in vdev_set_initial_state()
893 (void) nvlist_find(nvlist, ZPOOL_CONFIG_FAULTED, DATA_TYPE_UINT64, NULL, in vdev_set_initial_state()
895 (void) nvlist_find(nvlist, ZPOOL_CONFIG_DEGRADED, DATA_TYPE_UINT64, in vdev_set_initial_state()
897 (void) nvlist_find(nvlist, ZPOOL_CONFIG_NOT_PRESENT, DATA_TYPE_UINT64, in vdev_set_initial_state()
899 (void) nvlist_find(nvlist, ZPOOL_CONFIG_IS_LOG, DATA_TYPE_UINT64, NULL, in vdev_set_initial_state()
926 if (nvlist_find(nvlist, ZPOOL_CONFIG_ID, DATA_TYPE_UINT64, NULL, &id, in vdev_init()
928 nvlist_find(nvlist, ZPOOL_CONFIG_TYPE, DATA_TYPE_STRING, NULL, in vdev_init()
961 nvlist_find(nvlist, in vdev_init()
965 nvlist_find(nvlist, in vdev_init()
969 nvlist_find(nvlist, in vdev_init()
985 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASHIFT, in vdev_init()
989 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASIZE, in vdev_init()
995 if (nvlist_find(nvlist, ZPOOL_CONFIG_NPARITY, in vdev_init()
999 if (nvlist_find(nvlist, ZPOOL_CONFIG_PATH, in vdev_init()
1129 rc = nvlist_find(nvlist, ZPOOL_CONFIG_CHILDREN, DATA_TYPE_NVLIST_ARRAY, in vdev_from_nvlist()
1135 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, in vdev_from_nvlist()
1172 if (nvlist_find(nvlist, ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64, in vdev_init_from_label()
1174 nvlist_find(nvlist, ZPOOL_CONFIG_TOP_GUID, DATA_TYPE_UINT64, in vdev_init_from_label()
1176 nvlist_find(nvlist, ZPOOL_CONFIG_POOL_TXG, DATA_TYPE_UINT64, in vdev_init_from_label()
1178 nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST, in vdev_init_from_label()
1247 rc = nvlist_find(nvlist, ZPOOL_CONFIG_CHILDREN, DATA_TYPE_NVLIST_ARRAY, in vdev_update_from_nvlist()
1253 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, in vdev_update_from_nvlist()
1296 if (nvlist_find(nvlist, ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64, in vdev_init_from_nvlist()
1298 nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_CHILDREN, DATA_TYPE_UINT64, in vdev_init_from_nvlist()
1300 nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST, in vdev_init_from_nvlist()
1314 rc = nvlist_find(vdevs, ZPOOL_CONFIG_CHILDREN, DATA_TYPE_NVLIST_ARRAY, in vdev_init_from_nvlist()
1328 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, in vdev_init_from_nvlist()
1746 nvlist_find(nvp, BOOTENV_VERSION, DATA_TYPE_UINT64, NULL, in vdev_write_bootenv()
1761 nvlist_find(nvl, GRUB_ENVMAP, DATA_TYPE_STRING, NULL, in vdev_write_bootenv()
1892 if (nvlist_find(nvl, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST, in vdev_get_label_asize()
1900 if (nvlist_find(vdevs, ZPOOL_CONFIG_TYPE, DATA_TYPE_STRING, in vdev_get_label_asize()
1909 if (nvlist_find(vdevs, ZPOOL_CONFIG_ASIZE, DATA_TYPE_UINT64, in vdev_get_label_asize()
1917 if (nvlist_find(vdevs, ZPOOL_CONFIG_CHILDREN, in vdev_get_label_asize()
1960 error = nvlist_find(tmp, ZPOOL_CONFIG_POOL_TXG, in vdev_label_read_config()
2052 if (nvlist_find(nvl, ZPOOL_CONFIG_VERSION, DATA_TYPE_UINT64, in vdev_probe()
2072 if (nvlist_find(nvl, ZPOOL_CONFIG_POOL_STATE, DATA_TYPE_UINT64, in vdev_probe()
2084 if (nvlist_find(nvl, ZPOOL_CONFIG_POOL_TXG, DATA_TYPE_UINT64, in vdev_probe()
2086 nvlist_find(nvl, ZPOOL_CONFIG_TOP_GUID, DATA_TYPE_UINT64, in vdev_probe()
2088 nvlist_find(nvl, ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64, in vdev_probe()
2090 nvlist_find(nvl, ZPOOL_CONFIG_POOL_NAME, DATA_TYPE_STRING, in vdev_probe()
2092 nvlist_find(nvl, ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, in vdev_probe()
3942 if ((rv = nvlist_find(benv, key, DATA_TYPE_STRING, NULL, in zfs_get_bootonce_spa()