Searched refs:image_path (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215/tests/vfs/ |
| H A D | getattrlist_mountextflags.c | 50 static char image_path[PATH_MAX]; variable 153 if (image_path[0] != '\0') { in cleanup() 154 unlink(image_path); in cleanup() 213 image_path[0] = mount_path[0] = disk[0] = '\0'; 225 snprintf(image_path, sizeof(image_path), "%s/msdos.dmg", testdir); 228 snprintf(args, sizeof(args), "diskimagetool create -fs none -s 1m %s", image_path); 229 T_ASSERT_POSIX_SUCCESS(do_exec(args), "Creating disk image %s", image_path); 232 snprintf(args, sizeof(args), "diskimagetool attach --external %s", image_path); 233 T_ASSERT_POSIX_SUCCESS(do_exec(args), "Attaching disk image %s", image_path);
|
| /xnu-11215/bsd/kern/ |
| H A D | netboot.c | 104 char * image_path; member 125 char * * mount_dir, char * * image_path) in parse_booter_path() 155 *image_path = NULL; in parse_booter_path() 160 *image_path = start; in parse_booter_path() 239 *image_path = NULL; in parse_netboot_path() 245 *image_path = start; in parse_netboot_path() 257 image_path); in parse_image_path() 260 image_path); in parse_image_path() 345 char * image_path = NULL; in netboot_info_init() local 349 &mount_point, &image_path)) { in netboot_info_init() [all …]
|
| H A D | imageboot.c | 199 imageboot_pivot_image(const char *image_path, imageboot_type_t type, const char *mount_path, in imageboot_pivot_image() argument 218 error = vnode_lookup(image_path, 0, &imagevp, vfs_context_kernel()); in imageboot_pivot_image() 239 error = di_root_image_ext(image_path, devname, DEVMAXNAMESIZE, &dev, true); in imageboot_pivot_image() 244 printf("%s: attached disk image %s as %s\n", __FUNCTION__, image_path, devname); in imageboot_pivot_image() 249 error = authenticate_root_with_chunklist(image_path, NULL); in imageboot_pivot_image() 255 printf("failed to chunklist-authenticate root-dmg @ %s\n", image_path); in imageboot_pivot_image()
|
| /xnu-11215/tests/vm/ |
| H A D | test_vm_no_pager_helper.c | 148 disk_image_attach(const char* image_path, const char* mount_point) in disk_image_attach() argument 150 return exec_cmd("diskutil image attach --mountPoint \"%s\" %s", mount_point, image_path); in disk_image_attach() 281 create_disk_image(const char* image_path, const char* volume_name, bool use_gpt, char* device_name_… in create_disk_image() argument 289 …k --size 10m --volumeName %s %s", volume_name, image_path), "Image creation at `%s` failed\n", ima… in create_disk_image() 292 …-noMount %s | head -1 | awk {'print $1'}", image_path), "Attaching image (nomount) at %s failed\n"… in create_disk_image()
|
| /xnu-11215/bsd/sys/ |
| H A D | imageboot.h | 44 int imageboot_pivot_image(const char *image_path, imageboot_type_t type, const char *mount_path,
|