Searched refs:SEEK_HOLE (Results 1 – 19 of 19) sorted by relevance
361 BUG_ON(whence != SEEK_HOLE); in ext4_find_unwritten_pgoff()377 if (lastoff == startoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff()391 if (lastoff < endoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff()419 if (whence == SEEK_HOLE) in ext4_find_unwritten_pgoff()441 if (nr_pages < num && whence == SEEK_HOLE) { in ext4_find_unwritten_pgoff()584 unwritten = ext4_find_unwritten_pgoff(inode, SEEK_HOLE, in ext4_seek_hole()628 case SEEK_HOLE: in ext4_llseek()
35 #define SEEK_HOLE 4 /* seek to the next hole */ macro36 #define SEEK_MAX SEEK_HOLE
169 #ifndef SEEK_HOLE170 #define SEEK_HOLE 4 /* seek to the next hole */ macro
1350 if (whence == SEEK_HOLE && in xfs_seek_hole_data()1367 whence == SEEK_HOLE ? HOLE_OFF : DATA_OFF, in xfs_seek_hole_data()1383 if (whence == SEEK_HOLE) { in xfs_seek_hole_data()1404 if (whence == SEEK_HOLE) { in xfs_seek_hole_data()1421 if (whence == SEEK_HOLE) in xfs_seek_hole_data()1444 case SEEK_HOLE: in xfs_file_llseek()
844 BUG_ON(whence != SEEK_DATA && whence != SEEK_HOLE); in ocfs2_seek_data_hole_offset()860 if (whence == SEEK_HOLE) in ocfs2_seek_data_hole_offset()889 if ((!is_data && whence == SEEK_HOLE) || in ocfs2_seek_data_hole_offset()900 if (whence == SEEK_HOLE) { in ocfs2_seek_data_hole_offset()
2582 case SEEK_HOLE: in ocfs2_file_llseek()
136 case SEEK_HOLE: in nfs4_file_llseek()
139 .sa_what = (whence == SEEK_HOLE) ? in nfs42_proc_llseek()
305 case SEEK_HOLE: in __found_offset()331 if (whence == SEEK_HOLE) in f2fs_seek_block()376 if (whence == SEEK_HOLE && data_ofs > isize) in f2fs_seek_block()397 case SEEK_HOLE: in f2fs_llseek()
33 if (whence == SEEK_DATA || whence == SEEK_HOLE) in hpfs_dir_lseek()
118 case SEEK_HOLE: in generic_file_llseek_size()224 case SEEK_HOLE: in default_llseek()
1076 if (whence == SEEK_END || whence == SEEK_DATA || whence == SEEK_HOLE) { in ceph_llseek()1107 case SEEK_HOLE: in ceph_llseek()
413 If you implement your own ->llseek() you must handle SEEK_HOLE and418 If the above is true for the offset and you are given SEEK_HOLE, return the end
1764 if (whence == SEEK_HOLE) { in shmem_seek_hole_data()1777 (!page && whence == SEEK_HOLE)) { in shmem_seek_hole_data()1797 if (whence != SEEK_DATA && whence != SEEK_HOLE) in shmem_file_llseek()
65 case SEEK_HOLE: in gfs2_llseek()
2753 if (whence == SEEK_HOLE && in find_desired_extent()2791 case SEEK_HOLE: in btrfs_file_llseek()
1083 whence = SEEK_HOLE; in nfsd4_seek()
559 #ifdef SEEK_HOLE
2538 if (origin == SEEK_END || origin == SEEK_HOLE || origin == SEEK_DATA) { in ll_file_seek()