Searched refs:root_path (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | imageboot.h | 33 int imageboot_format_is_valid(const char *root_path); 34 int imageboot_mount_image(const char *root_path, int height);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | imageboot.c | 61 imageboot_format_is_valid(const char *root_path) argument 63 return (strncmp(root_path, kIBFilePrefix, 79 char *root_path = NULL; local 83 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK); 84 if (root_path == NULL) 88 if (!(PE_parse_boot_argn("rp0", root_path, MAXPATHLEN) || 89 PE_parse_boot_argn("rp", root_path, MAXPATHLEN) || 90 PE_parse_boot_argn(IMAGEBOOT_ROOT_ARG, root_path, MAXPATHLEN))) { 95 if (imageboot_format_is_valid(root_path)) { 96 DBG_TRACE("%s: Found %s\n", __FUNCTION__, root_path); 132 imageboot_mount_image(const char *root_path, int height) argument 209 char *root_path = NULL; local 252 char *root_path = NULL; local [all...] |
H A D | netboot.c | 273 get_root_path(char * root_path) argument 307 memcpy(root_path, path, len); 308 root_path[len] = '\0'; 331 char * root_path = NULL; local 339 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK); 340 if (root_path == NULL) 342 if (PE_parse_boot_argn("rp0", root_path, MAXPATHLEN) == TRUE 343 || PE_parse_boot_argn("rp", root_path, MAXPATHLEN) == TRUE 344 || PE_parse_boot_argn("rootpath", root_path, MAXPATHLEN) == TRUE) { 345 if (imageboot_format_is_valid(root_path)) { [all...] |
Completed in 17 milliseconds