Searched refs:new_file (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/fs/overlayfs/ |
| D | copy_up.c | 122 struct file *new_file; in ovl_copy_up_data() local 135 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data() 136 if (IS_ERR(new_file)) { in ovl_copy_up_data() 137 error = PTR_ERR(new_file); in ovl_copy_up_data() 142 cloned = do_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_data() 161 new_file, &new_pos, in ovl_copy_up_data() 173 error = vfs_fsync(new_file, 0); in ovl_copy_up_data() 174 fput(new_file); in ovl_copy_up_data()
|
| /Linux-v5.4/fs/notify/fanotify/ |
| D | fanotify_user.c | 104 struct file *new_file; in create_fd() local 119 new_file = dentry_open(&event->path, in create_fd() 123 new_file = ERR_PTR(-EOVERFLOW); in create_fd() 124 if (IS_ERR(new_file)) { in create_fd() 133 client_fd = PTR_ERR(new_file); in create_fd() 135 *file = new_file; in create_fd()
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | ucma.c | 1565 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument 1596 if (cur_file == new_file) { in ucma_migrate_id() 1605 ucma_lock_files(cur_file, new_file); in ucma_migrate_id() 1608 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id() 1609 ucma_move_events(ctx, new_file); in ucma_migrate_id() 1610 ctx->file = new_file; in ucma_migrate_id() 1614 ucma_unlock_files(cur_file, new_file); in ucma_migrate_id()
|