Home
last modified time | relevance | path

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

/Linux-v5.10/fs/overlayfs/
Dcopy_up.c136 struct file *new_file; in ovl_copy_up_data() local
152 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data()
153 if (IS_ERR(new_file)) { in ovl_copy_up_data()
154 error = PTR_ERR(new_file); in ovl_copy_up_data()
159 cloned = do_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_data()
212 new_file, &new_pos, in ovl_copy_up_data()
224 error = vfs_fsync(new_file, 0); in ovl_copy_up_data()
225 fput(new_file); in ovl_copy_up_data()
/Linux-v5.10/fs/notify/fanotify/
Dfanotify_user.c132 struct file *new_file; in create_fd() local
142 new_file = dentry_open(path, in create_fd()
145 if (IS_ERR(new_file)) { in create_fd()
154 client_fd = PTR_ERR(new_file); in create_fd()
156 *file = new_file; in create_fd()
/Linux-v5.10/drivers/infiniband/core/
Ducma.c1590 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument
1635 ctx->file = new_file; in ucma_migrate_id()
1650 mutex_lock(&new_file->mut); in ucma_migrate_id()
1651 list_add_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1652 list_splice_tail(&event_list, &new_file->event_list); in ucma_migrate_id()
1653 mutex_unlock(&new_file->mut); in ucma_migrate_id()