Lines Matching refs:ent
96 struct gpt_ent *ent; in gptfind() local
104 ent = &gpttable[part - 1]; in gptfind()
105 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) { in gptfind()
126 ent = &gpttable[curent]; in gptfind()
127 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) in gptfind()
129 if (!(ent->ent_attr & GPT_ENT_ATTR_BOOTME)) in gptfind()
131 if (!(ent->ent_attr & GPT_ENT_ATTR_BOOTONCE)) in gptfind()
140 ent = &gpttable[curent]; in gptfind()
141 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) in gptfind()
143 if (!(ent->ent_attr & GPT_ENT_ATTR_BOOTME)) in gptfind()
145 if (ent->ent_attr & GPT_ENT_ATTR_BOOTONCE) in gptfind()
156 ent = &gpttable[curent]; in gptfind()
157 if (bcmp(&ent->ent_type, uuid, sizeof (uuid_t)) != 0) in gptfind()
166 ent = &gpttable[curent]; in gptfind()
167 dskp->start = ent->ent_lba_start; in gptfind()
168 if (ent->ent_attr & GPT_ENT_ATTR_BOOTONCE) { in gptfind()
237 struct gpt_ent *ent; in gptbootconv() local
249 ent = &table[nent + part]; in gptbootconv()
250 if ((ent->ent_attr & (GPT_ENT_ATTR_BOOTME | in gptbootconv()
256 ent->ent_attr &= ~GPT_ENT_ATTR_BOOTONCE; in gptbootconv()
257 ent->ent_attr |= GPT_ENT_ATTR_BOOTFAILED; in gptbootconv()
286 struct gpt_ent *ent; in gptread_table() local
303 ent = (struct gpt_ent *)secbuf; in gptread_table()
304 for (part = 0; part < entries_per_sec; part++, ent++) { in gptread_table()
305 bcopy(ent, &table[nent], sizeof (table[nent])); in gptread_table()