Home
last modified time | relevance | path

Searched refs:gp_type (Results 1 – 14 of 14) sorted by relevance

/openbsd/src/sbin/fdisk/
Dcmd.c130 oldtype = gp[pn].gp_type; in gedit()
135 if (uuid_is_nil(&gp[pn].gp_type, NULL)) { in gedit()
303 if (PRT_protected_uuid(&gp[pn].gp_type)) { in gsetpid()
305 PRT_uuid_to_desc(&gp[pn].gp_type)); in gsetpid()
309 is_nil = uuid_is_nil(&gp[pn].gp_type, NULL); in gsetpid()
310 gp[pn].gp_type = *ask_uuid(&gp[pn].gp_type); in gsetpid()
311 if (PRT_protected_uuid(&gp[pn].gp_type) && is_nil == 0) { in gsetpid()
313 PRT_uuid_to_desc(&gp[pn].gp_type)); in gsetpid()
Dgpt.c294 uuid_dec_le(&legp[pn].gp_type, &gp[pn].gp_type); in get_partition_table()
417 if (uuid_is_nil(&gp[pn].gp_type, NULL)) in GPT_print()
448 PRT_uuid_to_desc(&gp[pn].gp_type), start, size, ut->ut_abbr); in GPT_print_part()
479 if (uuid_is_nil(&gp[pn].gp_type, NULL) == 0) { in GPT_print_part()
497 if (uuid_compare(&gp[pn].gp_type, &uuid, NULL) == 0) in find_partition()
514 if (uuid_is_nil(&gp[pn].gp_type, NULL)) in add_partition()
539 gp[pn].gp_type = uuid; in add_partition()
615 if (PRT_protected_uuid(&gp[pn].gp_type) || in init_gp()
722 uuid_enc_le(&legp[pn].gp_type, &gp[pn].gp_type); in GPT_write()
Dpart.c945 gt = find_gpt_type(&gp[pn].gp_type); in PRT_protected_uuid()
/openbsd/src/sys/sys/
Ddisklabel.h377 struct uuid gp_type; /* partition type GUID */ member
/openbsd/src/sys/arch/riscv64/stand/efiboot/
Defidev.c358 if (memcmp(&gp.gp_type, openbsd_uuid, in findopenbsd_gpt()
Dsoftraid_riscv64.c514 if (memcmp(&gp.gp_type, openbsd_uuid, in findopenbsd_gpt()
/openbsd/src/sys/arch/armv7/stand/efiboot/
Defidev.c358 if (memcmp(&gp.gp_type, openbsd_uuid, in findopenbsd_gpt()
/openbsd/src/usr.sbin/installboot/
Defi_installboot.c548 if (memcmp(&gp[i].gp_type, &efisys_uuid, in findgptefisys()
Di386_installboot.c680 if (memcmp(&gp[i].gp_type, &efisys_uuid, in findgptefisys()
/openbsd/src/sys/arch/amd64/stand/libsa/
Dsoftraid_amd64.c522 if (memcmp(&gp.gp_type, openbsd_uuid, in findopenbsd_gpt()
/openbsd/src/sys/arch/arm64/stand/efiboot/
Defidev.c358 if (memcmp(&gp.gp_type, openbsd_uuid, in findopenbsd_gpt()
Dsoftraid_arm64.c514 if (memcmp(&gp.gp_type, openbsd_uuid, in findopenbsd_gpt()
/openbsd/src/sys/arch/amd64/stand/efiboot/
Defidev.c368 if (memcmp(&gp.gp_type, openbsd_uuid, in findopenbsd_gpt()
/openbsd/src/sys/kern/
Dsubr_disk.c659 uuid_dec_le(&gp[i].gp_type, &gptype); in spoofgpt()