Searched refs:hdr_entries (Results 1 – 10 of 10) sorted by relevance
88 if (entry != NOENTRY && entry > le32toh(hdr->hdr_entries)) { in add()90 entry, le32toh(hdr->hdr_entries)); in add()106 for (i = 0; i < le32toh(hdr->hdr_entries); i++) { in add()112 if (i == le32toh(hdr->hdr_entries)) { in add()130 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in add()145 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in add()
95 if (entry > le32toh(hdr->hdr_entries)) { in bootset()97 device_name, entry, le32toh(hdr->hdr_entries)); in bootset()117 le32toh(hdr->hdr_entries) * in bootset()132 le32toh(hdr->hdr_entries) * in bootset()
188 hdr->hdr_entries = htole32((blocks * secsz) / sizeof(struct gpt_ent)); in create()189 if (le32toh(hdr->hdr_entries) > parts) in create()190 hdr->hdr_entries = htole32(parts); in create()194 for (i = 0; i < le32toh(hdr->hdr_entries); i++) { in create()199 hdr->hdr_crc_table = htole32(crc32(ent, le32toh(hdr->hdr_entries) * in create()
231 hdr->hdr_entries = htole32((blocks * secsz) / sizeof(struct gpt_ent)); in migrate()232 if (le32toh(hdr->hdr_entries) > parts) in migrate()233 hdr->hdr_entries = htole32(parts); in migrate()237 for (i = 0; i < le32toh(hdr->hdr_entries); i++) { in migrate()290 hdr->hdr_crc_table = htole32(crc32(ent, le32toh(hdr->hdr_entries) * in migrate()
161 for (i = 0; i < le32toh(hdr->hdr_entries); ++i) { in expand()201 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in expand()207 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in expand()
115 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in rem()130 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in rem()
117 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in label()132 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in label()
488 tblsz = le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz); in gpt_gpt()521 for (i = 0; i < le32toh(hdr->hdr_entries); i++) { in gpt_gpt()
48 uint32_t hdr_entries; member
126 entries = le32toh(gpt->hdr_entries); in gptinit()