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.c190 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()
[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.c376 nvlist_find(const nvlist_t *nvl, int type, const char *name) in nvlist_find() function
414 return (nvlist_find(nvl, type, name) != NULL); in nvlist_exists_type()
427 nvp = nvlist_find(nvl, type, name); in nvlist_free_type()
1416 return (nvlist_find(nvl, NV_TYPE_NONE, name) != NULL); in nvlist_exists()
1424 return (nvlist_find(nvl, NV_TYPE_##TYPE, name) != NULL); \
1615 nvp = nvlist_find(nvl, NV_TYPE_##TYPE##_ARRAY, name); \ in NVLIST_ADD_ARRAY()
1876 return (nvlist_find(nvl, NV_TYPE_NONE, name)); in nvlist_get_nvpair()
1885 nvp = nvlist_find(nvl, NV_TYPE_##TYPE, name); \
1906 nvp = nvlist_find(nvl, NV_TYPE_BINARY, name); in NVLIST_GET()
1920 nvp = nvlist_find(nvl, NV_TYPE_##TYPE##_ARRAY, 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()