Searched refs:l2bsize (Results 1 – 12 of 12) sorted by relevance
133 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()
361 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()
146 #define SIZE2BN(size, l2bsize) ( ((s64)((size) - 1)) >> (l2bsize) ) argument
1177 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()
59 __le32 l2bsize; /* 4: log2 of bsize */ member364 int l2bsize; /* 4: log2 of bsize */ member
580 int l2bsize; in __get_metapage() local590 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()
154 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()
161 short l2bsize; /* log2 logical block size */ member
785 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()
367 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
986 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
4098 nblocks = ipbmap->i_size >> JFS_SBI(sb)->l2bsize; in dbMapFileSizeToMapSize()