/kernel/linux/linux-5.10/fs/iomap/ |
H A D | seek.c | 19 int whence) in page_seek_hole_data() 23 bool seek_data = whence == SEEK_DATA; in page_seek_hole_data() 34 if (whence == SEEK_HOLE) in page_seek_hole_data() 75 int whence) in page_cache_seek_hole_data() 98 if (page_seek_hole_data(inode, page, &lastoff, whence)) in page_cache_seek_hole_data() 106 if (whence != SEEK_HOLE) in page_cache_seek_hole_data() 18 page_seek_hole_data(struct inode *inode, struct page *page, loff_t *lastoff, int whence) page_seek_hole_data() argument 74 page_cache_seek_hole_data(struct inode *inode, loff_t offset, loff_t length, int whence) page_cache_seek_hole_data() argument
|
/kernel/liteos_a/compat/posix/src/ |
H A D | stdio.c | 38 off_t _lseek(int fd, off_t offset, int whence) in _lseek() argument 50 /* libc seekdir function should set the whence to SEEK_SET, so we can discard in _lseek() 51 * the whence argument here */ in _lseek() 70 ret = file_seek(filep, offset, whence); in _lseek() 77 off64_t _lseek64(int fd, int offsetHigh, int offsetLow, off64_t *result, int whence) in _lseek64() argument 90 /* libc seekdir function should set the whence to SEEK_SET, so we can discard in _lseek64() 91 * the whence argument here */ in _lseek64() 110 ret = file_seek64(filep, offset, whence); in _lseek64()
|
/kernel/linux/linux-5.10/tools/perf/ui/ |
H A D | browser.h | 30 void (*seek)(struct ui_browser *browser, off_t offset, int whence); 76 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence); 79 void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence); 82 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() 608 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__argv_seek() argument 610 switch (whence) { in ui_browser__argv_seek()
|
/kernel/linux/linux-6.6/tools/perf/ui/ |
H A D | browser.h | 30 void (*seek)(struct ui_browser *browser, off_t offset, int whence); 76 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence); 79 void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence); 82 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() 608 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__argv_seek() argument 610 switch (whence) { in ui_browser__argv_seek()
|
/kernel/linux/linux-5.10/fs/ |
H A D | read_write.c | 68 * @whence: type of seek 81 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size() argument 84 switch (whence) { in generic_file_llseek_size() 133 * @whence: type of seek 137 * @offset and @whence. 139 loff_t generic_file_llseek(struct file *file, loff_t offset, int whence) in generic_file_llseek() argument 143 return generic_file_llseek_size(file, offset, whence, in generic_file_llseek() 153 * @whence: type of seek 157 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek() argument 159 switch (whence) { in fixed_size_llseek() 176 no_seek_end_llseek(struct file *file, loff_t offset, int whence) no_seek_end_llseek() argument 196 no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) no_seek_end_llseek_size() argument 219 noop_llseek(struct file *file, loff_t offset, int whence) noop_llseek() argument 225 no_llseek(struct file *file, loff_t offset, int whence) no_llseek() argument 231 default_llseek(struct file *file, loff_t offset, int whence) default_llseek() argument 286 vfs_llseek(struct file *file, loff_t offset, int whence) vfs_llseek() argument 299 ksys_lseek(unsigned int fd, off_t offset, unsigned int whence) ksys_lseek() argument [all...] |
/kernel/liteos_a/fs/proc/include/ |
H A D | proc_file.h | 125 * @param whence [IN] Type #int the begin of deviation 134 extern loff_t LseekProcFile(struct ProcDirEntry *pde, loff_t offset, int whence); 150 * @param whence [IN] Type #int the begin of deviation 159 int LseekDirProcFile(struct ProcDirEntry *pde, off_t *pos, int whence);
|
/kernel/linux/linux-6.6/fs/ |
H A D | read_write.c | 73 * @whence: type of seek 86 generic_file_llseek_size(struct file *file, loff_t offset, int whence, in generic_file_llseek_size() argument 89 switch (whence) { in generic_file_llseek_size() 138 * @whence: type of seek 142 * @offset and @whence. 144 loff_t generic_file_llseek(struct file *file, loff_t offset, int whence) in generic_file_llseek() argument 148 return generic_file_llseek_size(file, offset, whence, in generic_file_llseek() 158 * @whence: type of seek 162 loff_t fixed_size_llseek(struct file *file, loff_t offset, int whence, loff_t size) in fixed_size_llseek() argument 164 switch (whence) { in fixed_size_llseek() 181 no_seek_end_llseek(struct file *file, loff_t offset, int whence) no_seek_end_llseek() argument 201 no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) no_seek_end_llseek_size() argument 224 noop_llseek(struct file *file, loff_t offset, int whence) noop_llseek() argument 230 default_llseek(struct file *file, loff_t offset, int whence) default_llseek() argument 285 vfs_llseek(struct file *file, loff_t offset, int whence) vfs_llseek() argument 293 ksys_lseek(unsigned int fd, off_t offset, unsigned int whence) ksys_lseek() argument [all...] |
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | proc_powerpc.c | 19 static loff_t page_map_seek(struct file *file, loff_t off, int whence) in page_map_seek() argument 21 return fixed_size_llseek(file, off, whence, PAGE_SIZE); in page_map_seek()
|
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/include/platform/ |
H A D | simcall.h | 119 static inline int simc_lseek(int fd, uint32_t off, int whence) in simc_lseek() argument 121 return __simc(SYS_lseek, fd, off, whence); in simc_lseek()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | proc_powerpc.c | 19 static loff_t page_map_seek(struct file *file, loff_t off, int whence) in page_map_seek() argument 21 return fixed_size_llseek(file, off, whence, PAGE_SIZE); in page_map_seek()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 58 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence); 160 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence) in hmcdrv_dev_seek() argument 162 switch (whence) { in hmcdrv_dev_seek()
|
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 58 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence); 160 static loff_t hmcdrv_dev_seek(struct file *fp, loff_t pos, int whence) in hmcdrv_dev_seek() argument 162 switch (whence) { in hmcdrv_dev_seek()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/fsi/ |
H A D | i2cr-scom.c | 20 static loff_t i2cr_scom_llseek(struct file *file, loff_t offset, int whence) in i2cr_scom_llseek() argument 22 switch (whence) { in i2cr_scom_llseek()
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | adi.c | 177 static loff_t adi_llseek(struct file *file, loff_t offset, int whence) in adi_llseek() argument 181 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()
|
/kernel/linux/linux-6.6/drivers/char/ |
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()
|