Home
last modified time | relevance | path

Searched refs:SEEK_HOLE (Results 1 – 25 of 29) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/lseek/
Dlseek11.c71 {0, 0, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from starting of file */
72 {0, 4, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from maddle of the first data */
73 …{1, 0, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from the starting of the first …
74 {1, 128, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from maddle of the first hole */
79 …{UNIT_BLOCKS, 0, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from the starting of the second…
80 …{UNIT_BLOCKS, 4, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from middle of the second data …
81 …{UNIT_BLOCKS + 1, 128, SEEK_HOLE, "", 1023}, /* SEEK_HOLE from middle of the second hole …
83 {FILE_BLOCKS, -128, SEEK_HOLE, NULL, 0}, /* SEEK_HOLE from no hole pass offset*/
170 SAFE_LSEEK(fd, 0, SEEK_HOLE); in setup()
/external/ltp/include/lapi/
Dseek.h15 #ifndef SEEK_HOLE
16 # define SEEK_HOLE 4 macro
/external/strace/xlat/
Dwhence_codes.h24 #if defined(SEEK_HOLE) || (defined(HAVE_DECL_SEEK_HOLE) && HAVE_DECL_SEEK_HOLE)
25 XLAT(SEEK_HOLE),
Dwhence_codes.in5 SEEK_HOLE
/external/kernel-headers/original/uapi/linux/
Dfs.h47 #define SEEK_HOLE 4 /* seek to the next hole */ macro
48 #define SEEK_MAX SEEK_HOLE
/external/toybox/lib/
Dportability.h82 #ifndef SEEK_HOLE
83 #define SEEK_HOLE 4 macro
/external/crosvm/base/src/sys/unix/
Dfile.rs22 LseekOption::Hole => libc::SEEK_HOLE, in lseek()
/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate04.c116 off_t ret = lseek(fd, 0, SEEK_HOLE); in test02()
/external/e2fsprogs/misc/
Dcreate_inode.c474 #if defined(SEEK_DATA) && defined(SEEK_HOLE)
490 hole = lseek(fd, data, SEEK_HOLE); in try_lseek_copy()
589 #if defined(SEEK_DATA) && defined(SEEK_HOLE) in copy_file()
/external/musl/include/
Dunistd.h18 #define SEEK_HOLE 4 macro
/external/toybox/toys/pending/
Dstrace.c391 C(SEEK_HOLE), 0); in print_alternatives()
/external/python/cpython3/Modules/_io/
Dbufferedio.c1229 #ifdef SEEK_HOLE in _io__Buffered_seek_impl()
1230 && (whence != SEEK_HOLE) in _io__Buffered_seek_impl()
/external/minijail/linux-x86/
Dlibconstants.gen.c4222 #ifdef SEEK_HOLE
4223 { "SEEK_HOLE", (unsigned long) SEEK_HOLE },
/external/python/cpython3/Lib/test/
Dtest_posix.py1226 self.assertLessEqual(size, os.lseek(fno, i, os.SEEK_HOLE))
1228 self.assertRaises(OSError, os.lseek, fno, size, os.SEEK_HOLE)
/external/toybox/toys/posix/
Dtar.c444 while ((lo = lseek(fd, ld, SEEK_HOLE)) != -1) { in add_to_tar()
/external/python/cpython3/Lib/
D_pyio.py23 valid_seek_flags.add(os.SEEK_HOLE)
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs553 pub const SEEK_HOLE: ::c_int = 4; constant
/external/rust/crates/nix/src/
Dunistd.rs1125 SeekHole = libc::SEEK_HOLE
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs1273 pub const SEEK_HOLE: ::c_int = 4; constant
/external/python/cpython3/Doc/library/
Dio.rst419 :data:`os.SEEK_HOLE` or :data:`os.SEEK_DATA`. The valid values
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2743 pub const SEEK_HOLE: ::c_int = 4; constant
/external/python/cpython3/Modules/
Dposixmodule.c15001 #ifdef SEEK_HOLE in all_ins()
15002 if (PyModule_AddIntMacro(m, SEEK_HOLE)) return -1; in all_ins()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs1733 pub const SEEK_HOLE: ::c_int = 4; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs2731 pub const SEEK_HOLE: ::c_int = 3; constant
/external/musl/
DWHATSNEW2299 - SEEK_DATA and SEEK_HOLE exposed in unistd.h (Linux extensions)

12