Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jfs/
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()
Djfs_mount.c359 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()
Djfs_filsys.h144 #define SIZE2BN(size, l2bsize) ( ((s64)((size) - 1)) >> (l2bsize) ) argument
Djfs_logmgr.h59 __le32 l2bsize; /* 4: log2 of bsize */ member
364 int l2bsize; /* 4: log2 of bsize */ member
Djfs_logmgr.c1169 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()
Djfs_metapage.c579 int l2bsize; in __get_metapage() local
589 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()
Djfs_incore.h169 short l2bsize; /* log2 logical block size */ member
Djfs_extent.c208 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
Djfs_xtree.c143 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()
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()
3086 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst()
Dnamei.c982 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
Djfs_dmap.c4005 nblocks = ipbmap->i_size >> JFS_SBI(sb)->l2bsize; in dbMapFileSizeToMapSize()