Home
last modified time | relevance | path

Searched refs:ONE_K (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Dfdisk.c43 #define ONE_K 1024 macro
105 start = g_heads * g_sectors * ONE_K - 1; in set_hsc()
114 end = g_heads * g_sectors * ONE_K - 1; in set_hsc()
383 if ((g_cylinders > ONE_K) && !(toys.optflags & (FLAG_l | FLAG_S))) in read_mbr()
435 if (g_cylinders <= ONE_K && (physbc != lbc || physbh != lbh || physbs != lbs)) { in consistency_check()
440 if (g_cylinders <= ONE_K && (physec != lec || physeh != leh || physes != les)) { in consistency_check()
480 if (g_sect_size < ONE_K) { in list_partitions()
481 blocks /= (ONE_K/g_sect_size); in list_partitions()
482 odds = secs %(ONE_K/g_sect_size); in list_partitions()
483 } else if (g_sect_size > ONE_K) blocks *= (g_sect_size/ONE_K); in list_partitions()
[all …]