/third_party/ltp/testcases/kernel/mem/hugetlb/hugefallocate/ |
H A D | hugefallocate01.c | 62 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 D | hugefallocate02.c | 58 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 D | fallocate.h | 21 #ifndef FALLOC_FL_PUNCH_HOLE 22 # define FALLOC_FL_PUNCH_HOLE 0x02 macro
|
/third_party/f2fs-tools/mkfs/ |
H A D | f2fs_format_utils.c | 51 #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 D | fallocate.c | 63 * @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 D | fcntl.h | 178 #define FALLOC_FL_PUNCH_HOLE 2 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 177 #define FALLOC_FL_PUNCH_HOLE 2 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 177 #define FALLOC_FL_PUNCH_HOLE 2 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 177 #define FALLOC_FL_PUNCH_HOLE 2 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 173 #define FALLOC_FL_PUNCH_HOLE 2 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 177 #define FALLOC_FL_PUNCH_HOLE 2 macro
|
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate05.c | 31 #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 D | fallocate06.c | 49 #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 D | fallocate04.c | 7 * 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 D | fcntl.h | 180 #define FALLOC_FL_PUNCH_HOLE 2 macro
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
H A D | memfd_create_common.c | 359 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 D | types.rs | 474 /// `FALLOC_FL_PUNCH_HOLE` 475 const PUNCH_HOLE = linux_raw_sys::general::FALLOC_FL_PUNCH_HOLE;
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 654 FALLOC_FL_PUNCH_HOLE;
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | types.rs | 716 /// `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 D | mod.rs | 1155 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 1035 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 297 pub const FALLOC_FL_PUNCH_HOLE: u32 = 2; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 2645 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 2082 pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 302 pub const FALLOC_FL_PUNCH_HOLE: u32 = 2; consts
|