Searched refs:usedbytes (Results 1 – 3 of 3) sorted by relevance
/dragonfly/sbin/hammer/ |
H A D | cmd_info.c | 119 int64_t usedbytes, rsvbytes; in show_info() local 129 usedbytes = totalbytes = rsvbytes = freebytes = 0; in show_info() 188 usedbytes = (usedbigblocks << HAMMER_BIGBLOCK_BITS); in show_info() 199 humanize_number(buf, sizeof(buf) - (usedbytes < 0 ? 0 : 1), in show_info() 200 usedbytes, "", HN_AUTOSCALE, HN_DECIMAL | HN_NOSPACE | HN_B); in show_info() 202 percent(usedbytes, totalbytes)); in show_info()
|
/dragonfly/sys/vfs/hammer/ |
H A D | hammer_blockmap.c | 1327 int64_t usedbytes; in _hammer_checkspace() local 1329 usedbytes = hmp->rsv_inodes * in_size + in _hammer_checkspace() 1337 *resp = usedbytes; in _hammer_checkspace() 1340 (usedbytes >> HAMMER_BIGBLOCK_BITS)) { in _hammer_checkspace()
|
H A D | hammer_vnops.c | 2543 int usedbytes; in hammer_vop_mountctl() local 2547 usedbytes = 0; in hammer_vop_mountctl() 2571 usedbytes = *ap->a_res; in hammer_vop_mountctl() 2573 if (usedbytes > 0 && usedbytes < ap->a_buflen) { in hammer_vop_mountctl() 2574 usedbytes += vfs_flagstostr(hmp->hflags, extraopt, in hammer_vop_mountctl() 2576 ap->a_buflen - usedbytes, in hammer_vop_mountctl() 2580 *ap->a_res += usedbytes; in hammer_vop_mountctl()
|