Home
last modified time | relevance | path

Searched refs:posix_fallocate (Results 1 - 25 of 35) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/fcntl/
H A Dposix_fallocate.c42 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 Dposix_fallocate.c4 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 Dfcntl.h38 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 Dfcntl.h37 int posix_fallocate(int, off_t, off_t);
208 #define posix_fallocate64 posix_fallocate
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h37 int posix_fallocate(int, off_t, off_t);
208 #define posix_fallocate64 posix_fallocate
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h37 int posix_fallocate(int, off_t, off_t);
208 #define posix_fallocate64 posix_fallocate
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h38 int posix_fallocate(int, off_t, off_t);
200 #define posix_fallocate64 posix_fallocate
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h37 int posix_fallocate(int, off_t, off_t);
208 #define posix_fallocate64 posix_fallocate
/third_party/musl/include/
H A Dfcntl.h40 int posix_fallocate(int, off_t, off_t);
211 #define posix_fallocate64 posix_fallocate
/third_party/toybox/toys/other/
H A Dfallocate.c29 if ((errno = posix_fallocate(fd, TT.o, TT.l))) perror_exit("fallocate"); in fallocate_main()
/third_party/musl/libc-test/src/api/
H A Dfcntl.c91 {int(*p)(int,off_t,off_t) = posix_fallocate;} in f()
/third_party/toybox/scripts/
H A Dgenconfig.sh58 int main(int argc, char *argv[]) { return posix_fallocate(0,0,0); }
/third_party/elfutils/libelf/
H A Delf_update.c85 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 Dutils.c140 /* 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 Dfcntl.rs874 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 Dtest_fcntl.rs537 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 Dpassthrough_fh.c511 return -posix_fallocate(fi->fh, offset, length); in xmp_fallocate()
H A Dpassthrough.c400 res = -posix_fallocate(fd, offset, length); in xmp_fallocate()
H A Dpassthrough_hp.cc986 auto err = posix_fallocate(fi->fh, offset, length); in sfs_fallocate()
H A Dpassthrough_ll.c933 err = posix_fallocate(fi->fh, offset, length); in lo_fallocate()
/third_party/rust/crates/rustix/src/backend/libc/
H A Doffset.rs362 pub(super) use c::posix_fallocate as libc_posix_fallocate;
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
H A Dcommands.c794 if (posix_fallocate(fd, 0, len)) { in create_file()
/third_party/rust/crates/libc/src/
H A Dwasi.rs693 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 Dtest_posix.py397 @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 Dmod.rs1792 pub fn posix_fallocate(fd: ::c_int, offset: ::off_t, len: ::off_t) -> ::c_int; in posix_fallocate() functions

Completed in 25 milliseconds

12