Home
last modified time | relevance | path

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

/freebsd-11-stable/stand/libsa/zfs/
HDzfsimpl.c164 nvlist_find(const unsigned char *nvlist, const char *name, int type, in nvlist_find() function
529 if (nvlist_find(nvlist, ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, in vdev_init_from_nvlist()
531 || nvlist_find(nvlist, ZPOOL_CONFIG_ID, DATA_TYPE_UINT64, NULL, &id) in vdev_init_from_nvlist()
532 || nvlist_find(nvlist, ZPOOL_CONFIG_TYPE, DATA_TYPE_STRING, in vdev_init_from_nvlist()
551 nvlist_find(nvlist, ZPOOL_CONFIG_OFFLINE, DATA_TYPE_UINT64, NULL, in vdev_init_from_nvlist()
553 nvlist_find(nvlist, ZPOOL_CONFIG_REMOVED, DATA_TYPE_UINT64, NULL, in vdev_init_from_nvlist()
555 nvlist_find(nvlist, ZPOOL_CONFIG_FAULTED, DATA_TYPE_UINT64, NULL, in vdev_init_from_nvlist()
557 nvlist_find(nvlist, ZPOOL_CONFIG_DEGRADED, DATA_TYPE_UINT64, NULL, in vdev_init_from_nvlist()
559 nvlist_find(nvlist, ZPOOL_CONFIG_NOT_PRESENT, DATA_TYPE_UINT64, NULL, in vdev_init_from_nvlist()
577 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASHIFT, in vdev_init_from_nvlist()
[all …]
/freebsd-11-stable/sys/contrib/libnv/
HDnvlist.c326 nvlist_find(const nvlist_t *nvl, int type, const char *name) in nvlist_find() function
364 return (nvlist_find(nvl, type, name) != NULL); in nvlist_exists_type()
377 nvp = nvlist_find(nvl, type, name); in nvlist_free_type()
1421 return (nvlist_find(nvl, NV_TYPE_NONE, name) != NULL); in nvlist_exists()
1429 return (nvlist_find(nvl, NV_TYPE_##TYPE, name) != NULL); \
1619 nvp = nvlist_find(nvl, NV_TYPE_##TYPE##_ARRAY, name); \ in NVLIST_ADD_ARRAY()
1877 return (nvlist_find(nvl, NV_TYPE_NONE, name)); in nvlist_get_nvpair()
1886 nvp = nvlist_find(nvl, NV_TYPE_##TYPE, name); \
1907 nvp = nvlist_find(nvl, NV_TYPE_BINARY, name); in NVLIST_GET()
1921 nvp = nvlist_find(nvl, NV_TYPE_##TYPE##_ARRAY, name); \
[all …]