Searched refs:new_file (Results 1 – 3 of 3) sorted by relevance
87 struct file *new_file; in ovl_copy_up_data() local99 new_file = ovl_path_open(new, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data()100 if (IS_ERR(new_file)) { in ovl_copy_up_data()101 error = PTR_ERR(new_file); in ovl_copy_up_data()119 new_file, &new_pos, in ovl_copy_up_data()130 fput(new_file); in ovl_copy_up_data()
77 struct file *new_file; in create_fd() local92 new_file = dentry_open(&event->path, in create_fd()96 new_file = ERR_PTR(-EOVERFLOW); in create_fd()97 if (IS_ERR(new_file)) { in create_fd()106 client_fd = PTR_ERR(new_file); in create_fd()108 *file = new_file; in create_fd()
1484 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument1511 if (cur_file == new_file) { in ucma_migrate_id()1520 ucma_lock_files(cur_file, new_file); in ucma_migrate_id()1523 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()1524 ucma_move_events(ctx, new_file); in ucma_migrate_id()1525 ctx->file = new_file; in ucma_migrate_id()1529 ucma_unlock_files(cur_file, new_file); in ucma_migrate_id()