| /freebsd-src/contrib/libarchive/libarchive/test/ |
| H A D | test_sparse_basic.c | 52 /* The logic to compare sparse file data read from disk with the 63 struct sparse { struct 68 static void create_sparse_file(const char *, const struct sparse *); argument 71 * does support sparse files is certain to store a gap this big 84 * Create a sparse file on Windows. 117 create_sparse_file(const char *path, const struct sparse *s) in create_sparse_file() 175 * FIEMAP, which can detect 'hole' of a sparse file, has 182 const struct sparse sparse_file[] = { in is_sparse_supported_fiemap() 183 /* This hole size is too small to create a sparse in is_sparse_supported_fiemap() 223 * FreeBSD and Solaris can detect 'hole' of a sparse fil 327 verify_sparse_file(struct archive * a,const char * path,const struct sparse * sparse,int expected_holes) verify_sparse_file() argument 453 verify_sparse_file2(struct archive * a,const char * path,const struct sparse * sparse,int blocks,int preopen) 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-src/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 88 structure of the sparse array to change which causes race conditions if the [all …]
|
| /freebsd-src/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-src/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-src/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-src/tools/tools/nanobsd/ |
| H A D | legacy.sh | 139 dd conv=sparse if=/dev/${MD} of=${NANO_DISKIMGDIR}/_.disk.image bs=64k 197 dd conv=sparse if=${NANO_DISKIMGDIR}/_.disk.image of=/dev/${MD}${NANO_SLICE_ROOT} bs=64k 202 dd conv=sparse if=/dev/${MD}${NANO_SLICE_ROOT} of=/dev/${MD}${NANO_SLICE_ALTROOT} bs=64k 239 dd conv=sparse if=/dev/${MD} of=${IMG} bs=64k
|
| /freebsd-src/tests/sys/cddl/zfs/tests/sparse/ |
| H A D | Makefile | 4 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/sparse 13 ${PACKAGE}FILES+= sparse.cfg
|
| H A D | sparse_test.sh | 37 . $(atf_get_srcdir)/sparse.cfg 46 . $(atf_get_srcdir)/sparse.cfg
|
| /freebsd-src/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-src/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 | 4 PROGS+= sparse
|
| /freebsd-src/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-src/bin/dd/ |
| H A D | Makefile | 26 @${ECHO} "testing sparse file (obs zeroes)" 27 @./gen 189284 | ./dd ibs=16 obs=8 conv=sparse of=obs_zeroes 2> /dev/null 32 @./dd if=1M_zeroes of=1M_zeroes.1 bs=1048576 conv=sparse 2> /dev/null
|
| H A D | dd.c | 545 int sparse; in dd_out() local 573 sparse = 0; in dd_out() 576 sparse = BISZERO(outp, cnt); in dd_out() 578 if (sparse && !force) { in dd_out()
|
| /freebsd-src/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_tar.c | 100 struct gnu_sparse sparse[4]; member 121 /* For "GNU.sparse.name" and other similar path extensions. */ 163 const struct gnu_sparse *sparse, int length); 234 static const size_t sparse_map_limit = 8 * 1048576; /* Longest sparse map: 8MiB */ in archive_read_support_format_gnutar() 551 * "non-sparse" files are really just sparse files with in archive_read_format_tar_read_header() 604 /* Remove exhausted entries from sparse list. */ in archive_read_format_tar_read_data() 639 * current sparse block. */ in archive_read_format_tar_read_data() 665 /* Do not consume the hole of a sparse file. */ in archive_read_format_tar_skip() 687 /* Free the sparse lis in archive_read_format_tar_skip() 2349 struct gnu_sparse sparse[21]; gnu_sparse_old_read() member 2383 gnu_sparse_old_parse(struct archive_read * a,struct tar * tar,const struct gnu_sparse * sparse,int length) gnu_sparse_old_parse() argument [all...] |
| /freebsd-src/contrib/openpam/ |
| H A D | Makefile.am | 36 --sparse "${covdir}/@PACKAGE@".*.raw -o "${profdata}"
|
| /freebsd-src/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-src/contrib/libarchive/tar/ |
| H A D | write.c | 738 int64_t sparse = offset - progress; in copy_file_data_block() 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() 754 int64_t sparse = offset - progress; copy_file_data_block() local
|
| /freebsd-src/tests/sys/cddl/zfs/tests/ |
| H A D | Makefile | 60 TESTS_SUBDIRS+= sparse
|
| /freebsd-src/contrib/blocklist/ |
| H A D | TODO | 10 - perhaps instead of scanning the list have a sparse map by port?
|
| /freebsd-src/usr.sbin/makefs/ |
| H A D | makefs.c | 228 fsoptions.sparse = 1; in main() 270 fsoptions.sparse = 1; in main()
|
| /freebsd-src/usr.sbin/makefs/tests/ |
| H A D | makefs_tests_common.sh | 129 count=1 oseek=${filesize} conv=sparse
|