Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_extent.c220 int rc, nbperpage = JFS_SBI(sb)->nbperpage; in extRealloc() local
280 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc()
281 ntail = nbperpage; in extRealloc()
283 ninsert = nxlen - nbperpage; in extRealloc()
367 int nbperpage = JFS_SBI(sb)->nbperpage; in extHint() local
380 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
387 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0); in extHint()
390 if (xlen != nbperpage) { in extHint()
458 int rc, nbperpage = JFS_SBI(ip->i_sb)->nbperpage; in extFill() local
467 if ((rc = extAlloc(ip, nbperpage, blkno, xp, false))) in extFill()
[all …]
Djfs_dmap.c1035 if (((rel_block = blkno & (sbi->nbperpage - 1))) && in dbExtend()
1036 (rel_block + nblocks + addnblocks > sbi->nbperpage)) in dbExtend()
3283 int nbperpage = sbi->nbperpage; in dbExtendFS() local
3363 p = BMAPBLKNO + nbperpage; /* L2 page */ in dbExtendFS()
3379 for (; k < LPERCTL; k++, p += nbperpage) { in dbExtendFS()
3404 p += nbperpage; /* 1st L0 of L1.k */ in dbExtendFS()
3438 p += nbperpage; /* 1st dmap of L0.j */ in dbExtendFS()
3476 p += nbperpage; in dbExtendFS()
Djfs_incore.h169 short nbperpage; /* blocks per page */ member
Djfs_imap.c362 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
367 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
641 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
646 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
2290 for (i = 0; i < imap->im_nbperiext; i += sbi->nbperpage) { in diNewExt()
2527 xlen = sbi->nbperpage; in diNewIAG()
Djfs_metapage.c360 int blocks_per_mp = JFS_SBI(inode->i_sb)->nbperpage; in metapage_writepage()
437 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
Dresize.c389 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
Djfs_dtree.c385 if (dquot_alloc_block(ip, sbi->nbperpage)) in add_index()
387 if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr)) { in add_index()
388 dquot_free_block(ip, sbi->nbperpage); in add_index()
406 if (xtInsert(tid, ip, 0, 0, sbi->nbperpage, &xaddr, 0)) { in add_index()
411 dbFree(ip, xaddr, sbi->nbperpage); in add_index()
412 dquot_free_block(ip, sbi->nbperpage); in add_index()
453 if (xtInsert(tid, ip, 0, blkno, sbi->nbperpage, &xaddr, 0)) { in add_index()
1080 xlen = sbi->nbperpage; in dtSplitUp()
Djfs_mount.c385 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Djfs_xtree.c766 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
858 split->len = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
906 JFS_SBI(ip->i_sb)->nbperpage, rcbn); in xtSplitUp()
1327 XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); in xtSplitRoot()
2241 nblocks = JFS_SBI(ip->i_sb)->nbperpage; in xtAppend()
2497 (s64) JFS_SBI(ip->i_sb)->nbperpage); in xtDeleteUp()
Dxattr.c261 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_write()
401 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_read()
Djfs_logmgr.c2427 bp->l_blkno = logAddress + sbi->nbperpage; in lmLogFormat()
2469 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
2482 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
Dnamei.c1004 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()