Home
last modified time | relevance | path

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

/Linux-v6.6/fs/overlayfs/
Dcopy_up.c234 struct file *new_file, loff_t len) in ovl_copy_up_file() argument
255 cloned = do_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_file()
307 new_file, &new_pos, in ovl_copy_up_file()
318 error = vfs_fsync(new_file, 0); in ovl_copy_up_file()
594 struct file *new_file; in ovl_copy_up_data() local
600 new_file = ovl_path_open(temp, O_LARGEFILE | O_WRONLY); in ovl_copy_up_data()
601 if (IS_ERR(new_file)) in ovl_copy_up_data()
602 return PTR_ERR(new_file); in ovl_copy_up_data()
604 err = ovl_copy_up_file(ofs, c->dentry, new_file, c->stat.size); in ovl_copy_up_data()
605 fput(new_file); in ovl_copy_up_data()
/Linux-v6.6/fs/cachefiles/
Dinterface.c383 struct file *new_file, *old_file; in cachefiles_invalidate_cookie() local
396 new_file = cachefiles_create_tmpfile(object); in cachefiles_invalidate_cookie()
397 if (IS_ERR(new_file)) in cachefiles_invalidate_cookie()
405 object->file = new_file; in cachefiles_invalidate_cookie()
Dnamei.c639 goto new_file; in cachefiles_look_up_object()
653 goto new_file; in cachefiles_look_up_object()
662 new_file: in cachefiles_look_up_object()
/Linux-v6.6/fs/notify/fanotify/
Dfanotify_user.c256 struct file *new_file; in create_fd() local
266 new_file = dentry_open(path, in create_fd()
269 if (IS_ERR(new_file)) { in create_fd()
278 client_fd = PTR_ERR(new_file); in create_fd()
280 *file = new_file; in create_fd()
/Linux-v6.6/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()