Searched refs:old_file (Results 1 – 4 of 4) sorted by relevance
/linux/fs/overlayfs/ |
A D | copy_up.c | 189 struct file *old_file; in ovl_copy_up_data() local 202 old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY); in ovl_copy_up_data() 203 if (IS_ERR(old_file)) in ovl_copy_up_data() 204 return PTR_ERR(old_file); in ovl_copy_up_data() 213 cloned = do_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_data() 219 if (old_file->f_mode & FMODE_LSEEK && in ovl_copy_up_data() 220 old_file->f_op->llseek) in ovl_copy_up_data() 252 data_pos = vfs_llseek(old_file, old_pos, SEEK_DATA); in ovl_copy_up_data() 265 bytes = do_splice_direct(old_file, &old_pos, in ovl_copy_up_data() 281 fput(old_file); in ovl_copy_up_data()
|
/linux/fs/cifs/ |
A 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/drivers/block/ |
A D | loop.c | 568 struct file *old_file; in loop_change_fd() local 592 old_file = lo->lo_backing_file; in loop_change_fd() 597 if (get_loop_size(lo, file) != get_loop_size(lo, old_file)) in loop_change_fd() 603 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in loop_change_fd() 626 fput(old_file); in loop_change_fd()
|
/linux/fs/ |
A D | io_uring.c | 8464 struct file *old_file; in io_install_fixed_file() local 8470 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_install_fixed_file() 8472 ctx->rsrc_node, old_file); in io_install_fixed_file()
|
Completed in 30 milliseconds