Home
last modified time | relevance | path

Searched refs:old_file (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/fs/overlayfs/
Dcopy_up.c86 struct file *old_file; in ovl_copy_up_data() local
95 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()
/linux-4.1.27/fs/cifs/
Dlink.c540 cifs_hardlink(struct dentry *old_file, struct inode *inode, in cifs_hardlink() argument
560 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()
/linux-4.1.27/drivers/block/
Dloop.c430 struct file *old_file = lo->lo_backing_file; in do_loop_switch() local
438 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask); in do_loop_switch()
488 struct file *file, *old_file; in loop_change_fd() local
507 old_file = lo->lo_backing_file; in loop_change_fd()
515 if (get_loop_size(lo, file) != get_loop_size(lo, old_file)) in loop_change_fd()
523 fput(old_file); in loop_change_fd()