Home
last modified time | relevance | path

Searched refs:sparse (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c63 struct sparse { struct
68 static void create_sparse_file(const char *, const struct sparse *); argument
117 create_sparse_file(const char *path, const struct sparse *s) in create_sparse_file()
182 const struct sparse sparse_file[] = { in is_sparse_supported_fiemap()
238 const struct sparse sparse_file[] = { in is_sparse_supported()
285 create_sparse_file(const char *path, const struct sparse *s) in create_sparse_file()
290 const struct sparse *cur = s; in create_sparse_file()
330 const struct sparse *sparse, int expected_holes) in verify_sparse_file() argument
338 create_sparse_file(path, sparse); in verify_sparse_file()
355 while (expected_offset + (int64_t)sparse->size < offset) { in verify_sparse_file()
[all …]
H A Dtest_write_disk_sparse.c34 verify_write_data(struct archive *a, int sparse)
41 const char *msg = sparse ? "sparse" : "non-sparse"; in verify_write_data()
56 /* Use archive_write_data() to write three relatively sparse blocks. */ in verify_write_data()
131 verify_write_data_block(struct archive *a, int sparse)
138 const char *msg = sparse ? "sparse" : "non-sparse"; in verify_write_data_block()
154 relatively sparse block in verify_write_data_block()
35 verify_write_data(struct archive * a,int sparse) verify_write_data() argument
132 verify_write_data_block(struct archive * a,int sparse) verify_write_data_block() argument
[all...]
/freebsd/crypto/openssl/doc/internal/man3/
H A DOPENSSL_SA.pod8 - 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/crypto/openssl/crypto/
H A DREADME-sparse_array.md4 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/tools/test/stress2/misc/
H A Dtmpfs25.sh47 truncate -s $s $mntpoint/sparse || {
51 rm $mntpoint/sparse || break
60 file=$mntpoint/sparse.$i
H A Dforce11.sh66 dd if=$diskimage of=$backup bs=1m conv=sparse,sync status=none
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/
H A Ddosmode.ksh179 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/tools/tools/nanobsd/
H A Dlegacy.sh139 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/tests/sys/cddl/zfs/tests/sparse/
H A DMakefile4 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/sparse
13 ${PACKAGE}FILES+= sparse.cfg
H A Dsparse_test.sh37 . $(atf_get_srcdir)/sparse.cfg
46 . $(atf_get_srcdir)/sparse.cfg
/freebsd/bin/cp/tests/
H A Dsparse.c23 sparse(const char *filename) in sparse() function
70 if (!sparse(*argv++)) in main()
H A DMakefile4 PROGS+= sparse
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/sparse/
H A Dsparse_001_pos.ksh33 . $STF_SUITE/tests/functional/sparse/sparse.cfg
H A Dsparse.cfg33 export TESTFILE=testfile.sparse
/freebsd/usr.bin/du/tests/
H A Ddu_test.sh46 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/bin/dd/
H A DMakefile27 @./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 Ddd.c545 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/sys/fs/tarfs/
H A Dtarfs_vfsops.c454 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/contrib/libarchive/tar/
H A Dwrite.c738 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/contrib/openpam/
H A DMakefile.am36 --sparse "${covdir}/@PACKAGE@".*.raw -o "${profdata}"
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c100 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/tests/sys/cddl/zfs/tests/
H A DMakefile60 TESTS_SUBDIRS+= sparse
/freebsd/contrib/blocklist/
H A DTODO10 - perhaps instead of scanning the list have a sparse map by port?
/freebsd/usr.sbin/makefs/
H A Dmakefs.c228 fsoptions.sparse = 1; in main()
270 fsoptions.sparse = 1; in main()
/freebsd/usr.sbin/makefs/tests/
H A Dmakefs_tests_common.sh129 count=1 oseek=${filesize} conv=sparse

123