Lines Matching defs:sectors
220 g_part_geometry_heads(off_t blocks, u_int sectors, off_t *bestchs,
232 cylinders = blocks / heads / sectors;
233 if (cylinders < heads || cylinders < sectors)
237 chs = cylinders * heads * sectors;
251 u_int heads, sectors;
254 if (g_getattr("GEOM::fwsectors", cp, §ors) != 0 || sectors == 0 ||
261 sectors = candidate_sectors[idx];
262 g_part_geometry_heads(blocks, sectors, &chs, &heads);
266 * Prefer a geometry with sectors > 1, but only if
273 table->gpt_sectors = sectors;
279 * heads and sectors.
288 table->gpt_sectors = sectors;