Lines Matching refs:ppos
215 int rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count) in rw_verify_area() argument
224 pos = *ppos; in rw_verify_area()
252 ssize_t do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos) in do_sync_read() argument
259 kiocb.ki_pos = *ppos; in do_sync_read()
271 *ppos = kiocb.ki_pos; in do_sync_read()
307 ssize_t do_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos) in do_sync_write() argument
314 kiocb.ki_pos = *ppos; in do_sync_write()
326 *ppos = kiocb.ki_pos; in do_sync_write()
487 unsigned long nr_segs, size_t len, loff_t *ppos, iov_fn_t fn) in do_sync_readv_writev() argument
493 kiocb.ki_pos = *ppos; in do_sync_readv_writev()
506 *ppos = kiocb.ki_pos; in do_sync_readv_writev()
512 unsigned long nr_segs, loff_t *ppos, io_fn_t fn) in do_loop_readv_writev() argument
527 nr = fn(filp, base, len, ppos); in do_loop_readv_writev()
734 static ssize_t do_sendfile(int out_fd, int in_fd, loff_t *ppos, in do_sendfile() argument
759 if (!ppos) in do_sendfile()
760 ppos = &in_file->f_pos; in do_sendfile()
764 retval = rw_verify_area(READ, in_file, ppos, count); in do_sendfile()
790 pos = *ppos; in do_sendfile()
812 retval = do_splice_direct(in_file, ppos, out_file, count, fl); in do_sendfile()
821 if (*ppos > max) in do_sendfile()