/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_holes.ksh | 22 # Verify redacted send streams reliably handle holes. 25 # 1. Holes written at the beginning and end of a non-sparse file in the 27 # 2. Holes written throughout a non-sparse file in the redacted list are 31 # 4. Holes in metadata blocks. 34 typeset ds_name="holes" 48 # Write holes at the start and end of a non-sparse file. 63 # Write two overlapping sets of holes into the same non-sparse file. 89 # Remove a file with holes. 120 log_pass "Redacted send streams reliably handle holes."
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | spa_os.c | 81 uint64_t *holes; in spa_generate_rootconf() local 108 holes = NULL; in spa_generate_rootconf() 110 &holes, &nholes); in spa_generate_rootconf() 122 for (i = 0; holes != NULL && i < nholes; i++) { in spa_generate_rootconf() 125 if (tops[holes[i]] != NULL) in spa_generate_rootconf() 127 tops[holes[i]] = fnvlist_alloc(); in spa_generate_rootconf() 128 fnvlist_add_string(tops[holes[i]], ZPOOL_CONFIG_TYPE, in spa_generate_rootconf() 130 fnvlist_add_uint64(tops[holes[i]], ZPOOL_CONFIG_ID, holes[i]); in spa_generate_rootconf() 131 fnvlist_add_uint64(tops[holes[i]], ZPOOL_CONFIG_GUID, 0); in spa_generate_rootconf()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/ |
H A D | mmap_seek_001_pos.ksh | 32 # lseek() data/holes for an mmap()'d file. 49 log_assert "lseek() data/holes for an mmap()'d file." 57 # Compression must be enabled to convert zero'd blocks to holes. 67 log_pass "lseek() data/holes for an mmap()'d file succeeded."
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_fs_001.ksh | 155 # Write zeros, which compress to holes, in the middle of a file 156 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.1 \ 158 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.1 \ 161 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.2 \ 163 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.2 \ 166 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.3 \ 168 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.3 \
|
H A D | slog_replay_volume.ksh | 125 # TX_WRITE (holes) 126 log_must dd if=/dev/urandom of=$MNTPNT/holes bs=128k count=8 127 log_must dd if=/dev/zero of=$MNTPNT/holes bs=128k count=2 seek=2 conv=notrunc
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_010_pos.ksh | 104 # Receive a file onto a file with holes (and vice versa). 113 # Receive a file with holes onto a file with holes (and vice versa). 116 # Receive a file with holes onto a directory (and vice versa). 119 # Receive a file with holes onto a missing object (and vice versa).
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_007_pos.ksh | 24 # Verify 'zfs send' drills holes appropriately when files are replaced 49 log_assert "Verify that 'zfs send' drills appropriate holes" 97 log_pass "'zfs send' drills appropriate holes"
|
/freebsd/sys/netinet/ |
H A D | tcp_sack.c | 148 "Maximum number of TCP SACK holes allowed per connection"); 153 "Global maximum number of TCP SACK holes"); 158 "Global number of TCP SACK holes currently allocated"); 552 * tp->snd_holes is an ordered list of holes (oldest to newest, in terms of 580 * If SND.UNA will be advanced by SEG.ACK, and if SACK holes exist, in tcp_sack_doack() 650 * uninitialized or have a bogus value). Scoreboard holes in tcp_sack_doack() 652 * (in the logic that adds holes to the tail of the in tcp_sack_doack() 659 * SACK holes (snd_holes) are traversed from their tails with just in tcp_sack_doack() 675 * and move this hole left. With normal holes, snd_fack in tcp_sack_doack() 873 ("SACK: more bytes marked notlost than in scoreboard holes")); in tcp_sack_doack() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fallocate/ |
H A D | fallocate_punch-hole.ksh | 37 # 2. Punch an assortment of holes in the file and verify the result. 89 log_assert "Ensure holes can be punched in files making them sparse" 127 log_pass "Ensure holes can be punched in files making them sparse"
|
/freebsd/lib/libsys/ |
H A D | lseek.2 | 120 zero, but not all zeros in a file are guaranteed to be represented as holes 136 to indicate that there are no more holes past the supplied 147 For file systems that do not supply information about holes, the file will be
|
H A D | pathconf.2 | 164 If a file system supports the reporting of holes (see 171 The offsets of holes returned will be aligned to this same value. 173 hole size but still reports holes.
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | qcom,pmic-gpio.txt | 115 gpio1-gpio12 for pms405 (holes on gpio1, gpio9 and gpio10) 116 gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7 118 gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7) 130 gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10
|
H A D | qcom,pmic-gpio.yaml | 455 - gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, 457 - gpio1-gpio12 for pm8150b (holes on gpio3, gpio4 486 - gpio1-gpio12 for pmp8074 (holes on gpio1 and gpio12) 490 - gpio1-gpio12 for pms405 (holes on gpio1, gpio9 492 - gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10
|
/freebsd/sys/contrib/device-tree/Bindings/display/panel/ |
H A D | sharp,ls037v7dw01.yaml | 12 configured with external pulls, all the GPIOs are considered optional with holes 40 optional with holes in the array.
|
/freebsd/sys/contrib/openzfs/man/man7/ |
H A D | zpool-features.7 | 646 and receives for objects with many holes. 657 but birth times are not recorded for holes 659 Since holes created after 660 .Sy A No cannot be distinguished from holes created before Sy A , 664 For workloads where holes are rare this is not a problem. 665 However, when incrementally replicating filesystems or zvols with many holes 668 about holes that already exist on the receiving side. 673 of all new holes will be recorded. 675 will use this new metadata to avoid sending information about holes that
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send_raw_spill_block.ksh | 82 # file5 - Truncate file to much larger size; add holes 99 # file15 - Truncate file to much larger size; add holes 120 # file25 - Truncate file to much larger size; add holes
|
H A D | send_spill_block.ksh | 78 # file5 - Truncate file to much larger size; add holes 95 # file15 - Truncate file to much larger size; add holes 116 # file25 - Truncate file to much larger size; add holes
|
H A D | send_raw_ashift.ksh | 82 # file5 - Truncate file to much larger size; add holes 99 # file15 - Truncate file to much larger size; add holes 120 # file25 - Truncate file to much larger size; add holes
|
H A D | send_hole_birth.ksh | 32 # Verify send streams which contain holes. 36 # 2. Permute the file with holes and snapshot.
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_sparse_basic.c | 295 /* Handle holes at the end by extending the file */ in create_sparse_file() 359 /* Must be holes. */ in verify_sparse_file() 472 /* Verify the number of holes only, not its offset nor its in verify_sparse_file2() 585 * report the number of the holes of a sparse file. */ in DEFINE_TEST() 596 "the reporting of the holes of a sparse file through " in DEFINE_TEST() 672 * report the number of the holes of a sparse file. */ in DEFINE_TEST() 683 "the reporting of the holes of a sparse file through " in DEFINE_TEST()
|
/freebsd/bin/pax/ |
H A D | pax.c | 123 * 1.4 Sparse files (lseek holes) stored on the archive (but stored with blocks 124 * of all zeros will be restored with holes appropriate for the target 177 * 3.1 Sparse files (lseek holes) can be copied without expanding the holes 178 * into zero filled blocks. The file copy is created with holes which are
|
H A D | file_subs.c | 701 * how to copy files with lseek holes in it. (Which are read as file 706 * the holes read as all zeros so are probably stored on the archive that 710 * with holes. However, on extraction (or during copy, -rw) we have to 711 * deal with these files. Without detecting the holes, the files can 724 * files with holes cannot be safely copied. It does have a side effect as 725 * it can put holes into files that did not have them before, but that is 729 * ever ends up on a system where CTG files are supported and the holes
|
H A D | buf_subs.c | 648 * restore file holes (blocks of zeros) into the file. When files are 651 * information on where the file holes are. 684 * to assume that we want to recover file holes as none of the archive in rd_wrfile() 685 * formats can record the location of file holes. in rd_wrfile() 742 * destination file so we can properly copy files with holes. 759 * check for holes in the source file. If none, we will use regular in cp_file()
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | 2.2.t | 351 Files may have ``holes'' in them. Holes are void areas in the 355 Holes are treated by the system as zero valued bytes.
|
/freebsd/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_import.c | 468 vdev_is_hole(uint64_t *hole_array, uint_t holes, uint_t id) in vdev_is_hole() argument 472 for (c = 0; c < holes; c++) { in vdev_is_hole() 515 uint_t holes = 0; in get_configs() local 558 holes = 0; in get_configs() 572 &holes) == 0) { in get_configs() 575 hole_array, holes) == 0); in get_configs() 702 * The vdev namespace may contain holes as a result of in get_configs() 706 if (holes > 0) { in get_configs() 713 !vdev_is_hole(hole_array, holes, c)) in get_configs() 721 * Holes in the namespace are treated as in get_configs()
|