Lines Matching defs:sectors
191 g_part_geometry_heads(off_t blocks, u_int sectors, off_t *bestchs,
203 cylinders = blocks / heads / sectors;
204 if (cylinders < heads || cylinders < sectors)
208 chs = cylinders * heads * sectors;
222 u_int heads, sectors;
225 if (g_getattr("GEOM::fwsectors", cp, §ors) != 0 || sectors == 0 ||
232 sectors = candidate_sectors[idx];
233 g_part_geometry_heads(blocks, sectors, &chs, &heads);
237 * Prefer a geometry with sectors > 1, but only if
244 table->gpt_sectors = sectors;
250 * heads and sectors.
259 table->gpt_sectors = sectors;