| /freebsd-14.2/contrib/libarchive/libarchive/test/ |
| H A D | test_sparse_basic.c | 63 struct sparse { struct 290 const struct sparse *cur = s; in create_sparse_file() 330 const struct sparse *sparse, int expected_holes) in verify_sparse_file() argument 362 ++sparse; in verify_sparse_file() 378 ++sparse; in verify_sparse_file() 395 ++sparse; in verify_sparse_file() 407 ++sparse; in verify_sparse_file() 434 ++sparse; in verify_sparse_file() 436 assert(sparse->type == END); in verify_sparse_file() 456 const struct sparse *sparse, int blocks, int preopen) in verify_sparse_file2() argument [all …]
|
| H A D | test_write_disk_sparse.c | 34 verify_write_data(struct archive *a, int sparse) in verify_write_data() argument 41 const char *msg = sparse ? "sparse" : "non-sparse"; in verify_write_data() 131 verify_write_data_block(struct archive *a, int sparse) in verify_write_data_block() argument 138 const char *msg = sparse ? "sparse" : "non-sparse"; in verify_write_data_block()
|
| /freebsd-14.2/crypto/openssl/doc/internal/man3/ |
| H A D | OPENSSL_SA.pod | 8 - sparse array container 42 SPARSE_ARRAY_OF() returns the name for a sparse array of the specified 43 B<I<TYPE>>. DEFINE_SPARSE_ARRAY_OF() creates set of functions for a sparse 45 is stored in each element of a sparse array, the type is referenced by 59 starts at zero. The sparse array will be resized as required. 61 B<ossl_sa_I<TYPE>_new>() allocates a new empty sparse array. 70 in ascending index order. The index position, within the sparse array, 75 I<sa> in ascending index order. The index position, within the sparse 86 Care should be taken when accessing sparse arrays in multi-threaded 89 sparse array is accessed in a different thread. [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/ |
| H A D | README-sparse_array.md | 4 The `sparse_array.c` file contains an implementation of a sparse array that 7 The sparse array is represented using a tree structure. Each node in the 108 The nodes themselves are allocated in a sparse manner. Only nodes which exist 111 Because the data is expected to be sparse this doesn't result in a large waste 114 Values can be removed from the sparse array by setting their index position to 149 Accesses to elements in the sparse array take O(log n) time where n is the 155 Note: sparse arrays only include pointers to types.
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | tmpfs25.sh | 47 truncate -s $s $mntpoint/sparse || { 51 rm $mntpoint/sparse || break 60 file=$mntpoint/sparse.$i
|
| H A D | force11.sh | 66 dd if=$diskimage of=$backup bs=1m conv=sparse,sync status=none
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/ |
| H A D | dosmode.ksh | 179 log_must $changeflags sparse $testfile 180 log_must hasflag sparse $testfile 185 log_must user_run $owner $changeflags sparse $testfile 187 log_must hasflag sparse $testfile 189 log_mustnot user_run $other $changeflags sparse $testfile
|
| /freebsd-14.2/tools/tools/nanobsd/ |
| H A D | legacy.sh | 138 dd conv=sparse if=/dev/${MD} of=${NANO_DISKIMGDIR}/_.disk.image bs=64k 196 dd conv=sparse if=${NANO_DISKIMGDIR}/_.disk.image of=/dev/${MD}${NANO_SLICE_ROOT} bs=64k 201 dd conv=sparse if=/dev/${MD}${NANO_SLICE_ROOT} of=/dev/${MD}${NANO_SLICE_ALTROOT} bs=64k 238 dd conv=sparse if=/dev/${MD} of=${IMG} bs=64k
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/sparse/ |
| H A D | Makefile | 5 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/sparse 14 ${PACKAGE}FILES+= sparse.cfg
|
| H A D | sparse_test.sh | 37 . $(atf_get_srcdir)/sparse.cfg 46 . $(atf_get_srcdir)/sparse.cfg
|
| H A D | sparse.cfg | 27 # ident "@(#)sparse.cfg 1.3 08/08/15 SMI"
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/sparse/ |
| H A D | sparse_001_pos.ksh | 33 . $STF_SUITE/tests/functional/sparse/sparse.cfg
|
| H A D | sparse.cfg | 33 export TESTFILE=testfile.sparse
|
| /freebsd-14.2/bin/cp/tests/ |
| H A D | sparse.c | 23 sparse(const char *filename) in sparse() function 70 if (!sparse(*argv++)) in main()
|
| H A D | Makefile | 5 PROGS+= sparse
|
| /freebsd-14.2/usr.bin/du/tests/ |
| H A D | du_test.sh | 46 atf_check truncate -s 10g sparse.file 47 atf_check -o inline:'1\tsparse.file\n' du -g sparse.file 48 atf_check -o inline:'10\tsparse.file\n' du -A -g sparse.file
|
| /freebsd-14.2/bin/dd/ |
| H A D | Makefile | 29 @./gen 189284 | ./dd ibs=16 obs=8 conv=sparse of=obs_zeroes 2> /dev/null 34 @./dd if=1M_zeroes of=1M_zeroes.1 bs=1048576 conv=sparse 2> /dev/null
|
| H A D | dd.c | 557 int sparse; in dd_out() local 585 sparse = 0; in dd_out() 588 sparse = BISZERO(outp, cnt); in dd_out() 590 if (sparse && !force) { in dd_out()
|
| /freebsd-14.2/contrib/openpam/ |
| H A D | Makefile.am | 36 --sparse "${covdir}/@PACKAGE@".*.raw -o "${profdata}"
|
| /freebsd-14.2/sys/fs/tarfs/ |
| H A D | tarfs_vfsops.c | 454 boolean_t sparse = false; in tarfs_alloc_one() local 625 sparse = true; in tarfs_alloc_one() 633 sparse = true; in tarfs_alloc_one() 641 sparse = true; in tarfs_alloc_one() 650 sparse = true; in tarfs_alloc_one() 670 if (sparse) { in tarfs_alloc_one() 725 if (error == 0 && sparse) { in tarfs_alloc_one()
|
| /freebsd-14.2/contrib/libarchive/tar/ |
| H A D | write.c | 738 int64_t sparse = offset - progress; in copy_file_data_block() local 746 while (sparse > 0) { in copy_file_data_block() 747 if (sparse > (int64_t)bsdtar->buff_size) in copy_file_data_block() 750 ns = (size_t)sparse; in copy_file_data_block() 769 sparse -= bytes_written; in copy_file_data_block()
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/ |
| H A D | Makefile | 61 TESTS_SUBDIRS+= sparse
|
| /freebsd-14.2/contrib/blocklist/ |
| H A D | TODO | 10 - perhaps instead of scanning the list have a sparse map by port?
|
| /freebsd-14.2/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_tar.c | 100 struct gnu_sparse sparse[4]; member 163 const struct gnu_sparse *sparse, int length); 2918 if (header->sparse[0].offset[0] != 0) { in header_gnutar() 2988 struct gnu_sparse sparse[21]; in gnu_sparse_old_read() member 2994 if (gnu_sparse_old_parse(a, tar, header->sparse, 4) != ARCHIVE_OK) in gnu_sparse_old_read() 3010 if (gnu_sparse_old_parse(a, tar, ext->sparse, 21) != ARCHIVE_OK) in gnu_sparse_old_read() 3020 const struct gnu_sparse *sparse, int length) in gnu_sparse_old_parse() argument 3022 while (length > 0 && sparse->offset[0] != 0) { in gnu_sparse_old_parse() 3024 tar_atol(sparse->offset, sizeof(sparse->offset)), in gnu_sparse_old_parse() 3025 tar_atol(sparse->numbytes, sizeof(sparse->numbytes))) in gnu_sparse_old_parse() [all …]
|
| /freebsd-14.2/usr.sbin/makefs/ |
| H A D | makefs.c | 229 fsoptions.sparse = 1; in main() 271 fsoptions.sparse = 1; in main()
|