Lines Matching defs:scale
41 "[e:decimal-scale|thousands?Scale disk usage to powers of 1000.]"
61 "[K:scale|binary-scale|human-readable?Scale disk usage to powers of 1024."
314 int scale; /* metric scale power */
362 * scale <m,w,p> into op
366 scale(int m, unsigned long w, unsigned long p)
370 if (state.scale)
374 return fmtscale(n, state.scale);
467 s = (df->total || df->ttotal) ? scale(df->fraction, df->avail, df->tavail) : "-";
470 s = (df->total || df->ttotal) ? scale(df->fraction, df->total, df->ttotal) : "-";
524 s = (df->total || df->ttotal) ? scale(df->fraction, df->used, df->tused) : "-";
616 if (state.scale)
737 state.scale = 1000;
759 state.scale = 1024;
814 if (!state.scale)
815 state.scale = 1024;
819 if (state.scale)