Home
last modified time | relevance | path

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

12

/linux-6.15/tools/include/uapi/linux/
H A Dfs.h47 #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 Dfs.h56 #define SEEK_HOLE 4 /* seek to the next hole */ macro
57 #define SEEK_MAX SEEK_HOLE
/linux-6.15/include/uapi/linux/
H A Dfs.h56 #define SEEK_HOLE 4 /* seek to the next hole */ macro
57 #define SEEK_MAX SEEK_HOLE
/linux-6.15/fs/iomap/
H A Dseek.c21 iter->pos, iter->pos + length, SEEK_HOLE); in iomap_seek_hole_iter()
H A Dbuffered-io.c1240 scan_end_byte, SEEK_HOLE); in iomap_write_delalloc_release()
/linux-6.15/fs/ocfs2/
H A Dextent_map.c883 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 Dadi.c178 case SEEK_HOLE: in adi_llseek()
/linux-6.15/fs/cachefiles/
H A Dio.c233 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 Ddir.c34 if (whence == SEEK_DATA || whence == SEEK_HOLE) in hpfs_dir_lseek()
/linux-6.15/fs/nfs/
H A Dnfs4file.c209 case SEEK_HOLE: in nfs4_file_llseek()
H A Dnfs42proc.c821 .sa_what = (whence == SEEK_HOLE) ? in _nfs42_proc_llseek()
/linux-6.15/Documentation/filesystems/iomap/
H A Dporting.rst79 ``SEEK_HOLE`` before tackling the I/O paths.
H A Doperations.rst691 SEEK_HOLE section in Seeking Files
694 The ``iomap_seek_hole`` function implements the SEEK_HOLE "whence" value
H A Ddesign.rst43 * lseek ``SEEK_DATA`` and ``SEEK_HOLE``
/linux-6.15/fs/erofs/
H A Ddata.c439 if (whence == SEEK_HOLE) in erofs_file_llseek()
/linux-6.15/fs/btrfs/
H A Dfile.c3327 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 Dfile.c943 case SEEK_HOLE: in ext4_llseek()
/linux-6.15/fs/
H A Dread_write.c128 case SEEK_HOLE: in must_set_pos()
358 case SEEK_HOLE: in default_llseek()
/linux-6.15/fs/f2fs/
H A Dfile.c422 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 Dfs-io.c1077 case SEEK_HOLE: in bch2_llseek()
/linux-6.15/fs/xfs/
H A Dxfs_file.c1643 case SEEK_HOLE: in xfs_file_llseek()
/linux-6.15/fs/gfs2/
H A Dfile.c78 case SEEK_HOLE: in gfs2_llseek()
/linux-6.15/Documentation/filesystems/
H A Dporting.rst472 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 Dvfs.c1029 extent_end = vfs_llseek(f, extent_start, SEEK_HOLE); in ksmbd_vfs_fqar_lseek()
/linux-6.15/fs/smb/client/
H A Dsmb2ops.c3740 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()

12