Lines Matching refs:file_in
1387 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, in generic_copy_file_range() argument
1393 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1405 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
1409 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks()
1415 ret = generic_file_rw_checks(file_in, file_out); in generic_copy_file_checks()
1432 if (file_in->f_op->copy_file_range != in generic_copy_file_checks()
1435 } else if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) { in generic_copy_file_checks()
1476 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, in vfs_copy_file_range() argument
1486 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1491 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range()
1510 ret = file_out->f_op->copy_file_range(file_in, pos_in, in vfs_copy_file_range()
1516 if (!splice && file_in->f_op->remap_file_range && in vfs_copy_file_range()
1517 file_inode(file_in)->i_sb == file_inode(file_out)->i_sb) { in vfs_copy_file_range()
1518 ret = file_in->f_op->remap_file_range(file_in, pos_in, in vfs_copy_file_range()
1539 ret = generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in vfs_copy_file_range()
1544 fsnotify_access(file_in); in vfs_copy_file_range()
1704 int generic_file_rw_checks(struct file *file_in, struct file *file_out) in generic_file_rw_checks() argument
1706 struct inode *inode_in = file_inode(file_in); in generic_file_rw_checks()
1715 if (!(file_in->f_mode & FMODE_READ) || in generic_file_rw_checks()