Home
last modified time | relevance | path

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

/busybox-1.35.0/coreutils/
Ddf.c260 unsigned long long blocks_total; in df_main() local
271 blocks_total = blocks_used + s.f_bavail; in df_main()
272 blocks_percent_used = blocks_total; /* 0% if blocks_total == 0, else... */ in df_main()
273 if (blocks_total != 0) { in df_main()
276 while (blocks_total >= INT_MAX / 101) { in df_main()
277 blocks_total >>= 1; in df_main()
280 u = (unsigned)blocks_used * 100u + (unsigned)blocks_total / 2; in df_main()
281 blocks_percent_used = u / (unsigned)blocks_total; in df_main()