Home
last modified time | relevance | path

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

/Linux-v5.15/fs/overlayfs/
Dcopy_up.c177 struct file *new_file; in ovl_copy_up_data() local
193 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data()
194 if (IS_ERR(new_file)) { in ovl_copy_up_data()
195 error = PTR_ERR(new_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()
253 new_file, &new_pos, in ovl_copy_up_data()
265 error = vfs_fsync(new_file, 0); in ovl_copy_up_data()
266 fput(new_file); in ovl_copy_up_data()
/Linux-v5.15/fs/notify/fanotify/
Dfanotify_user.c223 struct file *new_file; in create_fd() local
233 new_file = dentry_open(path, in create_fd()
236 if (IS_ERR(new_file)) { in create_fd()
245 client_fd = PTR_ERR(new_file); in create_fd()
247 *file = new_file; in create_fd()
/Linux-v5.15/drivers/infiniband/core/
Ducma.c1598 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument
1643 ctx->file = new_file; in ucma_migrate_id()
1658 mutex_lock(&new_file->mut); in ucma_migrate_id()
1659 list_add_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1660 list_splice_tail(&event_list, &new_file->event_list); in ucma_migrate_id()
1661 mutex_unlock(&new_file->mut); in ucma_migrate_id()