Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/boot/zfs/
Dzfsimpl.c156 nvlist_find(const unsigned char *nvlist, const char *name, int type, in nvlist_find() function
521 if (nvlist_find(nvlist, ZPOOL_CONFIG_GUID, in vdev_init_from_nvlist()
523 || nvlist_find(nvlist, ZPOOL_CONFIG_ID, in vdev_init_from_nvlist()
525 || nvlist_find(nvlist, ZPOOL_CONFIG_TYPE, in vdev_init_from_nvlist()
544 nvlist_find(nvlist, ZPOOL_CONFIG_OFFLINE, DATA_TYPE_UINT64, 0, in vdev_init_from_nvlist()
546 nvlist_find(nvlist, ZPOOL_CONFIG_REMOVED, DATA_TYPE_UINT64, 0, in vdev_init_from_nvlist()
548 nvlist_find(nvlist, ZPOOL_CONFIG_FAULTED, DATA_TYPE_UINT64, 0, in vdev_init_from_nvlist()
550 nvlist_find(nvlist, ZPOOL_CONFIG_DEGRADED, DATA_TYPE_UINT64, 0, in vdev_init_from_nvlist()
552 nvlist_find(nvlist, ZPOOL_CONFIG_NOT_PRESENT, DATA_TYPE_UINT64, 0, in vdev_init_from_nvlist()
570 if (nvlist_find(nvlist, ZPOOL_CONFIG_ASHIFT, in vdev_init_from_nvlist()
[all …]
/freebsd-10-stable/sys/kern/
Dsubr_nvlist.c254 nvlist_find(const nvlist_t *nvl, int type, const char *name) in nvlist_find() function
292 return (nvlist_find(nvl, type, name) != NULL); in nvlist_exists_type()
305 nvp = nvlist_find(nvl, type, name); in nvlist_free_type()
1036 return (nvlist_find(nvl, NV_TYPE_NONE, name) != NULL); in nvlist_exists()
1044 return (nvlist_find(nvl, NV_TYPE_##TYPE, name) != NULL); \
1347 return (nvlist_find(nvl, NV_TYPE_NONE, name)); in nvlist_get_nvpair()
1356 nvp = nvlist_find(nvl, NV_TYPE_##TYPE, name); \
1377 nvp = nvlist_find(nvl, NV_TYPE_BINARY, name); in NVLIST_GET()
1391 nvp = nvlist_find(nvl, NV_TYPE_##TYPE, name); \
1416 nvp = nvlist_find(nvl, NV_TYPE_BINARY, name); in NVLIST_TAKE()