Searched refs:new_file (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/overlayfs/ |
D | copy_up.c | 125 struct file *new_file; in ovl_copy_up_data() local 137 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data() 138 if (IS_ERR(new_file)) { in ovl_copy_up_data() 139 error = PTR_ERR(new_file); in ovl_copy_up_data() 144 error = do_clone_file_range(old_file, 0, new_file, 0, len); in ovl_copy_up_data() 164 new_file, &new_pos, in ovl_copy_up_data() 176 error = vfs_fsync(new_file, 0); in ovl_copy_up_data() 177 fput(new_file); in ovl_copy_up_data()
|
/Linux-v4.19/fs/notify/fanotify/ |
D | fanotify_user.c | 80 struct file *new_file; in create_fd() local 95 new_file = dentry_open(&event->path, in create_fd() 99 new_file = ERR_PTR(-EOVERFLOW); in create_fd() 100 if (IS_ERR(new_file)) { in create_fd() 109 client_fd = PTR_ERR(new_file); in create_fd() 111 *file = new_file; in create_fd()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | ucma.c | 1570 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument 1601 if (cur_file == new_file) { in ucma_migrate_id() 1610 ucma_lock_files(cur_file, new_file); in ucma_migrate_id() 1613 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id() 1614 ucma_move_events(ctx, new_file); in ucma_migrate_id() 1615 ctx->file = new_file; in ucma_migrate_id() 1619 ucma_unlock_files(cur_file, new_file); in ucma_migrate_id()
|