Lines Matching refs:ONE_K
43 #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()
752 absolute = ONE_K; in ask_value()
1078 if (g_cylinders <= ONE_K && start != total) in check()
1344 if(g_cylinders > ONE_K) in expert_menu()
1444 char *name = toybuf, *buffer = toybuf + ONE_K, *device = toybuf + 2048; in read_and_print_parts()
1447 while (fgets(buffer, ONE_K, fp)) { in read_and_print_parts()