Home
last modified time | relevance | path

Searched refs:FALLOC_FL_PUNCH_HOLE (Results 1 - 25 of 37) sorted by relevance

12

/third_party/ltp/testcases/kernel/mem/hugetlb/hugefallocate/
H A Dhugefallocate01.c62 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
65 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test()
79 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
82 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test()
118 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
121 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test()
136 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
139 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test()
H A Dhugefallocate02.c58 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
61 tst_res(TFAIL|TERRNO, "fallocate(FALLOC_FL_PUNCH_HOLE)"); in run_test()
/third_party/ltp/include/lapi/
H A Dfallocate.h21 #ifndef FALLOC_FL_PUNCH_HOLE
22 # define FALLOC_FL_PUNCH_HOLE 0x02 macro
/third_party/f2fs-tools/mkfs/
H A Df2fs_format_utils.c51 #if defined(FALLOC_FL_PUNCH_HOLE) || defined(BLKDISCARD) || \
79 #if defined(HAVE_FALLOCATE) && defined(FALLOC_FL_PUNCH_HOLE) in trim_device()
80 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in trim_device()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dfallocate.c63 * @tc.desc : The parameter mode is FALLOC_FL_KEEP_SIZE|FALLOC_FL_PUNCH_HOLE, which can release file space.
75 int ret = fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, 4096, 4096 * 3); in fallocate_0300()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h178 #define FALLOC_FL_PUNCH_HOLE 2 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h177 #define FALLOC_FL_PUNCH_HOLE 2 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h177 #define FALLOC_FL_PUNCH_HOLE 2 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h177 #define FALLOC_FL_PUNCH_HOLE 2 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h173 #define FALLOC_FL_PUNCH_HOLE 2 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h177 #define FALLOC_FL_PUNCH_HOLE 2 macro
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate05.c31 #define TESTED_FLAGS "fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)"
122 TEST(fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, tmp)); in run()
H A Dfallocate06.c49 #define TESTED_FLAGS "fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)"
215 TEST(fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, offset, in run()
H A Dfallocate04.c7 * FALLOC_FL_PUNCH_HOLE, FALLOC_FL_ZERO_RANGE and FALLOC_FL_COLLAPSE_RANGE.
104 tst_res(TINFO, "make a hole with FALLOC_FL_PUNCH_HOLE"); in test02()
106 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in test02()
110 "FALLOC_FL_PUNCH_HOLE not supported"); in test02()
/third_party/musl/include/
H A Dfcntl.h180 #define FALLOC_FL_PUNCH_HOLE 2 macro
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
H A Dmemfd_create_common.c359 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, in check_mfd_writeable()
402 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, in check_mfd_non_writeable()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs474 /// `FALLOC_FL_PUNCH_HOLE`
475 const PUNCH_HOLE = linux_raw_sys::general::FALLOC_FL_PUNCH_HOLE;
/third_party/rust/crates/nix/src/
H A Dfcntl.rs654 FALLOC_FL_PUNCH_HOLE;
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Dtypes.rs716 /// `FALLOC_FL_PUNCH_HOLE`
728 const PUNCH_HOLE = c::FALLOC_FL_PUNCH_HOLE;
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
H A Dmod.rs1155 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs1035 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs297 pub const FALLOC_FL_PUNCH_HOLE: u32 = 2; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2645 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs2082 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs302 pub const FALLOC_FL_PUNCH_HOLE: u32 = 2; consts

Completed in 69 milliseconds

12