/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 198 lblkno += btodb(pbcount); in ldl_strategy() 422 bp->b_blkno = btodb(ul->un_tail_lof); in get_write_bp() 673 bp->b_blkno = btodb(lof); in get_read_bp() 1250 if (btodb(new_lof) != btodb(data_lof)) in ldl_sethead() 1256 new_lof -= dbtob(btodb(new_lof)); in ldl_sethead() 1277 end_blkno = btodb(new_lof); in ldl_sethead() 1278 beg_blkno = btodb(ul->un_head_lof); in ldl_sethead() 1285 end_blkno = btodb(ul->un_eol_lof); in ldl_sethead() 1286 beg_blkno = btodb(ul->un_head_lof); in ldl_sethead() 1293 end_blkno = btodb(new_lof); in ldl_sethead() [all …]
|
H A D | ufs_bmap.c | 134 *(bnp) = fsbtodb(fs, *dp) + btodb(boff); \ 377 btodb(bsize - osize)) > INT_MAX) { in bmap_write() 417 ip->i_blocks += btodb(bsize - osize); in bmap_write() 460 btodb(nsize - osize)) > INT_MAX) { in bmap_write() 495 btodb(nsize - osize)) > INT_MAX) { in bmap_write() 546 -(long)btodb(nsize - osize), in bmap_write() 554 ip->i_blocks += btodb(nsize - osize); in bmap_write() 620 if (((unsigned)ip->i_blocks + btodb(bsize)) in bmap_write() 669 added_sectors += btodb(bsize); in bmap_write() 670 ip->i_blocks += btodb(bsize); in bmap_write() [all …]
|
H A D | ufs_alloc.c | 129 err = chkdq(ip, (long)btodb(size), 0, cr, &errmsg, &len); in alloc() 158 (void) chkdq(ip, -(long)btodb(size), 0, cr, (char **)NULL, in alloc() 214 err = chkdq(ip, (long)btodb(nsize - osize), 0, cr, &errmsg, &len); in realloccg() 262 (void) chkdq(ip, -(long)btodb(nsize - osize), 0, cr, (char **)NULL, in realloccg() 696 btodb(fs->fs_bsize); in free() 732 btodb(i * fs->fs_fsize); in free()
|
H A D | ufs_inode.c | 1067 nblocks = btodb(fs->fs_bsize); in indirtrunc() 1390 nblocks = btodb(fs->fs_bsize); in ufs_itrunc() 1447 blocksreleased += btodb(bsize); in ufs_itrunc() 1479 blocksreleased += btodb(oldspace - newspace); in ufs_itrunc()
|
H A D | lufs.c | 389 ul->un_maxresv = btodb(ul->un_logsize) * LDL_USABLE_BSIZE; in lufs_snarf()
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | defs.h | 42 #define btodb(byte_offset) ((byte_offset) >> 9) macro
|
/titanic_41/usr/src/lib/libbc/inc/include/sys/ |
H A D | param.h | 143 #define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \ macro
|
/titanic_41/usr/src/ucbhead/sys/ |
H A D | param.h | 224 #define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \ macro
|
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dir.c | 1004 frag2blks = btodb(frag2blks); in expanddir() 1009 dp->di_blocks += btodb(sblock.fs_bsize); in expanddir() 1019 dp->di_blocks += btodb(sblock.fs_bsize); in expanddir() 1021 dp->di_blocks += btodb(sblock.fs_bsize); in expanddir()
|
H A D | pass1.c | 619 idesc->id_entryno = btodb(new_size); in collapse_dirhole() 740 idesc->id_entryno += btodb(sblock.fs_fsize); in pass1check()
|
H A D | utilities.c | 487 for (cp = buf, i = 0; i < btodb(size); i++, cp += DEV_BSIZE) { in fsck_bread() 530 for (cp = buf, i = 0; i < btodb(size); i++, cp += DEV_BSIZE) { in bwrite()
|
H A D | inode.c | 1234 dp->di_blocks = btodb(sblock.fs_fsize); in allocino()
|
/titanic_41/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 397 for (cp = buf, i = 0; i < btodb(size); i++, cp += DEV_BSIZE) { in bread() 429 for (cp = buf, i = 0; i < btodb(size); i++, cp += DEV_BSIZE) { in bwrite()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | param.h | 263 #define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \ macro
|
/titanic_41/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp.c | 635 if (voff + btodb(bcount) > ext_endblk) { in sp_mapbuf() 1061 current_blkno += (sp_ext_offset_t)(btodb(child_buf->b_bcount)); in md_sp_strategy() 1204 current_blkno += (sp_ext_offset_t)(btodb(child_buf->b_bcount)); in sp_directed_read() 1713 nblk = (int)(btodb(bp->b_bcount)); in sp_dump()
|
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_ioctl.c | 937 ((bp->b_blkno + btodb(bp->b_bcount)) <= in trans_error_injector() 1187 un->un_l_head = (daddr32_t)btodb(ul->un_head_lof); in trans_get() 1190 un->un_l_maxtransfer = (uint_t)btodb(ul->un_maxtransfer); in trans_get() 1193 un->un_l_tail = (daddr32_t)btodb(ul->un_tail_lof); in trans_get() 1210 if (un->un_l_nblks > btodb(LDL_MAXLOGSIZE)) in trans_get() 1211 un->un_l_nblks = btodb(LDL_MAXLOGSIZE); in trans_get()
|
/titanic_41/usr/src/stand/lib/fs/ufs/ |
H A D | lufsboot.c | 387 lblk = btodb(addr); in lufs_read_log() 868 odi.od_tail_lof = dbtob(btodb(odi.od_head_lof)) - DEV_BSIZE; in lufs_logscan_prescan()
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | md_mddb.h | 302 #define MDDB_DT_BLOCKS (btodb(MDDB_DT_BYTES)) 358 #define MDDB_DID_BLOCKS (btodb(MDDB_DID_BYTES))
|
H A D | md_trans.h | 47 #define NB_LEFT_IN_SECTOR(off) (LDL_USABLE_BSIZE - ((off) - dbtob(btodb(off))))
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_nameinfo.c | 155 mdvp->parts[i].label = btodb(DK_LABEL_SIZE); in meta_efi_to_mdvtoc() 466 mdvp->parts[i].label = btodb(DK_LABEL_SIZE); in meta_vtoc_to_md()
|
H A D | meta_stripe.c | 1669 interlace = btodb(512 * 1024); in meta_default_stripe_interlace() 1670 if (interlace < btodb(MININTERLACE)) in meta_default_stripe_interlace() 1685 if ((interlace < btodb(MININTERLACE)) || in meta_stripe_check_interlace() 1686 (interlace > btodb(MAXINTERLACE))) { in meta_stripe_check_interlace()
|
H A D | meta_raid.c | 1892 interlace = btodb(512 * 1024); in meta_default_raid_interlace() 1908 if ((interlace < btodb(RAID_MIN_INTERLACE)) || in meta_raid_check_interlace() 1909 (interlace > btodb(MAXINTERLACE))) { in meta_raid_check_interlace()
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | ufs_log.h | 122 #define NB_LEFT_IN_SECTOR(off) (LDL_USABLE_BSIZE - ((off) - dbtob(btodb(off))))
|
/titanic_41/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 149 cpr_buf_blocks = btodb(cpr_buf_size); in cpr_alloc_bufs()
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_mddb.c | 953 blk_cnt = btodb(len + (MDDB_BSIZE - 1)); in mddb_devid_free_get() 1806 btodb(MDDB_BSIZE), 0)) { in getmasters() 3473 err = getblks(s, tbuf, dev, physblk, btodb(MDDB_BSIZE), 0); in dt_read() 4845 btodb(MDDB_BSIZE), 0); in get_mbs_n_lbs() 4973 btodb(MDDB_BSIZE), 0); in get_mbs_n_lbs() 5089 physblk, btodb( in get_mbs_n_lbs() 6693 btodb(MDDB_BSIZE)); in initit() 7049 *blk_cnt += btodb(devid_len + (MDDB_BSIZE - 1)); in mddb_lb_did_convert() 8877 blkcnt = btodb(recsize); in mddb_createrec()
|