Searched refs:old_file (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/fs/overlayfs/ |
D | copy_up.c | 176 struct file *old_file; in ovl_copy_up_data() local 189 old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY); in ovl_copy_up_data() 190 if (IS_ERR(old_file)) in ovl_copy_up_data() 191 return PTR_ERR(old_file); in ovl_copy_up_data() 200 cloned = do_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_data() 206 if (old_file->f_mode & FMODE_LSEEK && in ovl_copy_up_data() 207 old_file->f_op->llseek) in ovl_copy_up_data() 239 data_pos = vfs_llseek(old_file, old_pos, SEEK_DATA); in ovl_copy_up_data() 252 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_data() 268 fput(old_file); in ovl_copy_up_data()
|
/Linux-v5.15/fs/cifs/ |
D | link.c | 496 cifs_hardlink(struct dentry *old_file, struct inode *inode, in cifs_hardlink() argument 521 from_name = build_path_from_dentry(old_file, page1); in cifs_hardlink() 554 if (d_really_is_positive(old_file)) { in cifs_hardlink() 555 cifsInode = CIFS_I(d_inode(old_file)); in cifs_hardlink() 557 spin_lock(&d_inode(old_file)->i_lock); in cifs_hardlink() 558 inc_nlink(d_inode(old_file)); in cifs_hardlink() 559 spin_unlock(&d_inode(old_file)->i_lock); in cifs_hardlink()
|
/Linux-v5.15/drivers/block/ |
D | loop.c | 744 struct file *old_file; in loop_change_fd() local 768 old_file = lo->lo_backing_file; in loop_change_fd() 773 if (get_loop_size(lo, file) != get_loop_size(lo, old_file)) in loop_change_fd() 779 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in loop_change_fd() 802 fput(old_file); in loop_change_fd()
|
/Linux-v5.15/fs/ |
D | io_uring.c | 8375 struct file *old_file; in io_install_fixed_file() local 8381 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_install_fixed_file() 8383 ctx->rsrc_node, old_file); in io_install_fixed_file()
|