Lines Matching defs:sectors
522 unsigned int idx, sectors, tblsz, size;
533 sectors = howmany(tblsz, pp->sectorsize);
534 buf = g_malloc(sectors * pp->sectorsize, M_WAITOK | M_ZERO);
535 for (idx = 0; idx < sectors; idx += MAXPHYS / pp->sectorsize) {
536 size = (sectors - idx > MAXPHYS / pp->sectorsize) ? MAXPHYS:
537 (sectors - idx) * pp->sectorsize;
706 * Wipe the first 2 sectors and last one to clear the partitioning.
707 * Wipe sectors only if they have valid metadata.
838 * number of sectors needed by GPT is 6, any medium that has less
839 * than 6 sectors is never going to be able to hold a GPT. The
842 * 2 sectors for the GPT headers (each 1 sector)
843 * 2 sectors for the GPT tables (each 1 sector)