Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/overlayfs/
Dcopy_up.c137 struct file *new_file; in ovl_copy_up_data() local
153 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data()
154 if (IS_ERR(new_file)) { in ovl_copy_up_data()
155 error = PTR_ERR(new_file); in ovl_copy_up_data()
160 cloned = do_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_data()
213 new_file, &new_pos, in ovl_copy_up_data()
225 error = vfs_fsync(new_file, 0); in ovl_copy_up_data()
226 fput(new_file); in ovl_copy_up_data()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ducma.c1610 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument
1655 ctx->file = new_file; in ucma_migrate_id()
1670 mutex_lock(&new_file->mut); in ucma_migrate_id()
1671 list_add_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1672 list_splice_tail(&event_list, &new_file->event_list); in ucma_migrate_id()
1673 mutex_unlock(&new_file->mut); in ucma_migrate_id()