Searched refs:holes (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c417 vdev_is_hole(uint64_t *hole_array, uint_t holes, uint_t id) argument
419 for (int c = 0; c < holes; c++) {
451 uint_t holes; local
507 holes = 0;
521 &holes) == 0) {
524 hole_array, holes) == 0);
642 * The vdev namespace may contain holes as a result of
646 if (holes > 0) {
653 !vdev_is_hole(hole_array, holes, c))
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c5197 uint64_t *holes; local
5223 holes = NULL;
5225 &holes, &nholes);
5237 for (i = 0; holes != NULL && i < nholes; i++) {
5240 if (tops[holes[i]] != NULL)
5242 nvlist_alloc(&tops[holes[i]], NV_UNIQUE_NAME, KM_SLEEP);
5243 VERIFY(nvlist_add_string(tops[holes[i]], ZPOOL_CONFIG_TYPE,
5245 VERIFY(nvlist_add_uint64(tops[holes[i]], ZPOOL_CONFIG_ID,
5246 holes[i]) == 0);
5247 VERIFY(nvlist_add_uint64(tops[holes[
[all...]

Completed in 145 milliseconds