Home
last modified time | relevance | path

Searched refs:lfs_fsbtodb (Results 1 – 8 of 8) sorted by relevance

/original-bsd/sys/ufs/lfs/
H A Dlfs.h109 u_int32_t lfs_fsbtodb; /* fsbtodb and dbtofsb shift constant */ member
220 #define fsbtodb(fs, b) ((b) << (fs)->lfs_fsbtodb)
221 #define dbtofsb(fs, b) ((b) >> (fs)->lfs_fsbtodb)
222 #define fragstodb(fs, b) ((b) << (fs)->lfs_fsbtodb - (fs)->lfs_fbshift)
223 #define dbtofrags(fs, b) ((b) >> (fs)->lfs_fsbtodb - (fs)->lfs_fbshift)
247 ((ufs_daddr_t)((sn) * ((fs)->lfs_ssize << (fs)->lfs_fsbtodb) + \
H A Dlfs_debug.c64 "fsbtodb ", lfsp->lfs_fsbtodb,
H A Dlfs_vfsops.c312 ump->um_seqinc = 1 << fs->lfs_fsbtodb;
H A Dlfs_segment.c45 1 << (fs)->lfs_fsbtodb)
/original-bsd/sbin/dumplfs/
H A Ddumplfs.c116 daddr_shift = lfs_sb1.lfs_bshift - lfs_sb1.lfs_fsbtodb;
137 (lfs_master->lfs_ssize << lfs_master->lfs_fsbtodb);
144 lfs_master->lfs_ssize << lfs_master->lfs_fsbtodb)
390 get(fd, *dp << (lfsp->lfs_bshift - lfsp->lfs_fsbtodb), inop,
439 sum_offset = (addr << (lfsp->lfs_bshift - lfsp->lfs_fsbtodb));
460 (lfsp->lfs_bshift - lfsp->lfs_fsbtodb));
519 "fsbtodb ", lfsp->lfs_fsbtodb,
/original-bsd/sbin/newlfs/
H A Dlfs.c233 lfsp->lfs_fsbtodb = log2(db_per_fb);
235 lfsp->lfs_size = partp->p_size >> lfsp->lfs_fsbtodb;
268 (lfsp->lfs_segshift - lfsp->lfs_bshift + lfsp->lfs_fsbtodb))
554 seg_addr += lfsp->lfs_ssize << lfsp->lfs_fsbtodb;
613 dip->di_blocks = nblocks << lfsp->lfs_fsbtodb;
626 db_per_fb = 1 << lfsp->lfs_fsbtodb;
/original-bsd/libexec/lfs_cleanerd/
H A Dprint.c161 "fsbtodb ", lfsp->lfs_fsbtodb,
H A Dlibrary.c95 fsp->fi_lfs.lfs_bshift - fsp->fi_lfs.lfs_fsbtodb;