Lines Matching refs:nent
238 int entries_per_sec, nent, part; in gptbootconv() local
242 for (nent = 0, slba = hdr->hdr_lba_table; in gptbootconv()
244 slba++, nent += entries_per_sec) { in gptbootconv()
247 ent = &table[nent + part]; in gptbootconv()
261 bcopy(&table[nent], secbuf, DEV_BSIZE); in gptbootconv()
287 int part, nent; in gptread_table() local
295 nent = 0; in gptread_table()
304 bcopy(ent, &table[nent], sizeof(table[nent])); in gptread_table()
305 if (++nent >= hdr->hdr_entries) in gptread_table()
308 if (nent >= hdr->hdr_entries) in gptread_table()
312 if (crc32(0, (const Bytef *)table, nent * hdr->hdr_entsz) != in gptread_table()