Home
last modified time | relevance | path

Searched refs:whence (Results 1 - 25 of 177) sorted by relevance

12345678

/kernel/linux/linux-5.10/fs/iomap/
H A Dseek.c19 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 Dstdio.c38 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 Dbrowser.h30 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 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()
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 Dbrowser.h30 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 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()
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 Dread_write.c68 * @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 Dproc_file.h125 * @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 Dread_write.c73 * @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 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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dproc_powerpc.c19 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 Dsimcall.h119 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 Dproc_powerpc.c19 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 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/hpfs/
H A Ddir.c24 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 Ddir.c24 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 Dhmcdrv_dev.c58 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 Dhmcdrv_dev.c58 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 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/fsi/
H A Di2cr-scom.c20 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 Dadi.c177 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 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()
/kernel/linux/linux-6.6/drivers/char/
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()

Completed in 12 milliseconds

12345678