Lines Matching refs:nent
240 int entries_per_sec, nent, part; in gptbootconv() local
244 for (nent = 0, slba = hdr->hdr_lba_table; in gptbootconv()
246 slba++, nent += entries_per_sec) { in gptbootconv()
249 ent = &table[nent + part]; in gptbootconv()
263 bcopy(&table[nent], secbuf, DEV_BSIZE); in gptbootconv()
288 int part, nent; in gptread_table() local
296 nent = 0; in gptread_table()
305 bcopy(ent, &table[nent], sizeof (table[nent])); in gptread_table()
306 if (++nent >= hdr->hdr_entries) in gptread_table()
309 if (nent >= hdr->hdr_entries) in gptread_table()
313 if (crc32(0, table, nent * hdr->hdr_entsz) != hdr->hdr_crc_table) { in gptread_table()