Home
last modified time | relevance | path

Searched refs:nvlist_find (Results 1 – 6 of 6) sorted by relevance

/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c961 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()
1133 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, in vdev_from_nvlist()
1249 rc = nvlist_find(kids[i], ZPOOL_CONFIG_GUID, in vdev_update_from_nvlist()
1897 if (nvlist_find(vdevs, ZPOOL_CONFIG_CHILDREN, in vdev_get_label_asize()
[all …]
H A Dnvlist.h135 int nvlist_find(const nvlist_t *, const char *, data_type_t,
H A Dzfs.c901 if (nvlist_find(spa->spa_bootenv, OS_NVSTORE, DATA_TYPE_NVLIST, in zfs_nvstore_getter()
905 rv = nvlist_find(nv, name, DATA_TYPE_STRING, NULL, &str, &size); in zfs_nvstore_getter()
935 if (nvlist_find(spa->spa_bootenv, OS_NVSTORE, DATA_TYPE_NVLIST, in zfs_nvstore_setter()
1108 if (nvlist_find(spa->spa_bootenv, OS_NVSTORE, DATA_TYPE_NVLIST, in zfs_nvstore_setter_str()
1250 if (nvlist_find(spa->spa_bootenv, OS_NVSTORE, DATA_TYPE_NVLIST, in zfs_nvstore_unset_impl()
1411 if (nvlist_find(spa->spa_bootenv, OS_NVSTORE, DATA_TYPE_NVLIST, in zfs_nvstore_iterate()
1448 rv = nvlist_find(spa->spa_bootenv, BOOTENV_VERSION, DATA_TYPE_UINT64, in zfs_attach_nvstore()
H A Dnvlist.c896 nvlist_find(const nvlist_t *nvl, const char *name, data_type_t type, in nvlist_find() function
/freebsd/sys/contrib/libnv/
H A Dnvlist.c421 return (nvlist_find(nvl, type, name) != NULL); in nvlist_exists_type()
434 nvp = nvlist_find(nvl, type, name); in nvlist_free_type()
1419 return (nvlist_find(nvl, NV_TYPE_NONE, name) != NULL); in nvlist_exists()
1618 nvp = nvlist_find(nvl, NV_TYPE_##TYPE##_ARRAY, name); \ in NVLIST_ADD_ARRAY()
1879 return (nvlist_find(nvl, NV_TYPE_NONE, name)); in nvlist_get_nvpair()
1888 nvp = nvlist_find(nvl, NV_TYPE_##TYPE, name); \
1909 nvp = nvlist_find(nvl, NV_TYPE_BINARY, name); in NVLIST_GET()
1923 nvp = nvlist_find(nvl, NV_TYPE_##TYPE##_ARRAY, name); \
1946 nvp = nvlist_find(nvl, NV_TYPE_##TYPE, name); \ in NVLIST_GET_ARRAY()
1971 nvp = nvlist_find(nvl, NV_TYPE_BINARY, name);
[all …]
/freebsd/usr.sbin/makefs/zfs/
H A Ddsl.c77 error = nvlist_find(nvl, key, DATA_TYPE_STRING, NULL, &str, &len); in nvlist_find_string()
88 return (nvlist_find(nvl, key, DATA_TYPE_UINT64, NULL, retp, NULL)); in nvlist_find_uint64()