| /src/sys/geom/part/ |
| H A D | g_part_apm.c | 205 bcopy(buf + 48, ent->ent_type, sizeof(ent->ent_type)); in apm_read_ent() 225 bzero(entry->ent.ent_type, sizeof(entry->ent.ent_type)); in g_part_apm_add() 228 error = apm_parse_type(gpp->gpp_type, entry->ent.ent_type, in g_part_apm_add() 229 sizeof(entry->ent.ent_type)); in g_part_apm_add() 279 strcpy(table->self.ent_type, APM_ENT_TYPE_SELF); in g_part_apm_create() 305 sbuf_printf(sb, " xs APPLE xt %s", entry->ent.ent_type); in g_part_apm_dumpconf() 313 strncpy(u.type, entry->ent.ent_type, APM_ENT_TYPELEN); in g_part_apm_dumpconf() 329 return ((!strcmp(entry->ent.ent_type, APM_ENT_TYPE_FREEBSD_SWAP)) in g_part_apm_dumpto() 346 error = apm_parse_type(gpp->gpp_type, entry->ent.ent_type, in g_part_apm_modify() 347 sizeof(entry->ent.ent_type)); in g_part_apm_modify() [all …]
|
| H A D | g_part_gpt.c | 408 if (!EQUUID(&entry->ent.ent_type, &gpt_uuid_efi)) in gpt_update_bootcamp() 414 if (!EQUUID(&entry->ent.ent_type, &gpt_uuid_apple_hfs)) in gpt_update_bootcamp() 420 typ = gpt_map_type(&entry->ent.ent_type); in gpt_update_bootcamp() 593 le_uuid_dec(p, &ent->ent_type); in gpt_read_tbl() 659 error = gpt_parse_type(gpp->gpp_type, &entry->ent.ent_type); in g_part_gpt_add() 769 sbuf_printf_uuid(sb, &entry->ent.ent_type); in g_part_gpt_dumpconf() 787 sbuf_printf_uuid(sb, &entry->ent.ent_type); in g_part_gpt_dumpconf() 806 return ((EQUUID(&entry->ent.ent_type, &gpt_uuid_freebsd_swap) || in g_part_gpt_dumpto() 807 EQUUID(&entry->ent.ent_type, &gpt_uuid_linux_swap) || in g_part_gpt_dumpto() 808 EQUUID(&entry->ent.ent_type, &gpt_uuid_dfbsd_swap)) ? 1 : 0); in g_part_gpt_dumpto() [all …]
|
| H A D | g_part_ldm.c | 1233 if (memcmp(&part->ent_type, in ldm_gpt_probe()
|
| /src/usr.bin/mkimg/ |
| H A D | apm.c | 84 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 D | gpt.c | 201 mkimg_uuid_enc(&ent->ent_type, ALIAS_TYPE2PTR(part->type)); in gpt_mktbl()
|
| /src/stand/libsa/ |
| H A D | gpt.c | 102 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) { in gptfind() 124 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) in gptfind() 138 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) in gptfind() 154 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) in gptfind()
|
| /src/contrib/ntp/sntp/libevent/ |
| H A D | event_rpcgen.py | 426 def __init__(self, ent_type, name, tag): argument 427 self._type = ent_type 430 self._ctype = ent_type 589 def __init__(self, ent_type, name, tag, length): argument 591 super(EntryBytes, self).__init__(ent_type, name, tag) 702 def __init__(self, ent_type, name, tag, bits=32): argument 704 super(EntryInt, self).__init__(ent_type, name, tag) 761 def __init__(self, ent_type, name, tag): argument 763 super(EntryString, self).__init__(ent_type, name, tag) 878 def __init__(self, ent_type, name, tag, refname): argument [all …]
|
| /src/contrib/libevent/ |
| H A D | event_rpcgen.py | 426 def __init__(self, ent_type, name, tag): argument 427 self._type = ent_type 430 self._ctype = ent_type 589 def __init__(self, ent_type, name, tag, length): argument 591 super(EntryBytes, self).__init__(ent_type, name, tag) 702 def __init__(self, ent_type, name, tag, bits=32): argument 704 super(EntryInt, self).__init__(ent_type, name, tag) 761 def __init__(self, ent_type, name, tag): argument 763 super(EntryString, self).__init__(ent_type, name, tag) 878 def __init__(self, ent_type, name, tag, refname): argument [all …]
|
| /src/sys/sys/disk/ |
| H A D | apm.h | 52 char ent_type[APM_ENT_TYPELEN]; member
|
| H A D | gpt.h | 93 gpt_uuid_t ent_type; member
|
| /src/stand/common/ |
| H A D | part.c | 218 uuid_letoh(&ent->ent_type); in gpt_checktbl() 219 if (uuid_equal(&ent->ent_type, &gpt_uuid_unused, NULL)) in gpt_checktbl() 325 if (uuid_equal(&ent->ent_type, &gpt_uuid_unused, NULL)) in ptable_gptread() 340 entry->part.type = gpt_parttype(ent->ent_type); in ptable_gptread() 342 memcpy(&entry->type.gpt, &ent->ent_type, sizeof(uuid_t)); in ptable_gptread()
|