Lines Matching defs:capacity
1227 * slice 0 = slice 2 = medium capacity.
1229 * capacity <= 1GB,
1231 * capacity > 1gb,
1239 * But the capacity is reduced by 1 cyl, to leave space for fdisk table.
1250 diskaddr_t capacity;
1268 * if the capacity <= 1GB, head = 64, sect = 32.
1270 * NOTE: the capacity should be equal to C*H*S values.
1283 capacity = (diskaddr_t)nhead * nsect * numcyl;
1286 v_toc.v_part[0].p_size = capacity;
1291 v_toc.v_part[2].p_size = capacity;
1335 diskaddr_t capacity;
1447 capacity = (diskaddr_t)(numcyl - 1) * nhead * nsect;
1455 v_toc.v_part[0].p_size = capacity;
1460 v_toc.v_part[2].p_size = capacity;