Home
last modified time | relevance | path

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

/linux/fs/jfs/
A Dresize.c132 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()
A 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()
A Djfs_filsys.h144 #define SIZE2BN(size, l2bsize) ( ((s64)((size) - 1)) >> (l2bsize) ) argument
A 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()
A Djfs_logmgr.h59 __le32 l2bsize; /* 4: log2 of bsize */ member
364 int l2bsize; /* 4: log2 of bsize */ member
A Djfs_metapage.c581 int l2bsize; in __get_metapage() local
591 l2bsize = inode->i_blkbits; in __get_metapage()
592 l2BlocksPerPage = PAGE_SHIFT - l2bsize; in __get_metapage()
594 page_offset = (lblock - (page_index << l2BlocksPerPage)) << l2bsize; in __get_metapage()
A 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()
A Djfs_incore.h169 short l2bsize; /* log2 logical block size */ member
A Djfs_dtree.c780 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()
2568 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in dtRelocate()
2679 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearchNode()
3384 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst()
A Djfs_extent.c367 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
A Dnamei.c982 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
A Djfs_dmap.c4050 nblocks = ipbmap->i_size >> JFS_SBI(sb)->l2bsize; in dbMapFileSizeToMapSize()

Completed in 38 milliseconds