Lines Matching refs:le32toh
77 if (le32toh(dl->d_magic) != DISKMAGIC ||
78 le32toh(dl->d_magic2) != DISKMAGIC) {
84 rawofs = le32toh(dl->d_partitions[RAW_PART].p_offset) *
85 le32toh(dl->d_secsize);
89 ofs = le32toh(dl->d_partitions[i].p_offset) *
90 le32toh(dl->d_secsize);
134 ofs = (le32toh(dl->d_partitions[i].p_offset) *
135 le32toh(dl->d_secsize)) / secsz;
139 le32toh(dl->d_partitions[i].p_size) - 1LL);
239 if (le32toh(hdr->hdr_entries) > parts)
244 for (i = 0; i < le32toh(hdr->hdr_entries); i++) {
292 hdr->hdr_crc_table = htole32(crc32(ent, le32toh(hdr->hdr_entries) *
293 le32toh(hdr->hdr_entsz)));
294 hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size)));
308 hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size)));