Lines Matching refs:whence

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()
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()
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()
166 return generic_file_llseek_size(file, offset, whence, in fixed_size_llseek()
181 loff_t no_seek_end_llseek(struct file *file, loff_t offset, int whence) in no_seek_end_llseek() argument
183 switch (whence) { in no_seek_end_llseek()
185 return generic_file_llseek_size(file, offset, whence, in no_seek_end_llseek()
201 loff_t no_seek_end_llseek_size(struct file *file, loff_t offset, int whence, loff_t size) in no_seek_end_llseek_size() argument
203 switch (whence) { in no_seek_end_llseek_size()
205 return generic_file_llseek_size(file, offset, whence, in no_seek_end_llseek_size()
224 loff_t noop_llseek(struct file *file, loff_t offset, int whence) in noop_llseek() argument
230 loff_t no_llseek(struct file *file, loff_t offset, int whence) in no_llseek() argument
236 loff_t default_llseek(struct file *file, loff_t offset, int whence) in default_llseek() argument
242 switch (whence) { in default_llseek()
291 loff_t vfs_llseek(struct file *file, loff_t offset, int whence) in vfs_llseek() argument
300 return fn(file, offset, whence); in vfs_llseek()
304 static off_t ksys_lseek(unsigned int fd, off_t offset, unsigned int whence) in ksys_lseek() argument
312 if (whence <= SEEK_MAX) { in ksys_lseek()
313 loff_t res = vfs_llseek(f.file, offset, whence); in ksys_lseek()
322 SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence) in SYSCALL_DEFINE3() argument
324 return ksys_lseek(fd, offset, whence); in SYSCALL_DEFINE3()
328 COMPAT_SYSCALL_DEFINE3(lseek, unsigned int, fd, compat_off_t, offset, unsigned int, whence) in COMPAT_SYSCALL_DEFINE3() argument
330 return ksys_lseek(fd, offset, whence); in COMPAT_SYSCALL_DEFINE3()
338 unsigned int, whence) in SYSCALL_DEFINE5() argument
348 if (whence > SEEK_MAX) in SYSCALL_DEFINE5()
352 whence); in SYSCALL_DEFINE5()