Lines Matching refs:BPERDMAP
391 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree()
487 dbitno = blkno & (BPERDMAP - 1); in dbUpdatePMap()
489 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
785 if (nblocks <= BPERDMAP) { in dbAlloc()
1012 if (addnblocks > BPERDMAP || extblkno >= bmp->db_mapsize || in dbExtend()
1087 dbitno = blkno & (BPERDMAP - 1); in dbAllocNext()
1093 if (dbitno + nblocks > BPERDMAP) in dbAllocNext()
1216 word = (blkno & (BPERDMAP - 1)) >> L2DBWORD; in dbAllocNear()
1347 if (bmp->db_agsize == BPERDMAP in dbAllocAG()
1820 assert((blkno & (BPERDMAP - 1)) == 0); in dbAllocCtl()
1847 nb = min_t(s64, n, BPERDMAP); in dbAllocCtl()
1877 n -= BPERDMAP, b += BPERDMAP) { in dbAllocCtl()
1894 if (dbFreeDmap(bmp, dp, b, BPERDMAP)) { in dbAllocCtl()
2080 word = (blkno & (BPERDMAP - 1)) >> L2DBWORD; in dbFreeDmap()
2133 dbitno = blkno & (BPERDMAP - 1); in dbAllocBits()
2137 assert(dbitno + nblocks <= BPERDMAP); in dbAllocBits()
2277 dbitno = blkno & (BPERDMAP - 1); in dbFreeBits()
2282 assert(dbitno + nblocks <= BPERDMAP); in dbFreeBits()
2386 bmp->db_agfree[agno] == (bmp-> db_mapsize & (BPERDMAP - 1)))) { in dbFreeBits()
3190 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbAllocBottomUp()
3225 dbitno = blkno & (BPERDMAP - 1); in dbAllocDmapBU()
3229 assert(dbitno + nblocks <= BPERDMAP); in dbAllocDmapBU()
3499 if ((n = blkno & (BPERDMAP - 1))) { in dbExtendFS()
3505 n = min(nblocks, (s64)BPERDMAP - n); in dbExtendFS()
3513 n = min_t(s64, nblocks, BPERDMAP); in dbExtendFS()
3698 blkno = Blkno & (BPERDMAP - 1); in dbInitDmap()
3704 if (nblocks == BPERDMAP) { in dbInitDmap()
3755 if (blkno == BPERDMAP) in dbInitDmap()
3956 if (nblocks < BPERDMAP * MAXAG) in dbGetL2AGSize()