Home
last modified time | relevance | path

Searched refs:nvlist_lookup_nvlist_array (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/cddl/usr.sbin/zfsd/
H A Dvdev_iterator.cc91 result = nvlist_lookup_nvlist_array(rootVdev, in Reset()
98 result = nvlist_lookup_nvlist_array(rootVdev, in Reset()
121 result = nvlist_lookup_nvlist_array(vdevConfig, in Next()
H A Dvdev.cc208 result = nvlist_lookup_nvlist_array(m_config, in Children()
H A Dcase_file.cc495 error = nvlist_lookup_nvlist_array(config, ZPOOL_CONFIG_CHILDREN, in find_parent()
561 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, &spares, in ActivateSpare()
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c117 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in find_vdev()
126 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_L2CACHE, in find_vdev()
135 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in find_vdev()
166 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in remove_spares()
264 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in replace_with_spare()
501 if (nvlist_lookup_nvlist_array(nvl, FM_SUSPECT_FAULT_LIST, in zfs_retire_recv()
H A Dzfs_agents.c89 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_CHILDREN, in zfs_agent_iter_vdev()
101 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_SPARES, in zfs_agent_iter_vdev()
110 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_L2CACHE, in zfs_agent_iter_vdev()
H A Dzfs_mod.c627 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_CHILDREN, in zfs_iter_vdev()
636 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_SPARES, in zfs_iter_vdev()
641 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_L2CACHE, in zfs_iter_vdev()
H A Dzfs_diagnosis.c272 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_CHILDREN, &child, in zfs_mark_vdev()
278 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_L2CACHE, &child, in zfs_mark_vdev()
284 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_SPARES, &child, in zfs_mark_vdev()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c249 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in is_spare()
506 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
532 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in get_replication()
598 verify(nvlist_lookup_nvlist_array(cnv, in get_replication()
836 if ((nvlist_lookup_nvlist_array(newroot, ZPOOL_CONFIG_CHILDREN, in check_replication()
979 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in make_disks()
1122 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in make_disks()
1128 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_L2CACHE, in make_disks()
1155 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in is_device_in_use()
1194 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in is_device_in_use()
[all …]
H A Dzpool_util.c91 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in num_logs()
H A Dzpool_main.c570 (void) nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_collect_leaves()
912 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in print_vdev_tree()
959 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_L2CACHE, in print_cache_list()
983 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in print_spare_list()
1014 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in find_vdev()
1588 if (nvlist_lookup_nvlist_array(poolnvroot, ZPOOL_CONFIG_L2CACHE, in zpool_do_add()
1599 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in zpool_do_add()
1611 if (nvlist_lookup_nvlist_array(poolnvroot, ZPOOL_CONFIG_SPARES, in zpool_do_add()
1622 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_do_add()
2585 if (nvlist_lookup_nvlist_array(nv, subtypes[i], in max_width()
[all …]
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c54 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in zfs_allocatable_devs()
79 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in zfs_special_devs()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_status.c178 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_CHILDREN, &child, in find_vdev_problem()
194 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_L2CACHE, &child, in find_vdev_problem()
256 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in check_status()
H A Dlibzfs_import.c232 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in find_guid()
258 if (nvlist_lookup_nvlist_array(nvroot, cbp->cb_type, in find_aux()
H A Dlibzfs_pool.c1432 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, &child, in zpool_has_special_vdev()
1456 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_has_draid_vdev()
1809 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_add()
1818 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in zpool_add()
2136 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in print_vdev_tree()
3030 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in vdev_to_nvlist_iter()
3053 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in vdev_to_nvlist_iter()
3066 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_L2CACHE, in vdev_to_nvlist_iter()
3505 if (nvlist_lookup_nvlist_array(search, ZPOOL_CONFIG_CHILDREN, &child, in is_replacing_spare()
3580 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_vdev_attach()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c239 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in fix_paths()
853 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in get_configs()
864 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in get_configs()
1185 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in label_paths_impl()
1596 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in discover_cached_paths()
1948 (void) nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in vdev_is_leaf()
2074 if (nvlist_lookup_nvlist_array(nv, list[i], &child, in for_each_vdev_cb()
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c135 if (nvlist_lookup_nvlist_array(config, in find_start_block()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c112 if (nvlist_lookup_nvlist_array(nv, ctype, &child, &children) != 0) in show_vdev_stats()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c1931 error = nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in spa_config_parse()
2251 VERIFY0(nvlist_lookup_nvlist_array(spa->spa_spares.sav_config, in spa_load_spares()
2373 VERIFY0(nvlist_lookup_nvlist_array(sav->sav_config, in spa_load_l2cache()
5974 VERIFY0(nvlist_lookup_nvlist_array(spa->spa_spares.sav_config,
5979 VERIFY0(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
6024 VERIFY0(nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config,
6029 VERIFY0(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
6237 if (nvlist_lookup_nvlist_array(nvroot, config, &dev, &ndev) != 0)
6324 VERIFY0(nvlist_lookup_nvlist_array(sav->sav_config, config,
6555 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
[all …]
H A Dvdev_draid.c1698 error = nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in vdev_draid_spare_create()
2213 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, in vdev_draid_init()
2701 (nvlist_lookup_nvlist_array(spa->spa_spares.sav_config, in vdev_draid_spare_lookup()
H A Dzfs_fuid.c132 VERIFY(nvlist_lookup_nvlist_array(nvp, FUID_NVP_ARRAY, in zfs_fuid_table_load()
H A Dfm.c903 if (nvlist_lookup_nvlist_array(bboard, FM_FMRI_HC_LIST, &hcl, &n) in fm_fmri_hc_create()
H A Dvdev_removal.c2435 nvlist_lookup_nvlist_array(spa->spa_spares.sav_config, in spa_vdev_remove()
2471 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config, in spa_vdev_remove()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dnvpair.h261 _SYS_NVPAIR_H int nvlist_lookup_nvlist_array(nvlist_t *, const char *,
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c685 if (descend && nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in print_recursive_stats()
/freebsd/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c1825 nvlist_lookup_nvlist_array(nvlist_t *nvl, const char *name, in nvlist_lookup_nvlist_array() function
3762 EXPORT_SYMBOL(nvlist_lookup_nvlist_array);

12