Home | History | Annotate | Download | only in posix

Lines Matching refs:units

21     -k	Sets units back to 1024 bytes (the default without -P)
28 and sets the units to 512 bytes instead of the default 1024 bytes.
37 long units;
76 item_label = TT.units == 512 ? "512-blocks" : "1K-blocks";
127 size = (block * mt->statvfs.f_blocks) / TT.units;
128 used = (block * (mt->statvfs.f_blocks-mt->statvfs.f_bfree)) / TT.units;
129 avail= (block*(getuid()?mt->statvfs.f_bavail:mt->statvfs.f_bfree))/TT.units;
177 TT.units = 1;
179 // Units are 512 bytes if you select "pedantic" without "kilobytes".
180 TT.units = toys.optflags & FLAG_P ? 512 : 1024;