Searched refs:NB_LEFT_IN_SECTOR (Results 1 – 4 of 4) sorted by relevance
455 i = MIN(NB_LEFT_IN_SECTOR(addr), nb); in lufs_read_log()466 if (NB_LEFT_IN_SECTOR(addr) == 0) in lufs_read_log()619 NB_LEFT_IN_SECTOR(*addr) + in lufs_logscan_skip()
748 nb_in_sec = NB_LEFT_IN_SECTOR(bp->b_bcount); in storebuf()849 nb_sec = NB_LEFT_IN_SECTOR(dst_lof); in fetchbuf()1434 return (NB_LEFT_IN_SECTOR(lof)); in ldl_logscan_nbcommit()
122 #define NB_LEFT_IN_SECTOR(off) (LDL_USABLE_BSIZE - ((off) - dbtob(btodb(off)))) macro
5155 xfer = MIN(NB_LEFT_IN_SECTOR(*addr), nb); in log_read_log()5167 if (NB_LEFT_IN_SECTOR(*addr) == 0) { in log_read_log()5212 return (NB_LEFT_IN_SECTOR(a)); in log_nbcommit()