Searched refs:nbperpage (Results 1 – 12 of 12) sorted by relevance
/fs/jfs/ |
D | jfs_extent.c | 220 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 …]
|
D | jfs_dmap.c | 1040 if (((rel_block = blkno & (sbi->nbperpage - 1))) && in dbExtend() 1041 (rel_block + nblocks + addnblocks > sbi->nbperpage)) in dbExtend() 3387 int nbperpage = sbi->nbperpage; in dbExtendFS() local 3467 p = BMAPBLKNO + nbperpage; /* L2 page */ in dbExtendFS() 3483 for (; k < LPERCTL; k++, p += nbperpage) { in dbExtendFS() 3508 p += nbperpage; /* 1st L0 of L1.k */ in dbExtendFS() 3542 p += nbperpage; /* 1st dmap of L0.j */ in dbExtendFS() 3580 p += nbperpage; in dbExtendFS()
|
D | jfs_incore.h | 172 short nbperpage; /* blocks per page */ member
|
D | jfs_imap.c | 362 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead() 367 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead() 640 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite() 645 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite() 2283 for (i = 0; i < imap->im_nbperiext; i += sbi->nbperpage) { in diNewExt() 2520 xlen = sbi->nbperpage; in diNewIAG()
|
D | jfs_dtree.c | 385 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()
|
D | jfs_metapage.c | 353 int blocks_per_mp = JFS_SBI(inode->i_sb)->nbperpage; in metapage_writepage() 430 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
|
D | resize.c | 395 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
|
D | jfs_mount.c | 385 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
|
D | xattr.c | 259 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_write() 399 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_read()
|
D | jfs_xtree.c | 767 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp() 859 split->len = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp() 907 JFS_SBI(ip->i_sb)->nbperpage, rcbn); in xtSplitUp() 1328 XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); in xtSplitRoot() 2240 nblocks = JFS_SBI(ip->i_sb)->nbperpage; in xtAppend() 2496 (s64) JFS_SBI(ip->i_sb)->nbperpage); in xtDeleteUp()
|
D | jfs_logmgr.c | 2422 bp->l_blkno = logAddress + sbi->nbperpage; in lmLogFormat() 2464 bp->l_blkno += sbi->nbperpage; in lmLogFormat() 2477 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
|
D | namei.c | 1020 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()
|