| /linux/tools/perf/ui/ |
| H A D | browser.h | 30 void (*seek)(struct ui_browser *browser, off_t offset, int whence); 77 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence); 80 void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence); 83 void ui_browser__list_head_seek(struct ui_browser *browser, off_t offset, int whence);
|
| H A D | browser.c | 103 void ui_browser__list_head_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__list_head_seek() argument 111 switch (whence) { in ui_browser__list_head_seek() 138 void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__rb_tree_seek() argument 143 switch (whence) { in ui_browser__rb_tree_seek() 620 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__argv_seek() argument 622 switch (whence) { in ui_browser__argv_seek()
|
| /linux/fs/squashfs/ |
| H A D | file.c | 670 static loff_t seek_hole_data(struct file *file, loff_t offset, int whence) in seek_hole_data() argument 687 if (whence == SEEK_DATA) in seek_hole_data() 699 if ((length == 0 && whence == SEEK_HOLE) || in seek_hole_data() 700 (length && whence == SEEK_DATA)) in seek_hole_data() 728 if ((length == 0 && whence == SEEK_HOLE) || in seek_hole_data() 729 (length && whence == SEEK_DATA)) { in seek_hole_data() 740 if (whence == SEEK_DATA) in seek_hole_data() 751 static loff_t squashfs_llseek(struct file *file, loff_t offset, int whence) in squashfs_llseek() argument 755 switch (whence) { in squashfs_llseek() 757 return generic_file_llseek(file, offset, whence); in squashfs_llseek() [all …]
|
| /linux/arch/xtensa/platforms/iss/include/platform/ |
| H A D | simcall.h | 76 static inline int simc_lseek(int fd, uint32_t off, int whence) in simc_lseek() argument 78 return __simc(SYS_lseek, fd, off, whence); in simc_lseek()
|
| /linux/drivers/pnp/isapnp/ |
| H A D | proc.c | 17 static loff_t isapnp_proc_bus_lseek(struct file *file, loff_t off, int whence) in isapnp_proc_bus_lseek() argument 19 return fixed_size_llseek(file, off, whence, 256); in isapnp_proc_bus_lseek()
|
| /linux/fs/hpfs/ |
| H A D | dir.c | 24 static loff_t hpfs_dir_lseek(struct file *filp, loff_t off, int whence) in hpfs_dir_lseek() argument 26 loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); in hpfs_dir_lseek() 34 if (whence == SEEK_DATA || whence == SEEK_HOLE) in hpfs_dir_lseek()
|
| /linux/tools/include/nolibc/ |
| H A D | sys.h | 594 * off_t lseek(int fd, off_t offset, int whence); 598 off_t sys_lseek(int fd, off_t offset, int whence) in link() 605 ret = my_syscall5(__NR_llseek, fd, offset >> 32, (uint32_t)offset, &loff, whence); 613 return my_syscall3(__NR_lseek, fd, offset, whence); in sys_lseek() 618 off_t lseek(int fd, off_t offset, int whence) in sys_lseek() 620 return __sysret(sys_lseek(fd, offset, whence)); in sys_lseek() 606 sys_lseek(int fd,off_t offset,int whence) sys_lseek() argument 626 lseek(int fd,off_t offset,int whence) lseek() argument
|
| /linux/drivers/zorro/ |
| H A D | proc.c | 25 proc_bus_zorro_lseek(struct file *file, loff_t off, int whence) in proc_bus_zorro_lseek() argument 27 return fixed_size_llseek(file, off, whence, sizeof(struct ConfigDev)); in proc_bus_zorro_lseek()
|
| /linux/fs/nfs/ |
| H A D | nfs4file.c | 203 static loff_t nfs4_file_llseek(struct file *filep, loff_t offset, int whence) in nfs4_file_llseek() argument 207 switch (whence) { in nfs4_file_llseek() 210 ret = nfs42_proc_llseek(filep, offset, whence); in nfs4_file_llseek() 215 return nfs_file_llseek(filep, offset, whence); in nfs4_file_llseek()
|
| H A D | file.c | 116 loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence) in nfs_file_llseek() argument 119 filp, offset, whence); in nfs_file_llseek() 125 if (whence != SEEK_SET && whence != SEEK_CUR) { in nfs_file_llseek() 133 return generic_file_llseek(filp, offset, whence); in nfs_file_llseek()
|
| /linux/drivers/char/ |
| H A D | adi.c | 171 static loff_t adi_llseek(struct file *file, loff_t offset, int whence) in adi_llseek() argument 175 switch (whence) { in adi_llseek()
|
| H A D | powernv-op-panel.c | 38 static loff_t oppanel_llseek(struct file *filp, loff_t offset, int whence) in oppanel_llseek() argument 40 return fixed_size_llseek(filp, offset, whence, oppanel_size); in oppanel_llseek()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | papr-rtas-common.c | 289 int whence) in papr_rtas_common_handle_seek() argument 293 return fixed_size_llseek(file, off, whence, blob->len); in papr_rtas_common_handle_seek()
|
| /linux/fs/ocfs2/ |
| H A D | extent_map.c | 880 int ocfs2_seek_data_hole_offset(struct file *file, loff_t *offset, int whence) in ocfs2_seek_data_hole_offset() argument 891 BUG_ON(whence != SEEK_DATA && whence != SEEK_HOLE); in ocfs2_seek_data_hole_offset() 907 if (whence == SEEK_HOLE) in ocfs2_seek_data_hole_offset() 936 if ((!is_data && whence == SEEK_HOLE) || in ocfs2_seek_data_hole_offset() 937 (is_data && whence == SEEK_DATA)) { in ocfs2_seek_data_hole_offset() 947 if (whence == SEEK_HOLE) { in ocfs2_seek_data_hole_offset()
|
| /linux/fs/erofs/ |
| H A D | data.c | 488 static loff_t erofs_file_llseek(struct file *file, loff_t offset, int whence) in erofs_file_llseek() argument 495 return generic_file_llseek(file, offset, whence); in erofs_file_llseek() 499 if (whence == SEEK_HOLE) in erofs_file_llseek() 501 else if (whence == SEEK_DATA) in erofs_file_llseek() 504 return generic_file_llseek(file, offset, whence); in erofs_file_llseek()
|
| /linux/fs/affs/ |
| H A D | dir.c | 28 static loff_t affs_dir_llseek(struct file *file, loff_t offset, int whence) in affs_dir_llseek() argument 32 return generic_llseek_cookie(file, offset, whence, &data->cookie); in affs_dir_llseek()
|
| /linux/fs/orangefs/ |
| H A D | dir.c | 281 int whence) in orangefs_dir_llseek() argument 288 if (!whence && offset < od->end) { in orangefs_dir_llseek() 299 return default_llseek(file, offset, whence); in orangefs_dir_llseek()
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | pmc.h | 14 loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence);
|
| /linux/drivers/pci/hotplug/ |
| H A D | cpqphp_sysfs.c | 153 static loff_t lseek(struct file *file, loff_t off, int whence) in lseek() argument 156 return fixed_size_llseek(file, off, whence, dbg->size); in lseek()
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 243 static loff_t ovl_llseek(struct file *file, loff_t offset, int whence) in ovl_llseek() argument 254 if (whence == SEEK_CUR) in ovl_llseek() 257 if (whence == SEEK_SET) in ovl_llseek() 276 ret = vfs_llseek(realfile, offset, whence); in ovl_llseek()
|
| /linux/fs/pstore/ |
| H A D | inode.c | 162 static loff_t pstore_file_llseek(struct file *file, loff_t off, int whence) in pstore_file_llseek() argument 167 return seq_lseek(file, off, whence); in pstore_file_llseek() 168 return default_llseek(file, off, whence); in pstore_file_llseek()
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_dp_aux_dev.c | 141 static loff_t auxdev_llseek(struct file *file, loff_t offset, int whence) in auxdev_llseek() argument 143 return fixed_size_llseek(file, offset, whence, AUX_MAX_OFFSET); in auxdev_llseek()
|
| /linux/fs/btrfs/ |
| H A D | file.c | 3480 static bool find_desired_extent_in_hole(struct btrfs_inode *inode, int whence, in find_desired_extent_in_hole() argument 3490 if (delalloc && whence == SEEK_DATA) { in find_desired_extent_in_hole() 3495 if (delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole() 3519 if (!delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole() 3531 static loff_t find_desired_extent(struct file *file, loff_t offset, int whence) in find_desired_extent() argument 3557 if (whence == SEEK_HOLE && in find_desired_extent() 3683 found = find_desired_extent_in_hole(inode, whence, in find_desired_extent() 3724 found = find_desired_extent_in_hole(inode, whence, in find_desired_extent() 3744 if (whence == SEEK_DATA) { in find_desired_extent() 3767 found = find_desired_extent_in_hole(inode, whence, in find_desired_extent() [all …]
|
| /linux/fs/hostfs/ |
| H A D | hostfs.h | 54 extern int lseek_file(int fd, long long offset, int whence);
|
| /linux/fs/ecryptfs/ |
| H A D | file.c | 336 static loff_t ecryptfs_dir_llseek(struct file *file, loff_t offset, int whence) in ecryptfs_dir_llseek() argument 338 return vfs_llseek(ecryptfs_file_to_lower(file), offset, whence); in ecryptfs_dir_llseek()
|