Lines Matching refs:drivename
284 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()
308 opt.drivename += 2; in find_dp()
309 drive = hd | strtol(opt.drivename, NULL, 0); in find_dp()
317 } else if (!strcmp(opt.drivename, "boot") || !strcmp(opt.drivename, "fs")) { in find_dp()
338 if (!strcmp(opt.drivename, "fs")) { in find_dp()