Home
last modified time | relevance | path

Searched refs:l2bsize (Results 1 – 12 of 12) sorted by relevance

/fs/jfs/
Dresize.c133 t32 = (1 << (20 - sbi->l2bsize)) - 1; in jfs_extendfs()
136 min(newLogSize, MEGABYTE32 >> sbi->l2bsize); in jfs_extendfs()
144 newLogSize = (newLogSize * MEGABYTE) >> sbi->l2bsize; in jfs_extendfs()
393 ipbmap->i_size += xlen << sbi->l2bsize; in jfs_extendfs()
394 inode_add_bytes(ipbmap, xlen << sbi->l2bsize); in jfs_extendfs()
Djfs_mount.c361 sbi->l2bsize = le16_to_cpu(j_sb->s_l2bsize); in chkSuper()
364 if (sbi->l2bsize != ilog2((u32)bsize) || in chkSuper()
376 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
377 sbi->l2nbperpage = L2PSIZE - sbi->l2bsize; in chkSuper()
378 sbi->l2niperblk = sbi->l2bsize - L2DISIZE; in chkSuper()
Djfs_filsys.h146 #define SIZE2BN(size, l2bsize) ( ((s64)((size) - 1)) >> (l2bsize) ) argument
Djfs_logmgr.c1177 log->l2bsize = sb->s_blocksize_bits; in open_inline_log()
1282 log->l2bsize = L2LOGPSIZE; in lmLogInit()
1331 log->l2bsize = le32_to_cpu(logsuper->l2bsize); in lmLogInit()
1903 bp->l_blkno = log->base + (pn << (L2LOGPSIZE - log->l2bsize)); in lbmAllocate()
1985 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmRead()
2033 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmWrite()
2103 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmDirectWrite()
2129 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmStartIO()
2406 logsuper->l2bsize = cpu_to_le32(sbi->l2bsize); in lmLogFormat()
Djfs_logmgr.h59 __le32 l2bsize; /* 4: log2 of bsize */ member
364 int l2bsize; /* 4: log2 of bsize */ member
Djfs_metapage.c580 int l2bsize; in __get_metapage() local
590 l2bsize = inode->i_blkbits; in __get_metapage()
591 l2BlocksPerPage = PAGE_SHIFT - l2bsize; in __get_metapage()
593 page_offset = (lblock - (page_index << l2BlocksPerPage)) << l2bsize; in __get_metapage()
Djfs_xtree.c154 JFS_SBI(ip->i_sb)->l2bsize; in xtLookup()
2577 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2659 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2661 nbytes = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2685 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; in xtRelocate()
2793 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
3216 JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
3281 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
3731 xoff = (committed_size >> JFS_SBI(ip->i_sb)->l2bsize) - 1; in xtTruncate_pmap()
3779 return (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate_pmap()
Djfs_incore.h161 short l2bsize; /* log2 logical block size */ member
Djfs_dtree.c785 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearch()
1000 ip->i_size = xlen << sbi->l2bsize; in dtSplitUp()
1013 xsize = xlen << sbi->l2bsize; in dtSplitUp()
1052 ip->i_size = lengthPXD(pxd) << sbi->l2bsize; in dtSplitUp()
1732 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtExtendPage()
1906 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtSplitRoot()
2573 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in dtRelocate()
2684 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearchNode()
3389 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst()
Djfs_extent.c367 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
Dnamei.c986 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
Djfs_dmap.c4098 nblocks = ipbmap->i_size >> JFS_SBI(sb)->l2bsize; in dbMapFileSizeToMapSize()