Home
last modified time | relevance | path

Searched refs:drivename (Results 1 – 3 of 3) sorted by relevance

/external/syslinux/com32/chain/
Dchain.c284 if (!strncmp(opt.drivename, "mbr", 3)) { in find_dp()
285 if (find_by_sig(strtoul(opt.drivename + 4, NULL, 0), &iter) < 0) { in find_dp()
289 } else if (!strncmp(opt.drivename, "guid", 4)) { in find_dp()
290 if (str_to_guid(opt.drivename + 5, &gpt_guid)) in find_dp()
296 } else if (!strncmp(opt.drivename, "label", 5)) { in find_dp()
297 if (!opt.drivename[6]) { in find_dp()
301 if (find_by_label(opt.drivename + 6, &iter) < 0) { in find_dp()
305 } else if ((opt.drivename[0] == 'h' || opt.drivename[0] == 'f') && in find_dp()
306 opt.drivename[1] == 'd') { in find_dp()
307 hd = opt.drivename[0] == 'h' ? 0x80 : 0; in find_dp()
[all …]
Doptions.c179 opt.drivename = "boot"; in opt_set_defs()
388 opt.drivename = argv[i]; in opt_parse_args()
390 p = strchr(opt.drivename, ','); in opt_parse_args()
Doptions.h41 const char *drivename; member