Home
last modified time | relevance | path

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

/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.h27 #ifndef SEEK_HOLE
28 # 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.h65 #ifndef SEEK_HOLE
66 #define SEEK_HOLE 4 macro
/external/crosvm/sys_util/src/
Dseek_hole.rs9 use libc::{lseek64, ENXIO, SEEK_DATA, SEEK_HOLE};
46 lseek(self, offset as i64, SEEK_HOLE) in seek_hole()
/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate04.c121 off_t ret = lseek(fd, 0, SEEK_HOLE); in test02()
/external/e2fsprogs/misc/
Dcreate_inode.c464 #if defined(SEEK_DATA) && defined(SEEK_HOLE)
480 hole = lseek(fd, data, SEEK_HOLE); in try_lseek_copy()
579 #if defined(SEEK_DATA) && defined(SEEK_HOLE) in copy_file()
/external/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs317 pub const SEEK_HOLE: ::c_int = 4; constant
/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/rust/crates/libc/src/unix/linux_like/linux/gnu/
Dmod.rs559 pub const SEEK_HOLE: ::c_int = 4; constant
/external/toybox/toys/posix/
Dtar.c309 while ((lo = lseek(fd, ld, SEEK_HOLE)) != -1) { in add_to_tar()
/external/python/cpython3/Lib/test/
Dtest_posix.py1399 self.assertLessEqual(size, os.lseek(fno, i, os.SEEK_HOLE))
1401 self.assertRaises(OSError, os.lseek, fno, size, os.SEEK_HOLE)
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs352 pub const SEEK_HOLE: ::c_int = 4; constant
/external/python/cpython3/Lib/
D_pyio.py23 valid_seek_flags.add(os.SEEK_HOLE)
/external/python/cpython3/Doc/library/
Dio.rst350 :data:`os.SEEK_HOLE` or :data:`os.SEEK_DATA`. The valid values
Dos.rst923 :data:`os.SEEK_HOLE` or :data:`os.SEEK_DATA`.
/external/python/cpython3/Modules/
Dposixmodule.c13854 #ifdef SEEK_HOLE in all_ins()
13855 if (PyModule_AddIntMacro(m, SEEK_HOLE)) return -1; in all_ins()
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1691 function, such as ``os.SEEK_HOLE`` and ``os.SEEK_DATA``.
/external/python/cpython3/Misc/
DHISTORY8193 - Issue #10142: Support for SEEK_HOLE/SEEK_DATA (for example, under ZFS).
/external/strace/
DChangeLog46674 Add SEEK_DATA and SEEK_HOLE to them.