Home
last modified time | relevance | path

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

/linux-6.15/fs/overlayfs/
H A Dcopy_up.c247 struct file *new_file; in ovl_sync_file() local
251 if (IS_ERR(new_file)) in ovl_sync_file()
252 return PTR_ERR(new_file); in ovl_sync_file()
254 err = vfs_fsync(new_file, 0); in ovl_sync_file()
255 fput(new_file); in ovl_sync_file()
350 new_file, &new_pos, in ovl_copy_up_file()
362 error = vfs_fsync(new_file, 0); in ovl_copy_up_file()
644 struct file *new_file; in ovl_copy_up_data() local
651 if (IS_ERR(new_file)) in ovl_copy_up_data()
652 return PTR_ERR(new_file); in ovl_copy_up_data()
[all …]
/linux-6.15/tools/testing/selftests/ublk/
H A Dtest_common.sh36 local new_file
41 new_file=$(mktemp ublk_file_"${new_size}"_XXXXX)
42 truncate -s "${new_size}" "${new_file}"
43 UBLK_BACKFILES["$index"]="$new_file"
/linux-6.15/scripts/
H A Dchecktransupdate.py253 new_file = os.sep.join(new_path_parts)
254 if os.path.isfile(new_file):
255 files.append(new_file)
/linux-6.15/fs/cachefiles/
H A Dinterface.c394 struct file *new_file, *old_file; in cachefiles_invalidate_cookie() local
407 new_file = cachefiles_create_tmpfile(object); in cachefiles_invalidate_cookie()
408 if (IS_ERR(new_file)) in cachefiles_invalidate_cookie()
416 object->file = new_file; in cachefiles_invalidate_cookie()
H A Dnamei.c640 goto new_file; in cachefiles_look_up_object()
654 goto new_file; in cachefiles_look_up_object()
665 new_file: in cachefiles_look_up_object()
/linux-6.15/fs/notify/fanotify/
H A Dfanotify_user.c260 struct file *new_file; in create_fd() local
270 new_file = dentry_open_nonotify(path, group->fanotify_data.f_flags, in create_fd()
272 if (IS_ERR(new_file)) { in create_fd()
274 client_fd = PTR_ERR(new_file); in create_fd()
276 *file = new_file; in create_fd()
/linux-6.15/drivers/infiniband/core/
H A Ducma.c1611 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument
1651 ctx->file = new_file; in ucma_migrate_id()
1666 mutex_lock(&new_file->mut); in ucma_migrate_id()
1667 list_add_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1668 list_splice_tail(&event_list, &new_file->event_list); in ucma_migrate_id()
1669 mutex_unlock(&new_file->mut); in ucma_migrate_id()