Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ext4/
Dfile.c470 BUG_ON(whence != SEEK_HOLE); in ext4_find_unwritten_pgoff()
486 if (lastoff == startoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff()
500 if (lastoff < endoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff()
528 if (whence == SEEK_HOLE) in ext4_find_unwritten_pgoff()
550 if (nr_pages < num && whence == SEEK_HOLE) { in ext4_find_unwritten_pgoff()
693 unwritten = ext4_find_unwritten_pgoff(inode, SEEK_HOLE, in ext4_seek_hole()
737 case SEEK_HOLE: in ext4_llseek()
/linux-4.4.14/include/uapi/linux/
Dfs.h35 #define SEEK_HOLE 4 /* seek to the next hole */ macro
36 #define SEEK_MAX SEEK_HOLE
/linux-4.4.14/fs/xfs/
Dxfs_file.c1388 if (whence == SEEK_HOLE && in xfs_seek_hole_data()
1405 whence == SEEK_HOLE ? HOLE_OFF : DATA_OFF, in xfs_seek_hole_data()
1421 if (whence == SEEK_HOLE) { in xfs_seek_hole_data()
1442 if (whence == SEEK_HOLE) { in xfs_seek_hole_data()
1459 if (whence == SEEK_HOLE) in xfs_seek_hole_data()
1482 case SEEK_HOLE: in xfs_file_llseek()
/linux-4.4.14/fs/ocfs2/
Dextent_map.c846 BUG_ON(whence != SEEK_DATA && whence != SEEK_HOLE); in ocfs2_seek_data_hole_offset()
862 if (whence == SEEK_HOLE) in ocfs2_seek_data_hole_offset()
891 if ((!is_data && whence == SEEK_HOLE) || in ocfs2_seek_data_hole_offset()
902 if (whence == SEEK_HOLE) { in ocfs2_seek_data_hole_offset()
Dfile.c2567 case SEEK_HOLE: in ocfs2_file_llseek()
/linux-4.4.14/fs/nfs/
Dnfs4file.c168 case SEEK_HOLE: in nfs4_file_llseek()
Dnfs42proc.c144 .sa_what = (whence == SEEK_HOLE) ? in _nfs42_proc_llseek()
/linux-4.4.14/fs/f2fs/
Dfile.c317 case SEEK_HOLE: in __found_offset()
343 if (whence == SEEK_HOLE) in f2fs_seek_block()
388 if (whence == SEEK_HOLE && data_ofs > isize) in f2fs_seek_block()
409 case SEEK_HOLE: in f2fs_llseek()
/linux-4.4.14/fs/hpfs/
Ddir.c33 if (whence == SEEK_DATA || whence == SEEK_HOLE) in hpfs_dir_lseek()
/linux-4.4.14/fs/
Dread_write.c118 case SEEK_HOLE: in generic_file_llseek_size()
224 case SEEK_HOLE: in default_llseek()
/linux-4.4.14/fs/ceph/
Dfile.c1167 if (whence == SEEK_END || whence == SEEK_DATA || whence == SEEK_HOLE) { in ceph_llseek()
1198 case SEEK_HOLE: in ceph_llseek()
/linux-4.4.14/Documentation/filesystems/
Dporting413 If you implement your own ->llseek() you must handle SEEK_HOLE and
418 If the above is true for the offset and you are given SEEK_HOLE, return the end
/linux-4.4.14/mm/
Dshmem.c1780 if (whence == SEEK_HOLE) { in shmem_seek_hole_data()
1793 (!page && whence == SEEK_HOLE)) { in shmem_seek_hole_data()
1813 if (whence != SEEK_DATA && whence != SEEK_HOLE) in shmem_file_llseek()
/linux-4.4.14/fs/gfs2/
Dfile.c65 case SEEK_HOLE: in gfs2_llseek()
/linux-4.4.14/fs/btrfs/
Dfile.c2866 if (whence == SEEK_HOLE && in find_desired_extent()
2904 case SEEK_HOLE: in btrfs_file_llseek()
/linux-4.4.14/fs/nfsd/
Dnfs4proc.c1072 whence = SEEK_HOLE; in nfsd4_seek()
/linux-4.4.14/tools/perf/
Dbuiltin-trace.c613 #ifdef SEEK_HOLE
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dfile.c2517 if (origin == SEEK_END || origin == SEEK_HOLE || origin == SEEK_DATA) { in ll_file_seek()