Searched refs:old_file (Results 1 - 4 of 4) sorted by relevance

/linux-master/fs/smb/client/
H A Dlink.c463 cifs_hardlink(struct dentry *old_file, struct inode *inode, argument
488 from_name = build_path_from_dentry(old_file, page1);
513 rc = server->ops->create_hardlink(xid, tcon, old_file,
525 if (d_really_is_positive(old_file)) {
526 cifsInode = CIFS_I(d_inode(old_file));
528 spin_lock(&d_inode(old_file)->i_lock);
529 inc_nlink(d_inode(old_file));
530 spin_unlock(&d_inode(old_file)->i_lock);
/linux-master/fs/cachefiles/
H A Dinterface.c388 struct file *new_file, *old_file; local
409 old_file = object->file;
421 if (old_file) {
428 old_file->f_path.dentry,
431 fput(old_file);
/linux-master/fs/overlayfs/
H A Dcopy_up.c250 struct file *old_file; local
264 old_file = ovl_path_open(&datapath, O_LARGEFILE | O_RDONLY);
265 if (IS_ERR(old_file))
266 return PTR_ERR(old_file);
269 cloned = vfs_clone_file_range(old_file, 0, new_file, 0, len, 0);
274 error = rw_verify_area(READ, old_file, &old_pos, len);
281 if (old_file->f_mode & FMODE_LSEEK)
317 data_pos = vfs_llseek(old_file, old_pos, SEEK_DATA);
334 bytes = do_splice_direct(old_file, &old_pos,
348 fput(old_file);
[all...]
/linux-master/drivers/block/
H A Dloop.c565 struct file *old_file; local
593 old_file = lo->lo_backing_file;
598 if (get_loop_size(lo, file) != get_loop_size(lo, old_file))
604 mapping_set_gfp_mask(old_file->f_mapping, lo->old_gfp_mask);
616 * might be pointing at old_file which might be the last reference.
627 fput(old_file);

Completed in 115 milliseconds