Searched refs:fallocate (Results 1 - 15 of 15) sorted by relevance

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fallocate/
H A Dfallocate_prealloc.ksh31 # Test fallocate(2) preallocation.
34 # 1. Verify mode 0 fallocate is supported.
54 log_must fallocate -l $((1024 * 1024 * 1024)) $FILE
59 log_mustnot fallocate -l $((150 * 1024 * 1024)) $FILE
60 log_mustnot fallocate -l $((110 * 1024 * 1024)) $FILE
61 log_must fallocate -l $((90 * 1024 * 1024)) $FILE
H A Dfallocate_zero-range.ksh112 log_must fallocate --keep-size --zero-range --offset $((BLKSZ * 4)) --length $((BLKSZ * 10)) "$FILE"
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/no_space/
H A Denospc_rm.ksh57 --fallocate=none --rw=write --bs=1M --size=1G --numjobs=4 \
66 --fallocate=none --rw=write --bs=1M --size=10M --numjobs=200 \
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_volume.ksh131 if fallocate --punch-hole 2>&1 | grep -q "unrecognized option"; then
132 log_note "fallocate(1) does not support --punch-hole"
135 log_must fallocate --punch-hole -l 128K -o 512K $MNTPNT/discard
136 log_must fallocate --punch-hole -l 512K -o 1M $MNTPNT/discard
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Drandfree_file.c110 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
112 perror("fallocate");
/freebsd-current/tests/sys/fs/fusefs/
H A DMakefile22 GTESTS+= fallocate
H A Dmockfs.cc211 in.body.fallocate.fh,
212 in.body.fallocate.offset,
213 in.body.fallocate.length,
214 in.body.fallocate.mode);
716 EXPECT_EQ(inlen, fih + sizeof(in.body.fallocate));
H A Dmockfs.hh160 fuse_fallocate_in fallocate; member in union:fuse_payloads_in
H A Dutils.cc233 in.body.fallocate.offset == offset &&
234 in.body.fallocate.length == length &&
235 in.body.fallocate.mode == mode);
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c331 * fallocate - allocate or free space on disk
353 * use the fallocate() callback to preallocate the space.
356 if (fp->f_op->fallocate)
357 error = fp->f_op->fallocate(fp, mode, offset, len);
H A Dzpl_file.c49 * When using fallocate(2) to preallocate space, inflate the requested
873 /* Legacy mode, disable fallocate compatibility. */
1344 .fallocate = zpl_fallocate,
/freebsd-current/sys/contrib/openzfs/tests/test-runner/bin/
H A Dzts-report.py.in234 'fallocate/fallocate_punch-hole': ['SKIP', fspacectl_reason],
/freebsd-current/tests/sys/posixshm/
H A Dposixshm_test.c1048 ATF_TC_WITHOUT_HEAD(fallocate); variable
1049 ATF_TC_BODY(fallocate, tc)
1954 ATF_TP_ADD_TC(tp, fallocate);
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c1370 * fallocate - allocate or free space on disk
1383 return (fallocate(fp->f_fd, mode, offset, len));
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/
H A DMakefile.am1467 functional/fallocate/cleanup.ksh \
1468 functional/fallocate/fallocate_prealloc.ksh \
1469 functional/fallocate/fallocate_punch-hole.ksh \
1470 functional/fallocate/fallocate_zero-range.ksh \
1471 functional/fallocate/setup.ksh \

Completed in 147 milliseconds