Searched refs:old_file (Results 1 – 3 of 3) sorted by relevance
86 struct file *old_file; in ovl_copy_up_data() local95 old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY); in ovl_copy_up_data()96 if (IS_ERR(old_file)) in ovl_copy_up_data()97 return PTR_ERR(old_file); in ovl_copy_up_data()118 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_data()132 fput(old_file); in ovl_copy_up_data()
540 cifs_hardlink(struct dentry *old_file, struct inode *inode, in cifs_hardlink() argument560 from_name = build_path_from_dentry(old_file); in cifs_hardlink()589 if (d_really_is_positive(old_file)) { in cifs_hardlink()590 cifsInode = CIFS_I(d_inode(old_file)); in cifs_hardlink()592 spin_lock(&d_inode(old_file)->i_lock); in cifs_hardlink()593 inc_nlink(d_inode(old_file)); in cifs_hardlink()594 spin_unlock(&d_inode(old_file)->i_lock); in cifs_hardlink()
581 struct file *old_file = lo->lo_backing_file; in do_loop_switch() local589 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in do_loop_switch()662 struct file *file, *old_file; in loop_change_fd() local681 old_file = lo->lo_backing_file; in loop_change_fd()689 if (get_loop_size(lo, file) != get_loop_size(lo, old_file)) in loop_change_fd()697 fput(old_file); in loop_change_fd()