Lines Matching refs:f_op
39 return file->f_op->fop_flags & FOP_UNSIGNED_OFFSET; in unsigned_offsets()
382 return file->f_op->llseek(file, offset, whence); in vfs_llseek()
488 ret = filp->f_op->read_iter(&kiocb, &iter); in new_sync_read()
521 if (unlikely(!file->f_op->read_iter || file->f_op->read)) in __kernel_read()
527 ret = file->f_op->read_iter(&kiocb, &iter); in __kernel_read()
566 if (file->f_op->read) in vfs_read()
567 ret = file->f_op->read(file, buf, count, pos); in vfs_read()
568 else if (file->f_op->read_iter) in vfs_read()
590 ret = filp->f_op->write_iter(&kiocb, &iter); in new_sync_write()
611 if (unlikely(!file->f_op->write_iter || file->f_op->write)) in __kernel_write_iter()
616 ret = file->f_op->write_iter(&kiocb, from); in __kernel_write_iter()
680 if (file->f_op->write) in vfs_write()
681 ret = file->f_op->write(file, buf, count, pos); in vfs_write()
682 else if (file->f_op->write_iter) in vfs_write()
832 ret = filp->f_op->read_iter(&kiocb, iter); in do_iter_readv_writev()
834 ret = filp->f_op->write_iter(&kiocb, iter); in do_iter_readv_writev()
854 nr = filp->f_op->read(filp, iter_iov_addr(iter), in do_loop_readv_writev()
857 nr = filp->f_op->write(filp, iter_iov_addr(iter), in do_loop_readv_writev()
881 if (!file->f_op->read_iter) in vfs_iocb_iter_read()
895 ret = file->f_op->read_iter(iocb, iter); in vfs_iocb_iter_read()
909 if (!file->f_op->read_iter) in vfs_iter_read()
941 if (!file->f_op->write_iter) in vfs_iocb_iter_write()
956 ret = file->f_op->write_iter(iocb, iter); in vfs_iocb_iter_write()
976 if (!file->f_op->write_iter) in vfs_iter_write()
1024 if (file->f_op->read_iter) in vfs_readv()
1063 if (file->f_op->write_iter) in vfs_writev()
1531 } else if (file_out->f_op->copy_file_range) { in generic_copy_file_checks()
1532 if (file_in->f_op->copy_file_range != in generic_copy_file_checks()
1533 file_out->f_op->copy_file_range) in generic_copy_file_checks()
1610 if (!splice && file_out->f_op->copy_file_range) { in vfs_copy_file_range()
1611 ret = file_out->f_op->copy_file_range(file_in, pos_in, in vfs_copy_file_range()
1614 } else if (!splice && file_in->f_op->remap_file_range && samesb) { in vfs_copy_file_range()
1615 ret = file_in->f_op->remap_file_range(file_in, pos_in, in vfs_copy_file_range()
1782 (file->f_op->fop_flags & FOP_BUFFER_WASYNC))) in generic_write_checks_count()