Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/scripts/contrib/
H A Dconvert-spdx-licenses.py104 with os.fdopen(fh, 'w') as new_file:
108 new_file.write(line)
116 new_file.write(line)
117 new_file.close()
H A Dconvert-variable-renames.py67 with os.fdopen(fh, 'w') as new_file:
86 new_file.write(line)
87 new_file.close()
H A Dconvert-srcuri.py32 with os.fdopen(fh, 'w') as new_file:
49 new_file.write(line)
H A Dconvert-overrides.py107 with os.fdopen(fh, 'w') as new_file:
129 new_file.write(line)
/openbmc/openbmc/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs/
H A De2fsprogs-fix-missing-check-for-permission-denied.patch26 *last = new_file;
27 last = &new_file->next;
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dvvfat468 new_file = fat16.create_file("/NEWFILE.TXT")
470 self.assertIsNotNone(new_file)
471 self.assertEqual(new_file.size_bytes, 0)
474 fat16.write_file(new_file, new_content)
475 self.assertEqual(fat16.read_file(new_file), new_content)
/openbmc/linux/fs/overlayfs/
H A 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()
/openbmc/linux/fs/cachefiles/
H A 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()
H A Dnamei.c636 goto new_file; in cachefiles_look_up_object()
650 goto new_file; in cachefiles_look_up_object()
661 new_file: in cachefiles_look_up_object()
/openbmc/qemu/tests/qtest/
H A Dvirtio-9p-test.c559 g_autofree char *new_file = virtio_9p_test_path("03/1st_file"); in fs_create_file() local
566 g_assert(stat(new_file, &st) == 0); in fs_create_file()
576 g_autofree char *new_file = virtio_9p_test_path("04/doa_file"); in fs_unlinkat_file() local
583 g_assert(stat(new_file, &st) == 0); in fs_unlinkat_file()
589 g_assert(stat(new_file, &st) != 0); in fs_unlinkat_file()
/openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/
H A D__init__.py325 new_file = re.sub(r"\.dpkg-new", "", file)
326 if file != new_file:
328 os.path.join(root, new_file))
/openbmc/linux/fs/notify/fanotify/
H A 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()
/openbmc/linux/drivers/infiniband/core/
H A 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()
/openbmc/qemu/block/
H A Dvvfat.c1593 struct { uint32_t first_cluster; } new_file; member
1642 commit->param.new_file.first_cluster = first_cluster; in schedule_new_file()
2804 int begin = commit->param.new_file.first_cluster; in handle_commits()