Searched refs:old_file (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/fs/cifs/ |
D | link.c | 518 cifs_hardlink(struct dentry *old_file, struct inode *inode, in cifs_hardlink() argument 538 from_name = build_path_from_dentry(old_file); in cifs_hardlink() 567 if (d_really_is_positive(old_file)) { in cifs_hardlink() 568 cifsInode = CIFS_I(d_inode(old_file)); in cifs_hardlink() 570 spin_lock(&d_inode(old_file)->i_lock); in cifs_hardlink() 571 inc_nlink(d_inode(old_file)); in cifs_hardlink() 572 spin_unlock(&d_inode(old_file)->i_lock); in cifs_hardlink()
|
/Linux-v5.4/fs/overlayfs/ |
D | copy_up.c | 121 struct file *old_file; in ovl_copy_up_data() local 131 old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY); in ovl_copy_up_data() 132 if (IS_ERR(old_file)) in ovl_copy_up_data() 133 return PTR_ERR(old_file); in ovl_copy_up_data() 142 cloned = do_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_data() 160 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_data() 176 fput(old_file); in ovl_copy_up_data()
|
/Linux-v5.4/drivers/block/ |
D | loop.c | 680 struct file *file = NULL, *old_file; in loop_change_fd() local 705 old_file = lo->lo_backing_file; in loop_change_fd() 710 if (get_loop_size(lo, file) != get_loop_size(lo, old_file)) in loop_change_fd() 715 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in loop_change_fd() 729 fput(old_file); in loop_change_fd()
|