Lines Matching defs:table
58 struct gpt_ent *table)
66 * 2. Partition table checksum.
74 bcopy(&table[firstent], secbuf, DEV_BSIZE);
77 printf("%s: unable to update %s GPT partition table\n",
81 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
234 struct gpt_ent *table)
248 ent = &table[nent + part];
262 bcopy(&table[nent], secbuf, DEV_BSIZE);
264 printf("%s: unable to update %s GPT partition table\n",
270 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
281 struct gpt_hdr *hdr, struct gpt_ent *table)
296 printf("%s: unable to read %s GPT partition table\n",
302 bcopy(ent, &table[nent], sizeof(table[nent]));
310 if (crc32(table, nent * hdr->hdr_entsz) != hdr->hdr_crc_table) {
311 printf("%s: %s GPT table checksum mismatch\n", BOOTPROG, which);