Lines Matching defs:sectors
493 unsigned int idx, sectors, tblsz, size;
504 sectors = (tblsz + pp->sectorsize - 1) / pp->sectorsize;
505 buf = g_malloc(sectors * pp->sectorsize, M_WAITOK | M_ZERO);
506 for (idx = 0; idx < sectors; idx += MAXPHYS / pp->sectorsize) {
507 size = (sectors - idx > MAXPHYS / pp->sectorsize) ? MAXPHYS:
508 (sectors - idx) * pp->sectorsize;
677 * Wipe the first 2 sectors to clear the partitioning. Wipe the last
802 * number of sectors needed by GPT is 6, any medium that has less
803 * than 6 sectors is never going to be able to hold a GPT. The
806 * 2 sectors for the GPT headers (each 1 sector)
807 * 2 sectors for the GPT tables (each 1 sector)