Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jfs/
Djfs_metapage.c273 int l2bsize; in __get_metapage() local
327 l2bsize = inode->i_blkbits; in __get_metapage()
328 l2BlocksPerPage = PAGE_CACHE_SHIFT - l2bsize; in __get_metapage()
331 l2bsize; in __get_metapage()
437 int l2bsize = mp->mapping->host->i_blkbits; in __write_metapage() local
438 int l2BlocksPerPage = PAGE_CACHE_SHIFT - l2bsize; in __write_metapage()
455 (mp->index - (page_index << l2BlocksPerPage)) << l2bsize; in __write_metapage()
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()
393 ipbmap->i_size += xlen << sbi->l2bsize; in jfs_extendfs()
Djfs_filsys.h152 #define SIZE2BN(size, l2bsize) ( ((s64)((size) - 1)) >> (l2bsize) ) argument
Djfs_mount.c383 sbi->l2bsize = le16_to_cpu(j_sb->s_l2bsize); in chkSuper()
389 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
390 sbi->l2nbperpage = L2PSIZE - sbi->l2bsize; in chkSuper()
391 sbi->l2niperblk = sbi->l2bsize - L2DISIZE; in chkSuper()
Djfs_logmgr.h70 s32 l2bsize; /* 4: log2 of bsize */ member
380 int l2bsize; /* 4: log2 of bsize */ member
Djfs_logmgr.c1088 log->l2bsize = sb->s_blocksize_bits; in lmLogOpen()
1201 log->l2bsize = 12; /* XXX kludge alert XXX */ in lmLogInit()
1234 log->l2bsize = le32_to_cpu(logsuper->l2bsize); in lmLogInit()
1779 bp->l_blkno = log->base + (pn << (L2LOGPSIZE - log->l2bsize)); in lbmAllocate()
1864 bp->l_bh.b_rsector = bp->l_blkno << (log->l2bsize - 9); in lbmRead()
1899 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmWrite()
1969 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmDirectWrite()
2000 bp->l_bh.b_rsector = bp->l_blkno << (bp->l_log->l2bsize - 9); in lbmStartIO()
2280 logsuper->l2bsize = cpu_to_le32(sbi->l2bsize); in lmLogFormat()
Djfs_incore.h137 short l2bsize; /* log2 logical block size */ member
Djfs_xtree.c170 JFS_SBI(ip->i_sb)->l2bsize; in xtLookup()
277 JFS_SBI(ip->i_sb)->l2bsize; in xtLookupList()
2815 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2897 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2899 nbytes = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2923 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; in xtRelocate()
3033 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
3456 JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
3521 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
3966 xoff = (committed_size >> JFS_SBI(ip->i_sb)->l2bsize) - 1; in xtTruncate_pmap()
[all …]
Djfs_extent.c371 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
Djfs_dtree.c787 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearch()
1011 xsize = xlen << sbi->l2bsize; in dtSplitUp()
1710 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtExtendPage()
1896 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtSplitRoot()
2550 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in dtRelocate()
2663 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearchNode()
3366 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst()
Dnamei.c937 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
Djfs_dmap.c4021 nblocks = ipbmap->i_size >> JFS_SBI(sb)->l2bsize; in dbMapFileSizeToMapSize()