Searched refs:iocb (Results 1 – 2 of 2) sorted by relevance
1928 generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter) in generic_file_read_iter() argument1930 struct file *file = iocb->ki_filp; in generic_file_read_iter()1937 if (iocb->ki_flags & IOCB_DIRECT) { in generic_file_read_iter()1944 retval = filemap_write_and_wait_range(mapping, iocb->ki_pos, in generic_file_read_iter()1945 iocb->ki_pos + count - 1); in generic_file_read_iter()1951 retval = mapping->a_ops->direct_IO(iocb, &data); in generic_file_read_iter()1953 iocb->ki_pos += retval; in generic_file_read_iter()1966 if (retval < 0 || !iov_iter_count(iter) || iocb->ki_pos >= size || in generic_file_read_iter()1971 retval = do_generic_file_read(file, &iocb->ki_pos, iter, retval); in generic_file_read_iter()2532 inline ssize_t generic_write_checks(struct kiocb *iocb, struct iov_iter *from) in generic_write_checks() argument[all …]
2242 static ssize_t shmem_file_read_iter(struct kiocb *iocb, struct iov_iter *to) in shmem_file_read_iter() argument2244 struct file *file = iocb->ki_filp; in shmem_file_read_iter()2252 loff_t *ppos = &iocb->ki_pos; in shmem_file_read_iter()