Lines Matching defs:ent
95 struct gpt_ent *ent;
103 ent = &gpttable[part - 1];
104 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0) {
125 ent = &gpttable[curent];
126 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0)
128 if (!(ent->ent_attr & GPT_ENT_ATTR_BOOTME))
130 if (!(ent->ent_attr & GPT_ENT_ATTR_BOOTONCE))
139 ent = &gpttable[curent];
140 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0)
142 if (!(ent->ent_attr & GPT_ENT_ATTR_BOOTME))
144 if (ent->ent_attr & GPT_ENT_ATTR_BOOTONCE)
155 ent = &gpttable[curent];
156 if (bcmp(&ent->ent_type, uuid, sizeof(uuid_t)) != 0)
165 ent = &gpttable[curent];
166 dskp->start = ent->ent_lba_start;
167 if (ent->ent_attr & GPT_ENT_ATTR_BOOTONCE) {
236 struct gpt_ent *ent;
248 ent = &table[nent + part];
249 if ((ent->ent_attr & (GPT_ENT_ATTR_BOOTME |
255 ent->ent_attr &= ~GPT_ENT_ATTR_BOOTONCE;
256 ent->ent_attr |= GPT_ENT_ATTR_BOOTFAILED;
283 struct gpt_ent *ent;
300 ent = (struct gpt_ent *)secbuf;
301 for (part = 0; part < entries_per_sec; part++, ent++) {
302 bcopy(ent, &table[nent], sizeof(table[nent]));