Home
last modified time | relevance | path

Searched refs:nbperpage (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/jfs/
Djfs_extent.c219 int rc, nbperpage = JFS_SBI(sb)->nbperpage; in extRealloc() local
271 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc()
272 ntail = nbperpage; in extRealloc()
274 ninsert = nxlen - nbperpage; in extRealloc()
363 int rc, nbperpage = JFS_SBI(sb)->nbperpage; in extHint() local
371 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
384 LXDlength(&lxd, nbperpage); in extHint()
407 if(xadl.nxad != 1 || lengthXAD(xp) != nbperpage) { in extHint()
464 int rc, nbperpage = JFS_SBI(ip->i_sb)->nbperpage; in extFill() local
473 if ((rc = extAlloc(ip, nbperpage, blkno, xp, FALSE))) in extFill()
[all …]
Djfs_incore.h138 short nbperpage; /* blocks per page */ member
Djfs_dmap.c1110 if (((rel_block = blkno & (sbi->nbperpage - 1))) && in dbExtend()
1111 (rel_block + nblocks + addnblocks > sbi->nbperpage)) in dbExtend()
3346 int nbperpage = sbi->nbperpage; in dbExtendFS() local
3426 p = BMAPBLKNO + nbperpage; /* L2 page */ in dbExtendFS()
3442 for (; k < LPERCTL; k++, p += nbperpage) { in dbExtendFS()
3467 p += nbperpage; /* 1st L0 of L1.k */ in dbExtendFS()
3501 p += nbperpage; /* 1st dmap of L0.j */ in dbExtendFS()
3539 p += nbperpage; in dbExtendFS()
Dresize.c383 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
Djfs_imap.c383 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
388 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
661 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
666 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
2329 for (i = 0; i < imap->im_nbperiext; i += sbi->nbperpage) { in diNewExt()
2570 xlen = sbi->nbperpage; in diNewIAG()
Djfs_mount.c389 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Dxattr.c265 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_write()
402 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_read()
Djfs_xtree.c1006 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
1098 split->len = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
1146 JFS_SBI(ip->i_sb)->nbperpage, rcbn); in xtSplitUp()
1547 XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); in xtSplitRoot()
2461 nblocks = JFS_SBI(ip->i_sb)->nbperpage; in xtAppend()
2719 (s64) JFS_SBI(ip->i_sb)->nbperpage); in xtDeleteUp()
Djfs_logmgr.c2284 bp->l_blkno = logAddress + sbi->nbperpage; in lmLogFormat()
2326 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
2339 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
Djfs_dtree.c383 if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr)) in add_index()
400 if (xtInsert(tid, ip, 0, 0, sbi->nbperpage, &xaddr, 0)) { in add_index()
408 ip->i_blocks += LBLK2PBLK(sb, sbi->nbperpage); in add_index()
445 if (xtInsert(tid, ip, 0, blkno, sbi->nbperpage, &xaddr, 0)) { in add_index()
450 ip->i_blocks += LBLK2PBLK(sb, sbi->nbperpage); in add_index()
1062 xlen = sbi->nbperpage; in dtSplitUp()
Dnamei.c961 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()