/fs/ |
D | read_write.c | 76 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size() argument 81 switch (whence) { in generic_file_llseek_size() 137 loff_t generic_file_llseek(struct file *file, loff_t offset, int whence) in generic_file_llseek() argument 141 return generic_file_llseek_size(file, offset, whence, in generic_file_llseek() 158 loff_t noop_llseek(struct file *file, loff_t offset, int whence) in noop_llseek() argument 164 loff_t no_llseek(struct file *file, loff_t offset, int whence) in no_llseek() argument 170 loff_t default_llseek(struct file *file, loff_t offset, int whence) in default_llseek() argument 176 switch (whence) { in default_llseek() 225 loff_t vfs_llseek(struct file *file, loff_t offset, int whence) in vfs_llseek() argument 234 return fn(file, offset, whence); in vfs_llseek() [all …]
|
D | bad_inode.c | 19 static loff_t bad_file_llseek(struct file *file, loff_t offset, int whence) in bad_file_llseek() argument
|
D | seq_file.c | 315 loff_t seq_lseek(struct file *file, loff_t offset, int whence) in seq_lseek() argument 322 switch (whence) { in seq_lseek()
|
D | libfs.c | 84 loff_t dcache_dir_lseek(struct file *file, loff_t offset, int whence) in dcache_dir_lseek() argument 88 switch (whence) { in dcache_dir_lseek()
|
D | block_dev.c | 325 static loff_t block_llseek(struct file *file, loff_t offset, int whence) in block_llseek() argument 335 switch (whence) { in block_llseek()
|
/fs/ext4/ |
D | file.c | 432 int whence, in ext4_find_unwritten_pgoff() argument 462 if (whence == SEEK_DATA) in ext4_find_unwritten_pgoff() 465 BUG_ON(whence != SEEK_HOLE); in ext4_find_unwritten_pgoff() 481 if (lastoff == startoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff() 495 if (lastoff < endoff && whence == SEEK_HOLE && in ext4_find_unwritten_pgoff() 520 if (whence == SEEK_DATA) in ext4_find_unwritten_pgoff() 523 if (whence == SEEK_HOLE) in ext4_find_unwritten_pgoff() 545 if (nr_pages < num && whence == SEEK_HOLE) { in ext4_find_unwritten_pgoff() 745 loff_t ext4_llseek(struct file *file, loff_t offset, int whence) in ext4_llseek() argument 755 switch (whence) { in ext4_llseek() [all …]
|
D | dir.c | 348 static loff_t ext4_dir_llseek(struct file *file, loff_t offset, int whence) in ext4_dir_llseek() argument 355 return generic_file_llseek_size(file, offset, whence, in ext4_dir_llseek() 358 return ext4_llseek(file, offset, whence); in ext4_dir_llseek()
|
/fs/hpfs/ |
D | dir.c | 23 static loff_t hpfs_dir_lseek(struct file *filp, loff_t off, int whence) in hpfs_dir_lseek() argument 25 loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); in hpfs_dir_lseek() 33 if (whence == SEEK_DATA || whence == SEEK_HOLE) in hpfs_dir_lseek()
|
/fs/ocfs2/ |
D | extent_map.c | 834 int ocfs2_seek_data_hole_offset(struct file *file, loff_t *offset, int whence) in ocfs2_seek_data_hole_offset() argument 845 BUG_ON(whence != SEEK_DATA && whence != SEEK_HOLE); in ocfs2_seek_data_hole_offset() 861 if (whence == SEEK_HOLE) in ocfs2_seek_data_hole_offset() 890 if ((!is_data && whence == SEEK_HOLE) || in ocfs2_seek_data_hole_offset() 891 (is_data && whence == SEEK_DATA)) { in ocfs2_seek_data_hole_offset() 901 if (whence == SEEK_HOLE) { in ocfs2_seek_data_hole_offset()
|
/fs/sdcardfs/ |
D | file.c | 342 static loff_t sdcardfs_file_llseek(struct file *file, loff_t offset, int whence) in sdcardfs_file_llseek() argument 347 err = generic_file_llseek(file, offset, whence); in sdcardfs_file_llseek() 352 err = generic_file_llseek(lower_file, offset, whence); in sdcardfs_file_llseek()
|
/fs/pstore/ |
D | inode.c | 154 static loff_t pstore_file_llseek(struct file *file, loff_t off, int whence) in pstore_file_llseek() argument 159 return seq_lseek(file, off, whence); in pstore_file_llseek() 160 return default_llseek(file, off, whence); in pstore_file_llseek()
|
/fs/nfs/ |
D | file.c | 122 loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence) in nfs_file_llseek() argument 127 offset, whence); in nfs_file_llseek() 133 if (whence != SEEK_SET && whence != SEEK_CUR) { in nfs_file_llseek() 141 return generic_file_llseek(filp, offset, whence); in nfs_file_llseek()
|
D | dir.c | 874 static loff_t nfs_llseek_dir(struct file *filp, loff_t offset, int whence) in nfs_llseek_dir() argument 883 offset, whence); in nfs_llseek_dir() 886 switch (whence) { in nfs_llseek_dir()
|
/fs/ceph/ |
D | file.c | 821 static loff_t ceph_llseek(struct file *file, loff_t offset, int whence) in ceph_llseek() argument 829 if (whence == SEEK_END || whence == SEEK_DATA || whence == SEEK_HOLE) { in ceph_llseek() 837 switch (whence) { in ceph_llseek()
|
/fs/ext3/ |
D | dir.c | 299 loff_t ext3_dir_llseek(struct file *file, loff_t offset, int whence) in ext3_dir_llseek() argument 306 return generic_file_llseek_size(file, offset, whence, in ext3_dir_llseek() 309 return generic_file_llseek(file, offset, whence); in ext3_dir_llseek()
|
/fs/hostfs/ |
D | hostfs.h | 78 extern int lseek_file(int fd, long long offset, int whence);
|
D | hostfs_user.c | 139 int lseek_file(int fd, long long offset, int whence) in lseek_file() argument 143 ret = lseek64(fd, offset, whence); in lseek_file()
|
/fs/cifs/ |
D | cifsfs.c | 731 static loff_t cifs_llseek(struct file *file, loff_t offset, int whence) in cifs_llseek() argument 737 if (whence != SEEK_SET && whence != SEEK_CUR) { in cifs_llseek() 764 return generic_file_llseek(file, offset, whence); in cifs_llseek()
|
/fs/gfs2/ |
D | file.c | 56 static loff_t gfs2_llseek(struct file *file, loff_t offset, int whence) in gfs2_llseek() argument 62 switch (whence) { in gfs2_llseek() 69 error = generic_file_llseek(file, offset, whence); in gfs2_llseek() 75 error = generic_file_llseek(file, offset, whence); in gfs2_llseek()
|
/fs/proc/ |
D | inode.c | 187 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek() argument 196 rv = llseek(file, offset, whence); in proc_reg_llseek()
|
/fs/btrfs/ |
D | file.c | 2288 static int find_desired_extent(struct inode *inode, loff_t *offset, int whence) in find_desired_extent() argument 2323 if (whence == SEEK_HOLE && start != 0) { in find_desired_extent() 2357 if (whence == SEEK_HOLE) { in find_desired_extent() 2363 if (whence == SEEK_DATA) { in find_desired_extent() 2403 static loff_t btrfs_file_llseek(struct file *file, loff_t offset, int whence) in btrfs_file_llseek() argument 2409 switch (whence) { in btrfs_file_llseek() 2412 offset = generic_file_llseek(file, offset, whence); in btrfs_file_llseek() 2421 ret = find_desired_extent(inode, &offset, whence); in btrfs_file_llseek()
|
/fs/sysfs/ |
D | dir.c | 1066 static loff_t sysfs_dir_llseek(struct file *file, loff_t offset, int whence) in sysfs_dir_llseek() argument 1072 ret = generic_file_llseek(file, offset, whence); in sysfs_dir_llseek()
|
/fs/fuse/ |
D | file.c | 1833 static loff_t fuse_file_llseek(struct file *file, loff_t offset, int whence) in fuse_file_llseek() argument 1839 if (whence == SEEK_CUR || whence == SEEK_SET) in fuse_file_llseek() 1840 return generic_file_llseek(file, offset, whence); in fuse_file_llseek() 1845 retval = generic_file_llseek(file, offset, whence); in fuse_file_llseek()
|
/fs/ubifs/ |
D | dir.c | 482 static loff_t ubifs_dir_llseek(struct file *file, loff_t offset, int whence) in ubifs_dir_llseek() argument 484 return generic_file_llseek(file, offset, whence); in ubifs_dir_llseek()
|
/fs/configfs/ |
D | dir.c | 1617 static loff_t configfs_dir_lseek(struct file *file, loff_t offset, int whence) in configfs_dir_lseek() argument 1622 switch (whence) { in configfs_dir_lseek()
|