Lines Matching refs:pos
124 ssize_t nfs_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, loff_t pos, unsigned lon… in nfs_direct_IO() argument
129 (long long) pos, nr_segs); in nfs_direct_IO()
137 return nfs_file_direct_read(iocb, iov, nr_segs, pos, in nfs_direct_IO()
139 return nfs_file_direct_write(iocb, iov, nr_segs, pos, in nfs_direct_IO()
312 loff_t pos, bool uio) in nfs_direct_read_schedule_segment() argument
375 req->wb_index = pos >> PAGE_SHIFT; in nfs_direct_read_schedule_segment()
376 req->wb_offset = pos & ~PAGE_MASK; in nfs_direct_read_schedule_segment()
386 pos += req_len; in nfs_direct_read_schedule_segment()
404 loff_t pos, bool uio) in nfs_direct_read_schedule_iovec() argument
418 result = nfs_direct_read_schedule_segment(&desc, vec, pos, uio); in nfs_direct_read_schedule_iovec()
424 pos += vec->iov_len; in nfs_direct_read_schedule_iovec()
444 unsigned long nr_segs, loff_t pos, bool uio) in nfs_direct_read() argument
468 result = nfs_direct_read_schedule_iovec(dreq, iov, nr_segs, pos, uio); in nfs_direct_read()
633 loff_t pos, bool uio) in nfs_direct_write_schedule_segment() argument
697 req->wb_index = pos >> PAGE_SHIFT; in nfs_direct_write_schedule_segment()
698 req->wb_offset = pos & ~PAGE_MASK; in nfs_direct_write_schedule_segment()
708 pos += req_len; in nfs_direct_write_schedule_segment()
805 loff_t pos, bool uio) in nfs_direct_write_schedule_iovec() argument
822 result = nfs_direct_write_schedule_segment(&desc, vec, pos, uio); in nfs_direct_write_schedule_iovec()
828 pos += vec->iov_len; in nfs_direct_write_schedule_iovec()
848 unsigned long nr_segs, loff_t pos, in nfs_direct_write() argument
872 result = nfs_direct_write_schedule_iovec(dreq, iov, nr_segs, pos, uio); in nfs_direct_write()
903 unsigned long nr_segs, loff_t pos, bool uio) in nfs_file_direct_read() argument
916 count, (long long) pos); in nfs_file_direct_read()
928 retval = nfs_direct_read(iocb, iov, nr_segs, pos, uio); in nfs_file_direct_read()
930 iocb->ki_pos = pos + retval; in nfs_file_direct_read()
959 unsigned long nr_segs, loff_t pos, bool uio) in nfs_file_direct_write() argument
972 count, (long long) pos); in nfs_file_direct_write()
974 retval = generic_write_checks(file, &pos, &count, 0); in nfs_file_direct_write()
991 retval = nfs_direct_write(iocb, iov, nr_segs, pos, count, uio); in nfs_file_direct_write()
995 iocb->ki_pos = pos + retval; in nfs_file_direct_write()