Searched refs:fallocate (Results 1 - 15 of 15) sorted by relevance
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fallocate/ |
H A D | fallocate_prealloc.ksh | 31 # 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 D | fallocate_zero-range.ksh | 112 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 D | enospc_rm.ksh | 57 --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 D | slog_replay_volume.ksh | 131 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 D | randfree_file.c | 110 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 112 perror("fallocate");
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | Makefile | 22 GTESTS+= fallocate
|
H A D | mockfs.cc | 211 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 D | mockfs.hh | 160 fuse_fallocate_in fallocate; member in union:fuse_payloads_in
|
H A D | utils.cc | 233 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 D | zfs_file_os.c | 331 * 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 D | zpl_file.c | 49 * 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 D | zts-report.py.in | 234 'fallocate/fallocate_punch-hole': ['SKIP', fspacectl_reason],
|
/freebsd-current/tests/sys/posixshm/ |
H A D | posixshm_test.c | 1048 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 D | kernel.c | 1370 * 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 D | Makefile.am | 1467 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