Lines Matching defs:tobytes
769 #define tobytes(a, b) dbtob((VolSpace) (a), (VolSpace) (b))
771 #define tobytes(a, b) dbtob((VolSpace) (a))
800 LOG(log_debug, logtype_afpd, "dqblk.dqb_bhardlimit size: %u", tobytes( dqblk.dqb_bhardlimit, this_bsize ));
801 LOG(log_debug, logtype_afpd, "dqblk.dqb_bsoftlimit size: %u", tobytes( dqblk.dqb_bsoftlimit, this_bsize ));
802 LOG(log_debug, logtype_afpd, "dqblk.dqb_curblocks size: %u", tobytes( dqblk.dqb_curblocks, this_bsize ));
809 if ( tobytes( dqblk.dqb_curblocks, this_bsize ) > tobytes( dqblk.dqb_bsoftlimit, this_bsize ) ) {
810 *btotal = tobytes( dqblk.dqb_curblocks, this_bsize );
814 *btotal = tobytes( dqblk.dqb_bsoftlimit, this_bsize );
815 *bfree = tobytes( dqblk.dqb_bsoftlimit, this_bsize ) -
816 tobytes( dqblk.dqb_curblocks, this_bsize );
819 *btotal = tobytes( dqblk.dqb_bhardlimit, this_bsize );
820 *bfree = tobytes( dqblk.dqb_bhardlimit, this_bsize ) -
821 tobytes( dqblk.dqb_curblocks, this_bsize );