Searched refs:old_file (Results 1 – 2 of 2) sorted by relevance
522 cifs_hardlink(struct dentry *old_file, struct inode *inode, in cifs_hardlink() argument542 from_name = build_path_from_dentry(old_file); in cifs_hardlink()571 if (d_really_is_positive(old_file)) { in cifs_hardlink()572 cifsInode = CIFS_I(d_inode(old_file)); in cifs_hardlink()574 spin_lock(&d_inode(old_file)->i_lock); in cifs_hardlink()575 inc_nlink(d_inode(old_file)); in cifs_hardlink()576 spin_unlock(&d_inode(old_file)->i_lock); in cifs_hardlink()
125 struct file *old_file; in ovl_copy_up_data() local134 old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY); in ovl_copy_up_data()135 if (IS_ERR(old_file)) in ovl_copy_up_data()136 return PTR_ERR(old_file); in ovl_copy_up_data()145 error = do_clone_file_range(old_file, 0, new_file, 0, len); in ovl_copy_up_data()164 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_data()180 fput(old_file); in ovl_copy_up_data()