Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c64 struct sparse { struct
286 const struct sparse *cur = s; in create_sparse_file()
326 const struct sparse *sparse, int expected_holes) in verify_sparse_file() argument
358 ++sparse; in verify_sparse_file()
373 ++sparse; in verify_sparse_file()
390 ++sparse; in verify_sparse_file()
402 ++sparse; in verify_sparse_file()
428 ++sparse; in verify_sparse_file()
430 assert(sparse->type == END); in verify_sparse_file()
450 const struct sparse *sparse, int blocks, int preopen) in verify_sparse_file2() argument
[all …]
H A Dtest_write_disk_sparse.c35 verify_write_data(struct archive *a, int sparse) in verify_write_data() argument
42 const char *msg = sparse ? "sparse" : "non-sparse"; in verify_write_data()
132 verify_write_data_block(struct archive *a, int sparse) in verify_write_data_block() argument
139 const char *msg = sparse ? "sparse" : "non-sparse"; in verify_write_data_block()
/freebsd-12.1/tests/sys/cddl/zfs/tests/sparse/
H A DMakefile6 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/sparse
15 ${PACKAGE}FILES+= sparse.cfg
H A Dsparse_test.sh39 . $(atf_get_srcdir)/sparse.cfg
48 . $(atf_get_srcdir)/sparse.cfg
H A Dsparse.cfg29 # ident "@(#)sparse.cfg 1.3 08/08/15 SMI"
/freebsd-12.1/tools/tools/nanobsd/
H A Dlegacy.sh153 dd conv=sparse if=/dev/${MD}${NANO_SLICE_ROOT} of=/dev/${MD}${NANO_SLICE_ALTROOT} bs=64k
190 dd conv=sparse if=/dev/${MD} of=${IMG} bs=64k
195 dd conv=sparse if=/dev/${MD}${NANO_SLICE_ROOT} \
/freebsd-12.1/usr.bin/du/tests/
H A Ddu_test.sh35 atf_check truncate -s 10g sparse.file
36 atf_check -o inline:'1\tsparse.file\n' du -g sparse.file
37 atf_check -o inline:'10\tsparse.file\n' du -A -g sparse.file
/freebsd-12.1/bin/dd/
H A DMakefile30 @./gen 189284 | ./dd ibs=16 obs=8 conv=sparse of=obs_zeroes 2> /dev/null
35 @./dd if=1M_zeroes of=1M_zeroes.1 bs=1048576 conv=sparse 2> /dev/null
H A Ddd.c518 int sparse; in dd_out() local
546 sparse = 0; in dd_out()
549 sparse = BISZERO(outp, cnt); in dd_out()
551 if (sparse && !force) { in dd_out()
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c101 struct gnu_sparse sparse[4]; member
170 const struct gnu_sparse *sparse, int length);
2238 if (header->sparse[0].offset[0] != 0) { in header_gnutar()
2308 struct gnu_sparse sparse[21]; in gnu_sparse_old_read() member
2314 if (gnu_sparse_old_parse(a, tar, header->sparse, 4) != ARCHIVE_OK) in gnu_sparse_old_read()
2332 if (gnu_sparse_old_parse(a, tar, ext->sparse, 21) != ARCHIVE_OK) in gnu_sparse_old_read()
2342 const struct gnu_sparse *sparse, int length) in gnu_sparse_old_parse() argument
2344 while (length > 0 && sparse->offset[0] != 0) { in gnu_sparse_old_parse()
2346 tar_atol(sparse->offset, sizeof(sparse->offset)), in gnu_sparse_old_parse()
2347 tar_atol(sparse->numbytes, sizeof(sparse->numbytes))) in gnu_sparse_old_parse()
[all …]
/freebsd-12.1/contrib/libarchive/tar/
H A Dwrite.c749 int64_t sparse = offset - progress; in copy_file_data_block() local
757 while (sparse > 0) { in copy_file_data_block()
758 if (sparse > (int64_t)bsdtar->buff_size) in copy_file_data_block()
761 ns = (size_t)sparse; in copy_file_data_block()
780 sparse -= bytes_written; in copy_file_data_block()
/freebsd-12.1/sys/contrib/zstd/programs/
H A Dfileio.h52 void FIO_setSparseWrite(unsigned sparse); /**< 0: no sparse; 1: disable on stdout; 2: always enabl…
H A Dzstd.1.md149 * `--[no-]sparse`:
150 enable / disable sparse FS support,
152 Creating sparse files may save disk space and speed up decompression by
156 This setting overrides default and can force sparse mode over stdout.
/freebsd-12.1/tests/sys/cddl/zfs/tests/
H A DMakefile62 TESTS_SUBDIRS+= sparse
/freebsd-12.1/contrib/blacklist/
H A DTODO10 - perhaps instead of scanning the list have a sparse map by port?
/freebsd-12.1/usr.sbin/makefs/
H A Dmakefs.c228 fsoptions.sparse = 1; in main()
270 fsoptions.sparse = 1; in main()
H A Dmakefs.h162 int sparse; /* sparse image, don't fill it with zeros */ member
H A Dffs.c511 if (fsopts->sparse) { in ffs_create_image()
514 fsopts->sparse = 0; in ffs_create_image()
517 if (fsopts->sparse) { in ffs_create_image()
/freebsd-12.1/contrib/file/magic/Magdir/
H A Dandroid131 # Android sparse img format
134 0 lelong 0xed26ff3a Android sparse image
/freebsd-12.1/usr.sbin/makefs/tests/
H A Dmakefs_tests_common.sh132 count=1 oseek=${filesize} conv=sparse
/freebsd-12.1/sys/dev/evdev/
H A Devdev.c840 enum evdev_sparse_result sparse; in evdev_send_event() local
844 sparse = evdev_sparse_event(evdev, type, code, value); in evdev_send_event()
845 switch (sparse) { in evdev_send_event()
/freebsd-12.1/sys/contrib/zstd/tests/
H A DplayTests.sh290 $ZSTD tmpSparse -c | $ZSTD -dv --sparse -c > tmpOutSparse
292 $ZSTD tmpSparse -c | $ZSTD -dv --no-sparse -c > tmpOutNoSparse
295 ./datagen -s1 -g1200007 -P100 | $ZSTD | $ZSTD -dv --sparse -c > tmpSparseOdd # Odd size file (to …
/freebsd-12.1/sbin/savecore/
H A Dsavecore.c389 DoRegularFile(int fd, off_t dumpsize, u_int sectorsize, bool sparse, char *buf, in DoRegularFile() argument
412 if (!sparse) { in DoRegularFile()
/freebsd-12.1/bin/ls/tests/
H A Dls_tests.sh99 count=1 oseek=${filesize} conv=sparse
106 count=1 oseek=$(( $filesize / $MB )) conv=sparse
/freebsd-12.1/etc/mtree/
H A DBSD.tests.dist684 sparse

123