Searched refs:image_path (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.41.6/tests/vfs/ |
| H A D | getattrlist_mountextflags.c | 57 static char image_path[PATH_MAX]; variable 160 if (image_path[0] != '\0') { in cleanup() 161 unlink(image_path); in cleanup() 220 image_path[0] = mount_path[0] = disk[0] = '\0'; 233 snprintf(image_path, sizeof(image_path), "%s/msdos.dmg", testdir); 236 snprintf(args, sizeof(args), "diskimagetool create -fs none -s 1m %s", image_path); 237 T_ASSERT_POSIX_SUCCESS(do_exec(args), "Creating disk image %s", image_path); 240 snprintf(args, sizeof(args), "diskimagetool attach --external %s", image_path); 241 T_ASSERT_POSIX_SUCCESS(do_exec(args), "Attaching disk image %s", image_path);
|
| /xnu-12377.41.6/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() 212 char * * mount_dir, char * * image_path) in parse_netboot_path() 239 *image_path = NULL; in parse_netboot_path() 245 *image_path = start; in parse_netboot_path() 253 char * * mount_dir, char * * image_path) in parse_image_path() 257 image_path); in parse_image_path() 260 image_path); in parse_image_path() [all …]
|
| H A D | imageboot.c | 200 imageboot_pivot_image(const char *image_path, imageboot_type_t type, const char *mount_path, in imageboot_pivot_image() argument 219 error = vnode_lookup(image_path, 0, &imagevp, vfs_context_kernel()); in imageboot_pivot_image() 248 error = imageboot_read_file_pageable(image_path, &buf, &bufsz, /* no_softlimit */ true); in imageboot_pivot_image() 258 error = di_root_image_ext(image_path, devname, DEVMAXNAMESIZE, &dev, true); in imageboot_pivot_image() 264 printf("%s: attached disk image %s as %s\n", __FUNCTION__, image_path, devname); in imageboot_pivot_image() 269 error = authenticate_root_with_chunklist(image_path, NULL); in imageboot_pivot_image() 275 printf("failed to chunklist-authenticate root-dmg @ %s\n", image_path); in imageboot_pivot_image()
|
| /xnu-12377.41.6/tests/vm/ |
| H A D | test_vm_no_pager_helper.c | 149 disk_image_attach(const char* image_path, const char* mount_point) in disk_image_attach() argument 151 return exec_cmd("diskutil image attach --mountPoint \"%s\" %s", mount_point, image_path); in disk_image_attach() 370 create_disk_image(const char* image_path, const char* volume_name, bool use_gpt, char* device_name_… in create_disk_image() argument 378 …k --size 10m --volumeName %s %s", volume_name, image_path), "Image creation at `%s` failed\n", ima… in create_disk_image() 381 …-noMount %s | head -1 | awk {'print $1'}", image_path), "Attaching image (nomount) at %s failed\n"… in create_disk_image()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | imageboot.h | 44 int imageboot_pivot_image(const char *image_path, imageboot_type_t type, const char *mount_path,
|