/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() 79 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test() 118 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test() 136 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
|
H A D | hugefallocate02.c | 58 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
|
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate03.c | 126 FALLOC_FL_KEEP_SIZE, 2, 1, TRUE}, { 127 FALLOC_FL_KEEP_SIZE, BLOCKS_WRITTEN, 1, TRUE}, { 128 FALLOC_FL_KEEP_SIZE, 130 FALLOC_FL_KEEP_SIZE, BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS + 2,
|
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 | fallocate01.c | 46 * 1) DEFAULT 2)FALLOC_FL_KEEP_SIZE 69 * (2) Test Case for FALLOC_FL_KEEP_SIZE 208 runtest(FALLOC_FL_KEEP_SIZE, fd_mode2, expected_size); in main()
|
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 | 106 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in test02()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | fallocate.c | 44 * @tc.desc : The parameter mode is FALLOC_FL_KEEP_SIZE, which can expand the file space. 55 int ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, 4096, 4096 * 3); in fallocate_0200() 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() 83 * @tc.desc : The parameter fd is invalid, the mode is FALLOC_FL_KEEP_SIZE, and the file space cannot be expanded 89 int ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, 4096, 4096 * 3); in fallocate_0400()
|
/third_party/ltp/include/lapi/ |
H A D | fallocate.h | 17 #ifndef FALLOC_FL_KEEP_SIZE 18 # define FALLOC_FL_KEEP_SIZE 0x01 macro
|
H A D | fcntl.h | 137 #ifndef FALLOC_FL_KEEP_SIZE 138 # define FALLOC_FL_KEEP_SIZE 1 macro
|
/third_party/f2fs-tools/mkfs/ |
H A D | f2fs_format_utils.c | 80 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in trim_device()
|
/third_party/musl/porting/linux/user/include/ |
H A D | fcntl.h | 177 #define FALLOC_FL_KEEP_SIZE 1 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 176 #define FALLOC_FL_KEEP_SIZE 1 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 176 #define FALLOC_FL_KEEP_SIZE 1 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 176 #define FALLOC_FL_KEEP_SIZE 1 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 172 #define FALLOC_FL_KEEP_SIZE 1 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 176 #define FALLOC_FL_KEEP_SIZE 1 macro
|
/third_party/musl/include/ |
H A D | fcntl.h | 179 #define FALLOC_FL_KEEP_SIZE 1 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 | 472 /// `FALLOC_FL_KEEP_SIZE` 473 const KEEP_SIZE = linux_raw_sys::general::FALLOC_FL_KEEP_SIZE;
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 650 FALLOC_FL_KEEP_SIZE; 653 /// Must be ORed with FALLOC_FL_KEEP_SIZE. Byte range starts at offset and continues for len bytes.
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | types.rs | 703 /// `FALLOC_FL_KEEP_SIZE` 715 const KEEP_SIZE = c::FALLOC_FL_KEEP_SIZE;
|
/third_party/f2fs-tools/tools/f2fs_io/ |
H A D | f2fs_io.c | 434 mode |= FALLOC_FL_KEEP_SIZE; in do_fallocate()
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
H A D | mod.rs | 1154 pub const FALLOC_FL_KEEP_SIZE: ::c_int = 0x01; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 1034 pub const FALLOC_FL_KEEP_SIZE: ::c_int = 0x01; consts
|