Searched refs:dbtob (Results 1 – 15 of 15) sorted by relevance
135 *pbcount = MIN(bcount, dbtob(ext[i].ic_nbno - bno_off)); in map_frag()369 buflof = dbtob(bp->b_blkno); in inval_range()423 ASSERT(dbtob(bp->b_blkno) == ul->un_tail_lof); in get_write_bp()578 off_t blof = dbtob(blkno); in within_range()624 rlof = dbtob(bp->b_blkno); in find_read_lof()674 lof = dbtob(bp->b_blkno); in get_read_bp()828 off_t src_lof = dbtob(bp->b_blkno); in fetchbuf()916 ul->un_tail_lof = dbtob(bp->b_blkno) + bcount; in ldl_round_commit()1256 new_lof -= dbtob(btodb(new_lof)); in ldl_sethead()1335 ul->un_tail_lof = dbtob(btodb(ul->un_head_lof)); in ldl_settail()[all …]
349 tbp = ngeteblk(dbtob(LS_SECTORS)); in lufs_snarf()515 bp = UFS_GETBLK(ufsvfsp, ufsvfsp->vfs_dev, bno, dbtob(LS_SECTORS)); in lufs_initialize()526 ud->od_statesize = dbtob(LS_SECTORS); in lufs_initialize()535 ud->od_bol_lof = dbtob(ud->od_statebno) + ud->od_statesize; in lufs_initialize()
306 newtrimc = mtm->mtm_trimclof = dbtob(btod(lof)); in logmap_logscan_commit_debug()
43 #define dbtob(block_number) ((block_number) << 9) macro
145 #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \ macro
218 #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \ macro
489 tb += dbtob(ep->nbno); in dumplog()496 if (read(h->fd, &h->eg, dbtob(LS_SECTORS)) != dbtob(LS_SECTORS)) { in dumplog()
258 #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \ macro
147 size = PAGE_ROUNDUP(dbtob(4) + cpr_bitmap_size); in cpr_alloc_bufs()988 wbytes = dbtob(cpr_file_bn + cpr_buf_blocks); in cpr_write()
125 error = nd_send_data(tiptr, addr, (int)dbtob(bn + i), in nfs_dump()
3389 offset = dbtob(bp->b_blkno); in nfs_bio()
122 #define NB_LEFT_IN_SECTOR(off) (LDL_USABLE_BSIZE - ((off) - dbtob(btodb(off))))
868 odi.od_tail_lof = dbtob(btodb(odi.od_head_lof)) - DEV_BSIZE; in lufs_logscan_prescan()
1826 bytes = dbtob(*blkno); in i_cpr_blockzero()
5152 if ((bp = getblk((u_offset_t)dbtob(pblk))) == NULL) in log_read_log()