Lines Matching refs:ONE_K
43 #define ONE_K 1024
105 start = g_heads * g_sectors * ONE_K - 1;
114 end = g_heads * g_sectors * ONE_K - 1;
383 if ((g_cylinders > ONE_K) && !(FLAG(l) || FLAG(S)))
435 if (g_cylinders <= ONE_K && (physbc != lbc || physbh != lbh || physbs != lbs)) {
440 if (g_cylinders <= ONE_K && (physec != lec || physeh != leh || physes != les)) {
480 if (g_sect_size < ONE_K) {
481 blocks /= (ONE_K/g_sect_size);
482 odds = secs %(ONE_K/g_sect_size);
483 } else if (g_sect_size > ONE_K) blocks *= (g_sect_size/ONE_K);
752 absolute = ONE_K;
1078 if (g_cylinders <= ONE_K && start != total)
1344 if(g_cylinders > ONE_K)
1444 char *name = toybuf, *buffer = toybuf + ONE_K, *device = toybuf + 2048;
1447 while (fgets(buffer, ONE_K, fp)) {