Lines Matching refs:ent
64 struct gpt_ent *ent;
68 ent = NULL;
98 ent = (void*)((char*)tbl->map_data + i *
100 if (!uuid_is_nil(&ent->ent_type, NULL)) {
108 ent = (void*)((char*)tbl->map_data + i *
110 if (uuid_is_nil(&ent->ent_type, NULL))
126 le_uuid_dec(&ent->ent_uuid, &uuid);
131 le_uuid_enc(&ent->ent_type, type);
132 le_uuid_enc(&ent->ent_uuid, &uuid);
133 ent->ent_lba_start = htole64(map->map_start);
134 ent->ent_lba_end = htole64(map->map_start + map->map_size - 1LL);
145 ent = (void*)((char*)lbt->map_data + i * le32toh(hdr->hdr_entsz));
147 le_uuid_enc(&ent->ent_type, type);
148 le_uuid_enc(&ent->ent_uuid, &uuid);
149 ent->ent_lba_start = htole64(map->map_start);
150 ent->ent_lba_end = htole64(map->map_start + map->map_size - 1LL);