Lines Matching defs:bootpath
92 read_boot(gpt_t gpt, const char *bootpath)
102 if (bootpath == NULL)
104 else if (*bootpath == '/')
105 bp = strdup(bootpath);
107 if (asprintf(&bp, "%s/%s", DEFAULT_BOOTDIR, bootpath) < 0)
112 gpt_warn(gpt, "Can't allocate memory for bootpath");
171 const char *bootpath, int active)
196 if ((bootcode = read_boot(gpt, bootpath)) == NULL) {
275 char *bootpath = NULL;
283 if (gpt_name_get(gpt, &bootpath) == -1)
320 if (biosboot(ngpt, start, size, entry, label, bootpath, active) == -1)
330 free(bootpath);