Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c63 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 Dtest_write_disk_sparse.c34 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 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
89 sparse array is accessed in a different thread.
[all …]
/freebsd-14.2/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-14.2/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-14.2/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-14.2/tools/tools/nanobsd/
H A Dlegacy.sh138 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 DMakefile5 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/sparse
14 ${PACKAGE}FILES+= sparse.cfg
H A Dsparse_test.sh37 . $(atf_get_srcdir)/sparse.cfg
46 . $(atf_get_srcdir)/sparse.cfg
H A Dsparse.cfg27 # ident "@(#)sparse.cfg 1.3 08/08/15 SMI"
/freebsd-14.2/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-14.2/bin/cp/tests/
H A Dsparse.c23 sparse(const char *filename) in sparse() function
70 if (!sparse(*argv++)) in main()
H A DMakefile5 PROGS+= sparse
/freebsd-14.2/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-14.2/bin/dd/
H A DMakefile29 @./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 Ddd.c557 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 DMakefile.am36 --sparse "${covdir}/@PACKAGE@".*.raw -o "${profdata}"
/freebsd-14.2/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-14.2/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-14.2/tests/sys/cddl/zfs/tests/
H A DMakefile61 TESTS_SUBDIRS+= sparse
/freebsd-14.2/contrib/blocklist/
H A DTODO10 - perhaps instead of scanning the list have a sparse map by port?
/freebsd-14.2/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-14.2/usr.sbin/makefs/
H A Dmakefs.c229 fsoptions.sparse = 1; in main()
271 fsoptions.sparse = 1; in main()

123