Home
last modified time | relevance | path

Searched refs:ent_type (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/sys/geom/part/
H A Dg_part_apm.c207 bcopy(buf + 48, ent->ent_type, sizeof(ent->ent_type)); in apm_read_ent()
227 bzero(entry->ent.ent_type, sizeof(entry->ent.ent_type)); in g_part_apm_add()
231 sizeof(entry->ent.ent_type)); in g_part_apm_add()
281 strcpy(table->self.ent_type, APM_ENT_TYPE_SELF); in g_part_apm_create()
349 sizeof(entry->ent.ent_type)); in g_part_apm_modify()
475 if (!strcmp(ent.ent_type, APM_ENT_TYPE_UNUSED)) in g_part_apm_read()
494 type = entry->ent.ent_type; in g_part_apm_type()
514 len = MIN(sizeof(entry->ent.ent_type), bufsz - 2); in g_part_apm_type()
562 bcopy(table->self.ent_type, buf + 48, sizeof(table->self.ent_type)); in g_part_apm_write()
576 bcopy(entry->ent.ent_type, ptr + 48, in g_part_apm_write()
[all …]
H A Dg_part_gpt.c404 if (!EQUUID(&entry->ent.ent_type, &gpt_uuid_efi)) in gpt_update_bootcamp()
410 if (!EQUUID(&entry->ent.ent_type, &gpt_uuid_apple_hfs)) in gpt_update_bootcamp()
416 typ = gpt_map_type(&entry->ent.ent_type); in gpt_update_bootcamp()
584 le_uuid_dec(p, &ent->ent_type); in gpt_read_tbl()
650 error = gpt_parse_type(gpp->gpp_type, &entry->ent.ent_type); in g_part_gpt_add()
751 sbuf_printf_uuid(sb, &entry->ent.ent_type); in g_part_gpt_dumpconf()
769 sbuf_printf_uuid(sb, &entry->ent.ent_type); in g_part_gpt_dumpconf()
792 EQUUID(&entry->ent.ent_type, &gpt_uuid_linux_swap) || in g_part_gpt_dumpto()
1031 if (EQUUID(&tbl[index].ent_type, &gpt_uuid_unused)) in g_part_gpt_read()
1166 type = &entry->ent.ent_type; in g_part_gpt_type()
[all …]
H A Dg_part_ldm.c1236 if (memcmp(&part->ent_type, in ldm_gpt_probe()
/freebsd-13.1/usr.bin/mkimg/
H A Dapm.c84 strncpy(ent->ent_type, APM_ENT_TYPE_SELF, sizeof(ent->ent_type)); in apm_write()
93 strncpy(ent->ent_type, ALIAS_TYPE2PTR(part->type), in apm_write()
94 sizeof(ent->ent_type)); in apm_write()
H A Dgpt.c193 mkimg_uuid_enc(&ent->ent_type, ALIAS_TYPE2PTR(part->type)); in gpt_mktbl()
/freebsd-13.1/stand/libsa/
H A Dgpt.c105 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) { in gptfind()
127 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) in gptfind()
141 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) in gptfind()
157 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) in gptfind()
/freebsd-13.1/sys/sys/disk/
H A Dapm.h54 char ent_type[APM_ENT_TYPELEN]; member
H A Dgpt.h88 gpt_uuid_t ent_type; member
/freebsd-13.1/stand/common/
H A Dpart.c223 uuid_letoh(&ent->ent_type); in gpt_checktbl()
224 if (uuid_equal(&ent->ent_type, &gpt_uuid_unused, NULL)) in gpt_checktbl()
330 if (uuid_equal(&ent->ent_type, &gpt_uuid_unused, NULL)) in ptable_gptread()
345 entry->part.type = gpt_parttype(ent->ent_type); in ptable_gptread()
347 memcpy(&entry->type.gpt, &ent->ent_type, sizeof(uuid_t)); in ptable_gptread()