Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_extent.c207 int rc, nbperpage = JFS_SBI(sb)->nbperpage; in extRealloc() local
267 if (abnr && (!(xp->flag & XAD_NOTRECORDED)) && (nxlen > nbperpage)) { in extRealloc()
268 ntail = nbperpage; in extRealloc()
270 ninsert = nxlen - nbperpage; in extRealloc()
354 int nbperpage = JFS_SBI(sb)->nbperpage; in extHint() local
367 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
374 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0); in extHint()
377 if (xlen != nbperpage) { in extHint()
445 int rc, nbperpage = JFS_SBI(ip->i_sb)->nbperpage; in extFill() local
454 if ((rc = extAlloc(ip, nbperpage, blkno, xp, false))) in extFill()
[all …]
Djfs_dmap.c1065 if (((rel_block = blkno & (sbi->nbperpage - 1))) && in dbExtend()
1066 (rel_block + nblocks + addnblocks > sbi->nbperpage)) in dbExtend()
3426 int nbperpage = sbi->nbperpage; in dbExtendFS() local
3506 p = BMAPBLKNO + nbperpage; /* L2 page */ in dbExtendFS()
3522 for (; k < LPERCTL; k++, p += nbperpage) { in dbExtendFS()
3547 p += nbperpage; /* 1st L0 of L1.k */ in dbExtendFS()
3581 p += nbperpage; /* 1st dmap of L0.j */ in dbExtendFS()
3619 p += nbperpage; in dbExtendFS()
Djfs_incore.h162 short nbperpage; /* blocks per page */ member
Djfs_imap.c350 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
355 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
622 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
627 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
2271 for (i = 0; i < imap->im_nbperiext; i += sbi->nbperpage) { in diNewExt()
2508 xlen = sbi->nbperpage; in diNewIAG()
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()
1073 xlen = sbi->nbperpage; in dtSplitUp()
Djfs_metapage.c340 int blocks_per_mp = JFS_SBI(inode->i_sb)->nbperpage; in metapage_writepage()
417 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
Dresize.c383 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
Djfs_mount.c376 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
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_xtree.c754 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
846 split->len = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
894 JFS_SBI(ip->i_sb)->nbperpage, rcbn); in xtSplitUp()
1315 XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); in xtSplitRoot()
2227 nblocks = JFS_SBI(ip->i_sb)->nbperpage; in xtAppend()
2483 (s64) JFS_SBI(ip->i_sb)->nbperpage); in xtDeleteUp()
Djfs_logmgr.c2410 bp->l_blkno = logAddress + sbi->nbperpage; in lmLogFormat()
2452 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
2465 bp->l_blkno += sbi->nbperpage; in lmLogFormat()
Dnamei.c1008 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()