Searched refs:nbperpage (Results 1 – 12 of 12) sorted by relevance
/linux/fs/jfs/ |
H A D | jfs_extent.c | 195 int nbperpage = JFS_SBI(sb)->nbperpage; in extHint() local 208 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint() 215 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0); in extHint() 218 if (xlen != nbperpage) { in extHint() 304 int rc, nbperpage = sbi->nbperpage; in extBalloc() local 320 if (*nblocks >= max && *nblocks > nbperpage) in extBalloc() 321 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc() 337 if (nb < nbperpage) in extBalloc()
|
H A D | jfs_dmap.c | 997 if (((rel_block = blkno & (sbi->nbperpage - 1))) && in dbExtend() 998 (rel_block + nblocks + addnblocks > sbi->nbperpage)) in dbExtend() 3367 int nbperpage = sbi->nbperpage; in dbExtendFS() local 3447 p = BMAPBLKNO + nbperpage; /* L2 page */ in dbExtendFS() 3463 for (; k < LPERCTL; k++, p += nbperpage) { in dbExtendFS() 3488 p += nbperpage; /* 1st L0 of L1.k */ in dbExtendFS() 3522 p += nbperpage; /* 1st dmap of L0.j */ in dbExtendFS() 3560 p += nbperpage; in dbExtendFS()
|
H A D | jfs_incore.h | 170 short nbperpage; /* blocks per page */ member
|
H A D | jfs_imap.c | 351 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead() 356 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead() 623 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite() 628 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite() 2272 for (i = 0; i < imap->im_nbperiext; i += sbi->nbperpage) { in diNewExt() 2509 xlen = sbi->nbperpage; in diNewIAG()
|
H A D | jfs_dtree.c | 372 if (dquot_alloc_block(ip, sbi->nbperpage)) in add_index() 374 if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr)) { in add_index() 375 dquot_free_block(ip, sbi->nbperpage); in add_index() 393 if (xtInsert(tid, ip, 0, 0, sbi->nbperpage, &xaddr, 0)) { in add_index() 398 dbFree(ip, xaddr, sbi->nbperpage); in add_index() 399 dquot_free_block(ip, sbi->nbperpage); in add_index() 440 if (xtInsert(tid, ip, 0, blkno, sbi->nbperpage, &xaddr, 0)) { in add_index() 1075 xlen = sbi->nbperpage; in dtSplitUp()
|
H A D | resize.c | 382 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
|
H A D | jfs_metapage.c | 347 int blocks_per_mp = JFS_SBI(inode->i_sb)->nbperpage; in metapage_write_folio() 421 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_write_folio()
|
H A D | jfs_mount.c | 378 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
|
H A D | jfs_xtree.c | 743 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp() 835 split->len = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp() 883 JFS_SBI(ip->i_sb)->nbperpage, rcbn); in xtSplitUp() 1304 XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); in xtSplitRoot() 2012 nblocks = JFS_SBI(ip->i_sb)->nbperpage; in xtAppend()
|
H A D | xattr.c | 246 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_write() 386 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_read()
|
H A D | jfs_logmgr.c | 2400 bp->l_blkno = logAddress + sbi->nbperpage; in lmLogFormat() 2442 bp->l_blkno += sbi->nbperpage; in lmLogFormat() 2455 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
|
H A D | namei.c | 1010 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()
|