Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jfs/
Djfs_extent.c195 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()
Djfs_dmap.c982 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()
Djfs_incore.h170 short nbperpage; /* blocks per page */ member
Djfs_imap.c347 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()
Dresize.c382 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
Djfs_dtree.c372 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()
Djfs_mount.c374 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Djfs_metapage.c341 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()
Djfs_xtree.c743 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()
Dxattr.c246 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_write()
386 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_read()
Djfs_logmgr.c2395 bp->l_blkno = logAddress + sbi->nbperpage; in lmLogFormat()
2437 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
2450 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
Dnamei.c1004 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()