Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dfs.h56 #define SEEK_HOLE 4 /* seek to the next hole */ macro
57 #define SEEK_MAX SEEK_HOLE
/linux/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/fs/iomap/
H A Dseek.c17 iter->pos, iter->pos + length, SEEK_HOLE); in iomap_seek_hole_iter()
H A Dbuffered-io.c1544 scan_end_byte, SEEK_HOLE); in iomap_write_delalloc_release()
/linux/fs/squashfs/
H A Dfile.c699 if ((length == 0 && whence == SEEK_HOLE) || in seek_hole_data()
728 if ((length == 0 && whence == SEEK_HOLE) || in seek_hole_data()
759 case SEEK_HOLE: in squashfs_llseek()
/linux/drivers/char/
H A Dadi.c178 case SEEK_HOLE: in adi_llseek()
/linux/fs/nfs/
H A Dnfs4file.c210 case SEEK_HOLE: in nfs4_file_llseek()
/linux/Documentation/filesystems/iomap/
H A Dporting.rst79 ``SEEK_HOLE`` before tackling the I/O paths.
H A Doperations.rst732 SEEK_HOLE section in Seeking Files
735 The ``iomap_seek_hole`` function implements the SEEK_HOLE "whence" value
/linux/fs/ntfs/
H A Dfile.c430 (whence == SEEK_HOLE || whence == SEEK_DATA)) in ntfs_file_llseek()
434 case SEEK_HOLE: in ntfs_file_llseek()
/linux/fs/erofs/
H A Ddata.c511 if (whence == SEEK_HOLE) in erofs_file_llseek()
/linux/fs/btrfs/
H A Dfile.c3464 if (delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole()
3488 if (!delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole()
3526 if (whence == SEEK_HOLE && in find_desired_extent()
3764 case SEEK_HOLE: in btrfs_file_llseek()
/linux/fs/ext4/
H A Dfile.c1016 case SEEK_HOLE: in ext4_llseek()
/linux/fs/smb/server/
H A Dvfs.c1042 hole = vfs_llseek(f, pos, SEEK_HOLE); in ksmbd_vfs_zero_holes()
1159 extent_end = vfs_llseek(f, extent_start, SEEK_HOLE); in ksmbd_vfs_query_allocated_ranges()
/linux/fs/f2fs/
H A Dfile.c503 case SEEK_HOLE: in __found_offset()
531 if (whence == SEEK_HOLE) { in f2fs_seek_block()
586 if (whence == SEEK_HOLE && data_ofs > isize) in f2fs_seek_block()
607 case SEEK_HOLE: in f2fs_llseek()
/linux/fs/gfs2/
H A Dfile.c78 case SEEK_HOLE: in gfs2_llseek()
/linux/fs/ntfs3/
H A Dfile.c1557 if (whence != SEEK_DATA && whence != SEEK_HOLE) { in ntfs_llseek()
/linux/fs/xfs/
H A Dxfs_file.c1931 case SEEK_HOLE: in xfs_file_llseek()
/linux/fs/smb/client/
H A Dsmb2ops.c4247 if (whence != SEEK_HOLE && whence != SEEK_DATA) in smb3_llseek()
4272 if (whence == SEEK_HOLE) in smb3_fiemap()
4291 if (whence == SEEK_HOLE && out_data_len == 0) in smb3_fiemap()
/linux/fs/fuse/
H A Dfile.c2687 case SEEK_HOLE: in fuse_file_llseek()
/linux/fs/ceph/
H A Dfile.c2633 if (whence == SEEK_END || whence == SEEK_DATA || whence == SEEK_HOLE) { in ceph_llseek()
/linux/fs/nfsd/
H A Dnfs4proc.c2530 whence = SEEK_HOLE; in nfsd4_seek()
/linux/mm/
H A Dshmem.c3611 if (whence != SEEK_DATA && whence != SEEK_HOLE) in shmem_file_llseek()
/linux/tools/perf/
H A Dbuiltin-trace.c806 #ifdef SEEK_HOLE