Home
last modified time | relevance | path

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

/linux-6.12.1/fs/overlayfs/
Dcopy_up.c248 struct file *new_file; in ovl_sync_file() local
251 new_file = ovl_path_open(path, O_LARGEFILE | O_RDONLY); in ovl_sync_file()
252 if (IS_ERR(new_file)) in ovl_sync_file()
253 return PTR_ERR(new_file); in ovl_sync_file()
255 err = vfs_fsync(new_file, 0); in ovl_sync_file()
256 fput(new_file); in ovl_sync_file()
262 struct file *new_file, loff_t len, in ovl_copy_up_file() argument
285 cloned = vfs_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_file()
292 error = rw_verify_area(WRITE, new_file, &new_pos, len); in ovl_copy_up_file()
351 new_file, &new_pos, in ovl_copy_up_file()
[all …]
/linux-6.12.1/scripts/
Dchecktransupdate.py253 new_file = os.sep.join(new_path_parts)
254 if os.path.isfile(new_file):
255 files.append(new_file)
/linux-6.12.1/fs/cachefiles/
Dinterface.c388 struct file *new_file, *old_file; in cachefiles_invalidate_cookie() local
401 new_file = cachefiles_create_tmpfile(object); in cachefiles_invalidate_cookie()
402 if (IS_ERR(new_file)) in cachefiles_invalidate_cookie()
410 object->file = new_file; in cachefiles_invalidate_cookie()
Dnamei.c637 goto new_file; in cachefiles_look_up_object()
651 goto new_file; in cachefiles_look_up_object()
662 new_file: in cachefiles_look_up_object()
/linux-6.12.1/fs/notify/fanotify/
Dfanotify_user.c255 struct file *new_file; in create_fd() local
265 new_file = dentry_open(path, in create_fd()
268 if (IS_ERR(new_file)) { in create_fd()
277 client_fd = PTR_ERR(new_file); in create_fd()
279 *file = new_file; in create_fd()
/linux-6.12.1/drivers/infiniband/core/
Ducma.c1609 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument
1654 ctx->file = new_file; in ucma_migrate_id()
1669 mutex_lock(&new_file->mut); in ucma_migrate_id()
1670 list_add_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1671 list_splice_tail(&event_list, &new_file->event_list); in ucma_migrate_id()
1672 mutex_unlock(&new_file->mut); in ucma_migrate_id()