Searched refs:hdr_entsz (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.1-release/sys/boot/common/
H A Dgpt.c71 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz;
81 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
197 hdr->hdr_entsz < sizeof(struct gpt_ent) ||
198 hdr->hdr_entries > MAXTBLENTS || DEV_BSIZE % hdr->hdr_entsz != 0) {
242 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz;
270 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
291 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz;
310 if (crc32(table, nent * hdr->hdr_entsz) != hdr->hdr_crc_table) {
H A Dpart.c183 hdr->hdr_entsz = le32toh(hdr->hdr_entsz);
185 hdr->hdr_entsz < sizeof(struct gpt_ent) ||
186 sectorsize % hdr->hdr_entsz != 0) {
205 cnt = size / hdr->hdr_entsz;
210 crc32(tbl, hdr->hdr_entries * hdr->hdr_entsz)) {
216 ent = (struct gpt_ent *)(tbl + i * hdr->hdr_entsz);
257 size = MIN(MAXTBLSZ, (phdr->hdr_entries * phdr->hdr_entsz +
287 hdr.hdr_entsz != phdr->hdr_entsz ||
[all...]
/freebsd-10.1-release/sys/boot/powerpc/ps3/
H A Dps3disk.c225 le32toh(hdr->hdr_entsz) < sizeof(struct gpt_ent) ||
226 stor_dev.sd_blksize % le32toh(hdr->hdr_entsz) != 0) {
232 eps = stor_dev.sd_blksize / le32toh(hdr->hdr_entsz);
/freebsd-10.1-release/sys/geom/part/
H A Dg_part_gpt.c447 hdr->hdr_entsz = le32toh(buf->hdr_entsz);
448 if (hdr->hdr_entries == 0 || hdr->hdr_entsz < 128 ||
449 (hdr->hdr_entsz & 7) != 0)
458 (hdr->hdr_entries * hdr->hdr_entsz + pp->sectorsize - 1) /
500 tblsz = hdr->hdr_entries * hdr->hdr_entsz;
527 idx++, ent++, p += hdr->hdr_entsz) {
555 pri->hdr_entsz == sec->hdr_entsz &&
656 table->hdr->hdr_entsz
[all...]
/freebsd-10.1-release/sys/boot/i386/zfsboot/
H A Dzfsboot.c381 hdr.hdr_entsz < sizeof(*ent) || DEV_BSIZE % hdr.hdr_entsz != 0) {
391 entries_per_sec = DEV_BSIZE / hdr.hdr_entsz;
399 ent = (struct gpt_ent *)(sec + part * hdr.hdr_entsz);
/freebsd-10.1-release/sys/sys/
H A Dgpt.h49 uint32_t hdr_entsz; member in struct:gpt_hdr
/freebsd-10.1-release/usr.bin/mkimg/
H A Dgpt.c283 le32enc(&hdr->hdr_entsz, sizeof(struct gpt_ent));

Completed in 86 milliseconds