| /linux-6.15/tools/include/uapi/linux/ |
| H A D | fs.h | 47 #define SEEK_HOLE 4 /* seek to the next hole */ macro 48 #define SEEK_MAX SEEK_HOLE
|
| /linux-6.15/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | fs.h | 56 #define SEEK_HOLE 4 /* seek to the next hole */ macro 57 #define SEEK_MAX SEEK_HOLE
|
| /linux-6.15/include/uapi/linux/ |
| H A D | fs.h | 56 #define SEEK_HOLE 4 /* seek to the next hole */ macro 57 #define SEEK_MAX SEEK_HOLE
|
| /linux-6.15/fs/iomap/ |
| H A D | seek.c | 21 iter->pos, iter->pos + length, SEEK_HOLE); in iomap_seek_hole_iter()
|
| H A D | buffered-io.c | 1240 scan_end_byte, SEEK_HOLE); in iomap_write_delalloc_release()
|
| /linux-6.15/fs/ocfs2/ |
| H A D | extent_map.c | 883 BUG_ON(whence != SEEK_DATA && whence != SEEK_HOLE); in ocfs2_seek_data_hole_offset() 899 if (whence == SEEK_HOLE) in ocfs2_seek_data_hole_offset() 928 if ((!is_data && whence == SEEK_HOLE) || in ocfs2_seek_data_hole_offset() 939 if (whence == SEEK_HOLE) { in ocfs2_seek_data_hole_offset()
|
| /linux-6.15/drivers/char/ |
| H A D | adi.c | 178 case SEEK_HOLE: in adi_llseek()
|
| /linux-6.15/fs/cachefiles/ |
| H A D | io.c | 233 off2 = vfs_llseek(file, off, SEEK_HOLE); in cachefiles_query_occupancy() 456 to = vfs_llseek(file, start, SEEK_HOLE); in cachefiles_do_prepare_read() 574 pos = vfs_llseek(file, start, SEEK_HOLE); in __cachefiles_prepare_write()
|
| /linux-6.15/fs/hpfs/ |
| H A D | dir.c | 34 if (whence == SEEK_DATA || whence == SEEK_HOLE) in hpfs_dir_lseek()
|
| /linux-6.15/fs/nfs/ |
| H A D | nfs4file.c | 209 case SEEK_HOLE: in nfs4_file_llseek()
|
| H A D | nfs42proc.c | 821 .sa_what = (whence == SEEK_HOLE) ? in _nfs42_proc_llseek()
|
| /linux-6.15/Documentation/filesystems/iomap/ |
| H A D | porting.rst | 79 ``SEEK_HOLE`` before tackling the I/O paths.
|
| H A D | operations.rst | 691 SEEK_HOLE section in Seeking Files 694 The ``iomap_seek_hole`` function implements the SEEK_HOLE "whence" value
|
| H A D | design.rst | 43 * lseek ``SEEK_DATA`` and ``SEEK_HOLE``
|
| /linux-6.15/fs/erofs/ |
| H A D | data.c | 439 if (whence == SEEK_HOLE) in erofs_file_llseek()
|
| /linux-6.15/fs/btrfs/ |
| H A D | file.c | 3327 if (delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole() 3351 if (!delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole() 3389 if (whence == SEEK_HOLE && in find_desired_extent() 3627 case SEEK_HOLE: in btrfs_file_llseek()
|
| /linux-6.15/fs/ext4/ |
| H A D | file.c | 943 case SEEK_HOLE: in ext4_llseek()
|
| /linux-6.15/fs/ |
| H A D | read_write.c | 128 case SEEK_HOLE: in must_set_pos() 358 case SEEK_HOLE: in default_llseek()
|
| /linux-6.15/fs/f2fs/ |
| H A D | file.c | 422 case SEEK_HOLE: in __found_offset() 450 if (whence == SEEK_HOLE) { in f2fs_seek_block() 505 if (whence == SEEK_HOLE && data_ofs > isize) in f2fs_seek_block() 526 case SEEK_HOLE: in f2fs_llseek()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | fs-io.c | 1077 case SEEK_HOLE: in bch2_llseek()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_file.c | 1643 case SEEK_HOLE: in xfs_file_llseek()
|
| /linux-6.15/fs/gfs2/ |
| H A D | file.c | 78 case SEEK_HOLE: in gfs2_llseek()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | porting.rst | 472 If you implement your own ->llseek() you must handle SEEK_HOLE and 477 If the above is true for the offset and you are given SEEK_HOLE, return the end
|
| /linux-6.15/fs/smb/server/ |
| H A D | vfs.c | 1029 extent_end = vfs_llseek(f, extent_start, SEEK_HOLE); in ksmbd_vfs_fqar_lseek()
|
| /linux-6.15/fs/smb/client/ |
| H A D | smb2ops.c | 3740 if (whence != SEEK_HOLE && whence != SEEK_DATA) in smb3_llseek() 3765 if (whence == SEEK_HOLE) in smb3_llseek() 3784 if (whence == SEEK_HOLE && out_data_len == 0) in smb3_llseek()
|