Searched refs:total_capacity (Results 1 – 1 of 1) sorted by relevance
232 static void compute_chs_values(diskaddr_t total_capacity,2298 compute_chs_values(diskaddr_t total_capacity, diskaddr_t usable_capacity, argument2303 if (total_capacity < 160) {2306 *pcylp = total_capacity;2309 } else if (total_capacity <= 0x1000) {2312 *nsectp = total_capacity / (80 * 2);2343 if (total_capacity <= 0x200000) {2346 } else if (total_capacity <= 0x01000000) {2353 *nsectp = ((total_capacity +2361 if (usable_capacity < total_capacity)[all …]