Searched refs:total_capacity (Results 1 – 1 of 1) sorted by relevance
229 static void compute_chs_values(diskaddr_t total_capacity,2239 compute_chs_values(diskaddr_t total_capacity, diskaddr_t usable_capacity, argument2244 if (total_capacity < 160) {2247 *pcylp = total_capacity;2250 } else if (total_capacity <= 0x1000) {2253 *nsectp = total_capacity / (80 * 2);2284 if (total_capacity <= 0x200000) {2287 } else if (total_capacity <= 0x01000000) {2294 *nsectp = ((total_capacity +2302 if (usable_capacity < total_capacity)[all …]