Lines Matching defs:image_path
112 char * image_path;
123 * "<IP>:<host>:<mount>[:<image_path>]"
124 * into the given ip address, host, mount point, and optionally, image_path.
133 char * * mount_dir, char * * image_path)
163 *image_path = NULL;
169 *image_path = start;
208 * "nfs:<IP>:<mount>[:<image_path>]"
209 * into the given ip address, host, mount point, and optionally, image_path.
220 char * * mount_dir, char * * image_path)
247 *image_path = NULL;
254 *image_path = start;
262 char * * mount_dir, char * * image_path)
266 image_path));
269 image_path));
359 char * image_path = NULL;
363 &mount_point, &image_path)) {
375 if (image_path != NULL) {
378 info->image_path_length = strlen(image_path) + 1;
379 if (image_path[0] != '/') {
383 info->image_path = (char *)kalloc(info->image_path_length);
385 info->image_path[0] = '/';
386 strlcpy(info->image_path + 1, image_path,
389 strlcpy(info->image_path, image_path,
392 printf(" Image %s", info->image_path);
399 save_path(&info->image_path, &info->image_path_length,
401 printf("netboot: HTTP URL %s\n", info->image_path);
408 if (info->image_path != NULL) {
436 if (info->image_path) {
437 kfree(info->image_path, info->image_path_length);
749 || S_netboot_info_p->image_path == NULL) {
753 error = imageboot_mount_image(S_netboot_info_p->image_path, -1);