Home
last modified time | relevance | path

Searched refs:ZPOOL_CONFIG_SPARES (Results 1 – 17 of 17) sorted by relevance

/f-stack/freebsd/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c130 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in find_vdev()
201 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in replace_with_spare()
H A Dzfs_agents.c98 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_SPARES, in zfs_agent_iter_vdev()
H A Dzfs_mod.c489 if (nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_SPARES, in zfs_iter_vdev()
H A Dzfs_diagnosis.c205 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_SPARES, &child, in zfs_mark_vdev()
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dutil.c146 show_vdev_stats(NULL, ZPOOL_CONFIG_SPARES, nvroot, 0); in show_pool_stats()
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c249 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in is_spare()
1073 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in make_disks()
1145 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in is_device_in_use()
1708 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
H A Dzpool_iter.c278 ZPOOL_CONFIG_SPARES, in for_each_vdev_cb()
H A Dzpool_main.c735 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in print_spare_list()
1050 if (nvlist_lookup_nvlist_array(poolnvroot, ZPOOL_CONFIG_SPARES, in zpool_do_add()
1061 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_do_add()
1879 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in max_width()
2513 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in print_import_config()
6059 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, &child, in print_list_stats()
8354 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in status_callback()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c425 cb.cb_type = ZPOOL_CONFIG_SPARES; in zpool_in_use()
H A Dlibzfs_pool.c1496 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_add()
2633 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, in vdev_to_nvlist_iter()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspa.c1719 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0); in spa_load_spares()
5206 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
5209 ZPOOL_CONFIG_SPARES, spares, nspares) == 0);
5211 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
5788 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
5793 ZPOOL_CONFIG_SPARES, spares, nspares) == 0);
6054 ZPOOL_CONFIG_SPARES, DATA_TYPE_NVLIST_ARRAY) == 0);
6059 ZPOOL_CONFIG_SPARES, spares, nspares) == 0);
6474 ZPOOL_CONFIG_SPARES, &spares, &nspares) != 0)
6532 ZPOOL_CONFIG_SPARES);
[all …]
H A Dvdev_draid.c1891 error = nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in vdev_draid_spare_create()
1943 (void) nvlist_remove_all(nvroot, ZPOOL_CONFIG_SPARES); in vdev_draid_spare_create()
1944 fnvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in vdev_draid_spare_create()
2864 ZPOOL_CONFIG_SPARES, &spares, &nspares) != 0)) { in vdev_draid_spare_lookup()
H A Dvdev_removal.c2219 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0 && in spa_vdev_remove()
2246 ZPOOL_CONFIG_SPARES, spares, nspares, nv); in spa_vdev_remove()
H A Dvdev.c4604 ZPOOL_CONFIG_SPARES, &aux, &naux) == 0); in vdev_config_dirty()
/f-stack/freebsd/contrib/openzfs/include/sys/fs/
H A Dzfs.h686 #define ZPOOL_CONFIG_SPARES "spares" macro
/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c809 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in get_configs()
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c3266 aux = ZPOOL_CONFIG_SPARES; in ztest_vdev_aux_add_remove()