Searched refs:new_file (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/overlayfs/ |
| H A D | copy_up.c | 247 struct file *new_file; in ovl_sync_file() local 250 new_file = ovl_path_open(path, O_LARGEFILE | O_RDONLY); in ovl_sync_file() 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() 261 struct file *new_file, loff_t len, in ovl_copy_up_file() argument 284 cloned = vfs_clone_file_range(old_file, 0, new_file, 0, len, 0); in ovl_copy_up_file() 291 error = rw_verify_area(WRITE, new_file, &new_pos, len); in ovl_copy_up_file() 350 new_file, &new_pos, in ovl_copy_up_file() [all …]
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | test_common.sh | 41 local new_file 46 new_file=$(mktemp ublk_file_"${new_size}"_XXXXX) 47 truncate -s "${new_size}" "${new_file}" 48 UBLK_BACKFILES["$index"]="$new_file"
|
| /linux/tools/docs/ |
| H A D | checktransupdate.py | 289 new_file = os.sep.join(new_path_parts) 290 if os.path.isfile(new_file): 291 files.append(new_file)
|
| /linux/drivers/infiniband/core/ |
| H A D | ucma.c | 1678 static ssize_t ucma_migrate_id(struct ucma_file *new_file, in ucma_migrate_id() argument 1718 ctx->file = new_file; in ucma_migrate_id() 1733 mutex_lock(&new_file->mut); in ucma_migrate_id() 1734 list_add_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id() 1735 list_splice_tail(&event_list, &new_file->event_list); in ucma_migrate_id() 1736 mutex_unlock(&new_file->mut); in ucma_migrate_id()
|