Lines Matching defs:ent
197 struct gpt_ent *ent;
243 ent = (struct gpt_ent *) buf;
246 if (uuid_is_nil(&ent[i].ent_type, NULL) ||
247 le64toh(ent[i].ent_lba_start) == 0 ||
248 le64toh(ent[i].ent_lba_end) < le64toh(ent[i].ent_lba_start))
271 ent = (struct gpt_ent *) buf;
274 if (uuid_is_nil(&ent[i].ent_type, NULL) ||
275 le64toh(ent[i].ent_lba_start) == 0 ||
276 le64toh(ent[i].ent_lba_end) < le64toh(ent[i].ent_lba_start))
280 od->od_gpt_parts[part].gp_type = ent[i].ent_type;
281 od->od_gpt_parts[part].gp_start = le64toh(ent[i].ent_lba_start);
282 od->od_gpt_parts[part].gp_end = le64toh(ent[i].ent_lba_end);