Searched refs:nbperpage (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/fs/jfs/ |
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 315 if (*nblocks >= max && *nblocks > nbperpage) in extBalloc() 316 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc() 332 if (nb < nbperpage) in extBalloc()
|
D | jfs_dmap.c | 982 if (((rel_block = blkno & (sbi->nbperpage - 1))) && in dbExtend() 983 (rel_block + nblocks + addnblocks > sbi->nbperpage)) in dbExtend() 3333 int nbperpage = sbi->nbperpage; in dbExtendFS() local 3413 p = BMAPBLKNO + nbperpage; /* L2 page */ in dbExtendFS() 3429 for (; k < LPERCTL; k++, p += nbperpage) { in dbExtendFS() 3454 p += nbperpage; /* 1st L0 of L1.k */ in dbExtendFS() 3488 p += nbperpage; /* 1st dmap of L0.j */ in dbExtendFS() 3526 p += nbperpage; in dbExtendFS()
|
D | jfs_incore.h | 170 short nbperpage; /* blocks per page */ member
|
D | jfs_imap.c | 347 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead() 352 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead() 619 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite() 624 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite() 2262 for (i = 0; i < imap->im_nbperiext; i += sbi->nbperpage) { in diNewExt() 2499 xlen = sbi->nbperpage; in diNewIAG()
|
D | resize.c | 382 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
|
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() 1068 xlen = sbi->nbperpage; in dtSplitUp()
|
D | jfs_mount.c | 374 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
|
D | jfs_metapage.c | 341 int blocks_per_mp = JFS_SBI(inode->i_sb)->nbperpage; in metapage_writepage() 418 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
|
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()
|
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()
|
D | jfs_logmgr.c | 2395 bp->l_blkno = logAddress + sbi->nbperpage; in lmLogFormat() 2437 bp->l_blkno += sbi->nbperpage; in lmLogFormat() 2450 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
|
D | namei.c | 1004 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()
|