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

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

Completed in 328 milliseconds