/third_party/musl/libc-test/src/functionalext/supplement/fcntl/ |
H A D | posix_fallocate.c | 42 int ret = posix_fallocate(fd, 0, TEST_LEN); in posix_fallocate_0100() 70 int ret = posix_fallocate(fd, 0, -1); in posix_fallocate_0200() 95 int ret = posix_fallocate(fd, -1, TEST_LEN); in posix_fallocate_0300() 108 int ret = posix_fallocate(-1, 0, TEST_LEN); in posix_fallocate_0400()
|
/third_party/musl/src/fcntl/ |
H A D | posix_fallocate.c | 4 int posix_fallocate(int fd, off_t base, off_t len) in posix_fallocate() function 10 weak_alias(posix_fallocate, posix_fallocate64);
|
/third_party/musl/porting/linux/user/include/ |
H A D | fcntl.h | 38 int posix_fallocate(int, off_t, off_t); 209 #define posix_fallocate64 posix_fallocate
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 37 int posix_fallocate(int, off_t, off_t); 208 #define posix_fallocate64 posix_fallocate
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 37 int posix_fallocate(int, off_t, off_t); 208 #define posix_fallocate64 posix_fallocate
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 37 int posix_fallocate(int, off_t, off_t); 208 #define posix_fallocate64 posix_fallocate
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 38 int posix_fallocate(int, off_t, off_t); 200 #define posix_fallocate64 posix_fallocate
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 37 int posix_fallocate(int, off_t, off_t); 208 #define posix_fallocate64 posix_fallocate
|
/third_party/musl/include/ |
H A D | fcntl.h | 40 int posix_fallocate(int, off_t, off_t); 211 #define posix_fallocate64 posix_fallocate
|
/third_party/toybox/toys/other/ |
H A D | fallocate.c | 29 if ((errno = posix_fallocate(fd, TT.o, TT.l))) perror_exit("fallocate"); in fallocate_main()
|
/third_party/musl/libc-test/src/api/ |
H A D | fcntl.c | 91 {int(*p)(int,off_t,off_t) = posix_fallocate;} in f()
|
/third_party/toybox/scripts/ |
H A D | genconfig.sh | 58 int main(int argc, char *argv[]) { return posix_fallocate(0,0,0); }
|
/third_party/elfutils/libelf/ |
H A D | elf_update.c | 85 full. In glibc posix_fallocate is required to extend the in write_file() 96 if (unlikely (posix_fallocate (elf->fildes, 0, size) != 0)) in write_file()
|
/third_party/fsverity-utils/programs/ |
H A D | utils.c | 140 /* Not exactly the same as posix_fallocate(), but good enough... */ in preallocate_file() 143 res = posix_fallocate(file->fd, 0, size); in preallocate_file()
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 874 pub fn posix_fallocate(fd: RawFd, offset: libc::off_t, len: libc::off_t) -> Result<()> { in posix_fallocate() functions 875 let res = unsafe { libc::posix_fallocate(fd, offset, len) }; in posix_fallocate()
|
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 537 let res = posix_fallocate(fd, 0, LEN as libc::off_t); in success() 545 // POSIX requires posix_fallocate to return EINVAL both for in success() 549 // supports posix_fallocate, so we must pass the test if it in success() 559 let err = posix_fallocate(rd as RawFd, 0, 100).unwrap_err(); in errno()
|
/third_party/libfuse/example/ |
H A D | passthrough_fh.c | 511 return -posix_fallocate(fi->fh, offset, length); in xmp_fallocate()
|
H A D | passthrough.c | 400 res = -posix_fallocate(fd, offset, length); in xmp_fallocate()
|
H A D | passthrough_hp.cc | 986 auto err = posix_fallocate(fi->fh, offset, length); in sfs_fallocate()
|
H A D | passthrough_ll.c | 933 err = posix_fallocate(fi->fh, offset, length); in lo_fallocate()
|
/third_party/rust/crates/rustix/src/backend/libc/ |
H A D | offset.rs | 362 pub(super) use c::posix_fallocate as libc_posix_fallocate;
|
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
H A D | commands.c | 794 if (posix_fallocate(fd, 0, len)) { in create_file()
|
/third_party/rust/crates/libc/src/ |
H A D | wasi.rs | 693 pub fn posix_fallocate(fd: ::c_int, offset: ::off_t, len: ::off_t) -> ::c_int; in posix_fallocate() functions
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 397 @unittest.skipUnless(hasattr(posix, 'posix_fallocate'), 398 "test needs posix.posix_fallocate()") 402 posix.posix_fallocate(fd, 0, 10) 404 # issue10812, ZFS doesn't appear to support posix_fallocate, 416 # issue31106 - posix_fallocate() does not set error in errno. 417 @unittest.skipUnless(hasattr(posix, 'posix_fallocate'), 418 "test needs posix.posix_fallocate()") 421 posix.posix_fallocate(-42, 0, 10)
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
H A D | mod.rs | 1792 pub fn posix_fallocate(fd: ::c_int, offset: ::off_t, len: ::off_t) -> ::c_int; in posix_fallocate() functions
|