Lines Matching defs:addnblocks
87 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks);
922 * addnblocks - number of blocks to add to the allocation.
936 s64 blkno, s64 nblocks, s64 addnblocks, s64 * results)
942 if ((rc = dbExtend(ip, blkno, nblocks, addnblocks)) == 0) {
956 (ip, blkno + nblocks - 1, addnblocks + nblocks, results));
976 * addnblocks - number of blocks to add to the allocation.
983 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks)
998 (rel_block + nblocks + addnblocks > sbi->nbperpage))
1027 if (addnblocks > BPERDMAP || extblkno >= bmp->db_mapsize ||
1048 rc = dbAllocNext(bmp, dp, extblkno, (int) addnblocks);