Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ext4/
Dfile.c361 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()
/linux-4.1.27/include/uapi/linux/
Dfs.h35 #define SEEK_HOLE 4 /* seek to the next hole */ macro
36 #define SEEK_MAX SEEK_HOLE
/linux-4.1.27/drivers/staging/lustre/lustre/include/linux/
Dlustre_compat25.h169 #ifndef SEEK_HOLE
170 #define SEEK_HOLE 4 /* seek to the next hole */ macro
/linux-4.1.27/fs/xfs/
Dxfs_file.c1350 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()
/linux-4.1.27/fs/ocfs2/
Dextent_map.c844 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()
Dfile.c2582 case SEEK_HOLE: in ocfs2_file_llseek()
/linux-4.1.27/fs/nfs/
Dnfs4file.c136 case SEEK_HOLE: in nfs4_file_llseek()
Dnfs42proc.c139 .sa_what = (whence == SEEK_HOLE) ? in nfs42_proc_llseek()
/linux-4.1.27/fs/f2fs/
Dfile.c305 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()
/linux-4.1.27/fs/hpfs/
Ddir.c33 if (whence == SEEK_DATA || whence == SEEK_HOLE) in hpfs_dir_lseek()
/linux-4.1.27/fs/
Dread_write.c118 case SEEK_HOLE: in generic_file_llseek_size()
224 case SEEK_HOLE: in default_llseek()
/linux-4.1.27/fs/ceph/
Dfile.c1076 if (whence == SEEK_END || whence == SEEK_DATA || whence == SEEK_HOLE) { in ceph_llseek()
1107 case SEEK_HOLE: in ceph_llseek()
/linux-4.1.27/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.1.27/mm/
Dshmem.c1764 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()
/linux-4.1.27/fs/gfs2/
Dfile.c65 case SEEK_HOLE: in gfs2_llseek()
/linux-4.1.27/fs/btrfs/
Dfile.c2753 if (whence == SEEK_HOLE && in find_desired_extent()
2791 case SEEK_HOLE: in btrfs_file_llseek()
/linux-4.1.27/fs/nfsd/
Dnfs4proc.c1083 whence = SEEK_HOLE; in nfsd4_seek()
/linux-4.1.27/tools/perf/
Dbuiltin-trace.c559 #ifdef SEEK_HOLE
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dfile.c2538 if (origin == SEEK_END || origin == SEEK_HOLE || origin == SEEK_DATA) { in ll_file_seek()