Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 70) sorted by relevance

123

/linux/tools/perf/ui/
H A Dbrowser.h30 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 Dbrowser.c103 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 Dfile.c670 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/drivers/s390/char/
H A Dhmcdrv_dev.c43 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence);
113 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence) in hmcdrv_dev_seek() argument
115 switch (whence) { in hmcdrv_dev_seek()
/linux/arch/xtensa/platforms/iss/include/platform/
H A Dsimcall.h76 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 Dproc.c17 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/drivers/zorro/
H A Dproc.c25 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/tools/include/nolibc/
H A Dsys.h594 * 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 = __nolibc_syscall5(__NR_llseek, fd, offset >> 32, (uint32_t)offset, &loff, whence);
613 return __nolibc_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/fs/nfs/
H A Dnfs4file.c203 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()
/linux/drivers/char/
H A Dadi.c171 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 Dpowernv-op-panel.c38 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 Dpapr-rtas-common.c289 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/orangefs/
H A Ddir.c281 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 Dpmc.h14 loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence);
H A Dpmc.c368 loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence) in wil_pmc_llseek() argument
386 switch (whence) { in wil_pmc_llseek()
/linux/drivers/pci/hotplug/
H A Dcpqphp_sysfs.c153 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/drivers/gpu/drm/display/
H A Ddrm_dp_aux_dev.c141 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/hostfs/
H A Dhostfs.h54 extern int lseek_file(int fd, long long offset, int whence);
/linux/fs/btrfs/
H A Dfile.c3485 static bool find_desired_extent_in_hole(struct btrfs_inode *inode, int whence, in find_desired_extent_in_hole() argument
3495 if (delalloc && whence == SEEK_DATA) { in find_desired_extent_in_hole()
3500 if (delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole()
3524 if (!delalloc && whence == SEEK_HOLE) { in find_desired_extent_in_hole()
3536 static loff_t find_desired_extent(struct file *file, loff_t offset, int whence) in find_desired_extent() argument
3562 if (whence == SEEK_HOLE && in find_desired_extent()
3688 found = find_desired_extent_in_hole(inode, whence, in find_desired_extent()
3729 found = find_desired_extent_in_hole(inode, whence, in find_desired_extent()
3749 if (whence == SEEK_DATA) { in find_desired_extent()
3772 found = find_desired_extent_in_hole(inode, whence, in find_desired_extent()
[all …]
/linux/io_uring/
H A Dmock_file.c161 static loff_t io_mock_llseek(struct file *file, loff_t offset, int whence) in io_mock_llseek() argument
165 return fixed_size_llseek(file, offset, whence, mf->size); in io_mock_llseek()
/linux/fs/sysfs/
H A Dfile.c177 int whence) in sysfs_kf_bin_llseek() argument
183 return battr->llseek(of->file, kobj, battr, offset, whence); in sysfs_kf_bin_llseek()
185 return generic_file_llseek(of->file, offset, whence); in sysfs_kf_bin_llseek()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-g-fmt.rst99 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
115 .. _v4l2-subdev-format-whence:
/linux/drivers/pci/
H A Dproc.c22 static loff_t proc_bus_pci_lseek(struct file *file, loff_t off, int whence) in proc_bus_pci_lseek() argument
25 return fixed_size_llseek(file, off, whence, dev->cfg_size); in proc_bus_pci_lseek()
/linux/fs/proc/
H A Dinode.c275 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek() argument
281 return pde->proc_ops->proc_lseek(file, offset, whence); in proc_reg_llseek()
283 rv = pde->proc_ops->proc_lseek(file, offset, whence); in proc_reg_llseek()
/linux/scripts/
H A Drecordmcount.c89 static off_t ulseek(off_t const offset, int const whence) in ulseek() argument
91 switch (whence) { in ulseek()

123