Home
last modified time | relevance | path

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

/fs/jfs/
Dresize.c145 t32 = (1 << (20 - sbi->l2bsize)) - 1; in jfs_extendfs()
148 min(newLogSize, MEGABYTE32 >> sbi->l2bsize); in jfs_extendfs()
156 newLogSize = (newLogSize * MEGABYTE) >> sbi->l2bsize; in jfs_extendfs()
405 ipbmap->i_size += xlen << sbi->l2bsize; in jfs_extendfs()
406 inode_add_bytes(ipbmap, xlen << sbi->l2bsize); in jfs_extendfs()
Djfs_mount.c379 sbi->l2bsize = le16_to_cpu(j_sb->s_l2bsize); in chkSuper()
385 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
386 sbi->l2nbperpage = L2PSIZE - sbi->l2bsize; in chkSuper()
387 sbi->l2niperblk = sbi->l2bsize - L2DISIZE; in chkSuper()
Djfs_filsys.h157 #define SIZE2BN(size, l2bsize) ( ((s64)((size) - 1)) >> (l2bsize) ) argument
Djfs_logmgr.c1191 log->l2bsize = sb->s_blocksize_bits; in open_inline_log()
1296 log->l2bsize = L2LOGPSIZE; in lmLogInit()
1344 log->l2bsize = le32_to_cpu(logsuper->l2bsize); in lmLogInit()
1915 bp->l_blkno = log->base + (pn << (L2LOGPSIZE - log->l2bsize)); in lbmAllocate()
1997 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmRead()
2045 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmWrite()
2115 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmDirectWrite()
2141 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmStartIO()
2418 logsuper->l2bsize = cpu_to_le32(sbi->l2bsize); in lmLogFormat()
Djfs_logmgr.h70 __le32 l2bsize; /* 4: log2 of bsize */ member
377 int l2bsize; /* 4: log2 of bsize */ member
Djfs_metapage.c593 int l2bsize; in __get_metapage() local
603 l2bsize = inode->i_blkbits; in __get_metapage()
604 l2BlocksPerPage = PAGE_SHIFT - l2bsize; in __get_metapage()
606 page_offset = (lblock - (page_index << l2BlocksPerPage)) << l2bsize; in __get_metapage()
Djfs_xtree.c167 JFS_SBI(ip->i_sb)->l2bsize; in xtLookup()
2590 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2672 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2674 nbytes = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2698 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; in xtRelocate()
2806 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
3229 JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
3294 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
3744 xoff = (committed_size >> JFS_SBI(ip->i_sb)->l2bsize) - 1; in xtTruncate_pmap()
3792 return (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate_pmap()
Djfs_incore.h171 short l2bsize; /* log2 logical block size */ member
Djfs_dtree.c792 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearch()
1007 ip->i_size = xlen << sbi->l2bsize; in dtSplitUp()
1020 xsize = xlen << sbi->l2bsize; in dtSplitUp()
1059 ip->i_size = lengthPXD(pxd) << sbi->l2bsize; in dtSplitUp()
1739 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtExtendPage()
1913 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtSplitRoot()
2580 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in dtRelocate()
2691 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearchNode()
3396 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst()
Djfs_extent.c380 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
Dnamei.c998 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
Djfs_dmap.c4060 nblocks = ipbmap->i_size >> JFS_SBI(sb)->l2bsize; in dbMapFileSizeToMapSize()