Searched refs:l2bsize (Results 1 – 12 of 12) sorted by relevance
132 t32 = (1 << (20 - sbi->l2bsize)) - 1; in jfs_extendfs()135 min(newLogSize, MEGABYTE32 >> sbi->l2bsize); in jfs_extendfs()143 newLogSize = (newLogSize * MEGABYTE) >> sbi->l2bsize; in jfs_extendfs()392 ipbmap->i_size += xlen << sbi->l2bsize; in jfs_extendfs()393 inode_add_bytes(ipbmap, xlen << sbi->l2bsize); in jfs_extendfs()
359 sbi->l2bsize = le16_to_cpu(j_sb->s_l2bsize); in chkSuper()362 if (sbi->l2bsize != ilog2((u32)bsize) || in chkSuper()374 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()375 sbi->l2nbperpage = L2PSIZE - sbi->l2bsize; in chkSuper()376 sbi->l2niperblk = sbi->l2bsize - L2DISIZE; in chkSuper()
144 #define SIZE2BN(size, l2bsize) ( ((s64)((size) - 1)) >> (l2bsize) ) argument
59 __le32 l2bsize; /* 4: log2 of bsize */ member364 int l2bsize; /* 4: log2 of bsize */ member
1169 log->l2bsize = sb->s_blocksize_bits; in open_inline_log()1274 log->l2bsize = L2LOGPSIZE; in lmLogInit()1323 log->l2bsize = le32_to_cpu(logsuper->l2bsize); in lmLogInit()1895 bp->l_blkno = log->base + (pn << (L2LOGPSIZE - log->l2bsize)); in lbmAllocate()1976 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmRead()2021 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmWrite()2091 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmDirectWrite()2117 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmStartIO()2391 logsuper->l2bsize = cpu_to_le32(sbi->l2bsize); in lmLogFormat()
579 int l2bsize; in __get_metapage() local589 l2bsize = inode->i_blkbits; in __get_metapage()590 l2BlocksPerPage = PAGE_SHIFT - l2bsize; in __get_metapage()592 page_offset = (lblock - (page_index << l2BlocksPerPage)) << l2bsize; in __get_metapage()
169 short l2bsize; /* log2 logical block size */ member
208 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
143 JFS_SBI(ip->i_sb)->l2bsize; in xtLookup()2255 JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()2320 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()2770 xoff = (committed_size >> JFS_SBI(ip->i_sb)->l2bsize) - 1; in xtTruncate_pmap()2818 return (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate_pmap()
780 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearch()995 ip->i_size = xlen << sbi->l2bsize; in dtSplitUp()1008 xsize = xlen << sbi->l2bsize; in dtSplitUp()1047 ip->i_size = lengthPXD(pxd) << sbi->l2bsize; in dtSplitUp()1727 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtExtendPage()1901 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtSplitRoot()3086 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst()
982 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
4005 nblocks = ipbmap->i_size >> JFS_SBI(sb)->l2bsize; in dbMapFileSizeToMapSize()