/linux-master/fs/btrfs/ |
H A D | inode.c | 5899 static loff_t btrfs_dir_llseek(struct file *file, loff_t offset, int whence) argument 5909 return generic_file_llseek(file, offset, whence); 7292 * yet a corresponding bio submitted (whence it can not
|
/linux-master/fs/sysfs/ |
H A D | file.c | 171 int whence) 177 return battr->llseek(of->file, kobj, battr, offset, whence); 179 return generic_file_llseek(of->file, offset, whence); 170 sysfs_kf_bin_llseek(struct kernfs_open_file *of, loff_t offset, int whence) argument
|
/linux-master/fs/smb/client/ |
H A D | smb2ops.c | 3653 static loff_t smb3_llseek(struct file *file, struct cifs_tcon *tcon, loff_t offset, int whence) argument 3663 if (whence != SEEK_HOLE && whence != SEEK_DATA) 3664 return generic_file_llseek(file, offset, whence); 3688 if (whence == SEEK_HOLE) 3707 if (whence == SEEK_HOLE && out_data_len == 0) 3710 if (whence == SEEK_DATA && out_data_len == 0) { 3719 if (whence == SEEK_DATA) {
|
H A D | cifsfs.c | 1044 static loff_t cifs_llseek(struct file *file, loff_t offset, int whence) argument 1050 * whence == SEEK_END || SEEK_DATA || SEEK_HOLE => we must revalidate 1053 if (whence != SEEK_SET && whence != SEEK_CUR) { 1084 offset, whence); 1086 return generic_file_llseek(file, offset, whence);
|
/linux-master/fs/bcachefs/ |
H A D | fs.c | 1078 static loff_t bch2_dir_llseek(struct file *file, loff_t offset, int whence) argument 1080 return generic_file_llseek_size(file, offset, whence,
|
H A D | fs-io.c | 1043 loff_t bch2_llseek(struct file *file, loff_t offset, int whence) argument 1047 switch (whence) { 1051 ret = generic_file_llseek(file, offset, whence);
|
/linux-master/mm/ |
H A D | shmem.c | 3061 static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence) argument 3066 if (whence != SEEK_DATA && whence != SEEK_HOLE) 3067 return generic_file_llseek_size(file, offset, whence, 3074 offset = mapping_seek_hole_data(mapping, offset, inode->i_size, whence);
|
H A D | filemap.c | 2977 * @whence: Either SEEK_HOLE or SEEK_DATA. 2985 * Return: The requested offset on success, or -ENXIO if @whence specifies 2991 loff_t end, int whence) 2995 bool seek_data = (whence == SEEK_DATA); 2990 mapping_seek_hole_data(struct address_space *mapping, loff_t start, loff_t end, int whence) argument
|
/linux-master/fs/fuse/ |
H A D | file.c | 2768 static loff_t fuse_lseek(struct file *file, loff_t offset, int whence) argument 2777 .whence = whence 2807 return generic_file_llseek(file, offset, whence); 2812 static loff_t fuse_file_llseek(struct file *file, loff_t offset, int whence) argument 2817 switch (whence) { 2821 retval = generic_file_llseek(file, offset, whence); 2827 retval = generic_file_llseek(file, offset, whence); 2833 retval = fuse_lseek(file, offset, whence);
|
/linux-master/fs/kernfs/ |
H A D | file.c | 866 static loff_t kernfs_fop_llseek(struct file *file, loff_t offset, int whence) argument 884 ret = ops->llseek(of, offset, whence); 886 ret = generic_file_llseek(file, offset, whence);
|
/linux-master/include/linux/ |
H A D | fs.h | 3005 extern loff_t default_llseek(struct file *file, loff_t offset, int whence); 3007 extern loff_t vfs_llseek(struct file *file, loff_t offset, int whence); 3152 extern loff_t noop_llseek(struct file *file, loff_t offset, int whence); 3155 extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence); 3157 int whence, loff_t maxsize, loff_t eof); 3159 int whence, loff_t size);
|
H A D | kernfs.h | 321 loff_t (*llseek)(struct kernfs_open_file *of, loff_t offset, int whence);
|
H A D | syscalls.h | 459 unsigned int whence); 461 unsigned int whence);
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 2518 * @whence: Indicates how to seek. 2522 * @whence parameter indicates whether @off is the offset to directly seek to, 2532 lpfc_debugfs_lseek(struct file *file, loff_t off, int whence) argument 2535 return fixed_size_llseek(file, off, whence, debug->len);
|
/linux-master/kernel/printk/ |
H A D | printk.c | 859 static loff_t devkmsg_llseek(struct file *file, loff_t offset, int whence) argument 867 switch (whence) {
|
/linux-master/fs/ceph/ |
H A D | file.c | 2459 static loff_t ceph_llseek(struct file *file, loff_t offset, int whence) argument 2461 if (whence == SEEK_END || whence == SEEK_DATA || whence == SEEK_HOLE) { 2469 return generic_file_llseek(file, offset, whence);
|
/linux-master/drivers/s390/char/ |
H A D | vmur.c | 789 static loff_t ur_llseek(struct file *file, loff_t offset, int whence) argument 795 return no_seek_end_llseek(file, offset, whence);
|
/linux-master/tools/testing/ktest/ |
H A D | ktest.pl | 1572 my $whence = 2; # End of file 1585 seek(L, $pos, $whence);
|
/linux-master/kernel/trace/ |
H A D | trace.h | 693 loff_t tracing_lseek(struct file *file, loff_t offset, int whence);
|
H A D | trace.c | 5025 loff_t tracing_lseek(struct file *file, loff_t offset, int whence) argument 5030 ret = seq_lseek(file, offset, whence);
|
/linux-master/fs/f2fs/ |
H A D | file.c | 399 struct dnode_of_data *dn, pgoff_t index, int whence) 412 switch (whence) { 432 static loff_t f2fs_seek_block(struct file *file, loff_t offset, int whence) argument 450 if (whence == SEEK_HOLE) { 453 } else if (whence == SEEK_DATA) { 468 if (whence == SEEK_DATA) { 494 pgofs, whence)) { 502 if (whence == SEEK_DATA) 505 if (whence == SEEK_HOLE && data_ofs > isize) 514 static loff_t f2fs_llseek(struct file *file, loff_t offset, int whence) argument 398 __found_offset(struct address_space *mapping, struct dnode_of_data *dn, pgoff_t index, int whence) argument [all...] |
/linux-master/include/uapi/linux/ |
H A D | fuse.h | 1092 uint32_t whence; member in struct:fuse_lseek_in
|
/linux-master/tools/perf/ |
H A D | builtin-trace.c | 1014 .arg = { [2] = STRARRAY(whence, whences), }, },
|
/linux-master/fs/xfs/ |
H A D | xfs_file.c | 1300 int whence) 1307 switch (whence) { 1309 return generic_file_llseek(file, offset, whence); 1297 xfs_file_llseek( struct file *file, loff_t offset, int whence) argument
|
/linux-master/fs/ocfs2/ |
H A D | file.c | 2627 static loff_t ocfs2_file_llseek(struct file *file, loff_t offset, int whence) argument 2634 switch (whence) { 2658 ret = ocfs2_seek_data_hole_offset(file, &offset, whence);
|