Home
last modified time | relevance | path

Searched refs:FALLOC_FL_KEEP_SIZE (Results 1 - 25 of 41) 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()
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 Dhugefallocate02.c58 err = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in run_test()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate03.c126 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 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 Dfallocate01.c46 * 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 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.c106 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in test02()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dfallocate.c44 * @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 Dfallocate.h17 #ifndef FALLOC_FL_KEEP_SIZE
18 # define FALLOC_FL_KEEP_SIZE 0x01 macro
H A Dfcntl.h137 #ifndef FALLOC_FL_KEEP_SIZE
138 # define FALLOC_FL_KEEP_SIZE 1 macro
/third_party/f2fs-tools/mkfs/
H A Df2fs_format_utils.c80 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in trim_device()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h177 #define FALLOC_FL_KEEP_SIZE 1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h176 #define FALLOC_FL_KEEP_SIZE 1 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h176 #define FALLOC_FL_KEEP_SIZE 1 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h176 #define FALLOC_FL_KEEP_SIZE 1 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h172 #define FALLOC_FL_KEEP_SIZE 1 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h176 #define FALLOC_FL_KEEP_SIZE 1 macro
/third_party/musl/include/
H A Dfcntl.h179 #define FALLOC_FL_KEEP_SIZE 1 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.rs472 /// `FALLOC_FL_KEEP_SIZE`
473 const KEEP_SIZE = linux_raw_sys::general::FALLOC_FL_KEEP_SIZE;
/third_party/rust/crates/nix/src/
H A Dfcntl.rs650 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 Dtypes.rs703 /// `FALLOC_FL_KEEP_SIZE`
715 const KEEP_SIZE = c::FALLOC_FL_KEEP_SIZE;
/third_party/f2fs-tools/tools/f2fs_io/
H A Df2fs_io.c434 mode |= FALLOC_FL_KEEP_SIZE; in do_fallocate()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
H A Dmod.rs1154 pub const FALLOC_FL_KEEP_SIZE: ::c_int = 0x01; consts
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs1034 pub const FALLOC_FL_KEEP_SIZE: ::c_int = 0x01; consts

Completed in 27 milliseconds

12