Home
last modified time | relevance | path

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

/dflybsd-src/sbin/hammer/
H A Dcmd_info.c120 int64_t totalbytes, freebytes; in show_info() local
129 usedbytes = totalbytes = rsvbytes = freebytes = 0; in show_info()
187 totalbytes = (fip->bigblocks << HAMMER_BIGBLOCK_BITS); in show_info()
194 humanize_number(buf, sizeof(buf) - (totalbytes < 0 ? 0 : 1), in show_info()
195 totalbytes, "", HN_AUTOSCALE, HN_DECIMAL | HN_NOSPACE | HN_B); in show_info()
197 buf, (intmax_t)totalbytes); in show_info()
202 percent(usedbytes, totalbytes)); in show_info()
207 percent(rsvbytes, totalbytes)); in show_info()
212 percent(freebytes, totalbytes)); in show_info()
/dflybsd-src/lib/libdevstat/
H A Ddevstat.c1029 u_int64_t totalbytes, totaltransfers, totalblocks; in compute_stats() local
1040 totalbytes = (current->bytes_written + current->bytes_read) - in compute_stats()
1045 *total_bytes = totalbytes; in compute_stats()
1066 *kb_per_transfer = totalbytes; in compute_stats()
1075 *mb_per_second = totalbytes; in compute_stats()
1083 totalblocks = totalbytes; in compute_stats()
1120 u_int64_t totalbytes, totaltransfers, totalblocks; in compute_stats_read() local
1131 totalbytes = current->bytes_read - in compute_stats_read()
1135 *total_bytes = totalbytes; in compute_stats_read()
1151 *kb_per_transfer = totalbytes; in compute_stats_read()
[all …]