Lines Matching refs:BPERDMAP

417 		nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1)));  in dbFree()
514 dbitno = blkno & (BPERDMAP - 1); in dbUpdatePMap()
516 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
829 if (nblocks <= BPERDMAP) { in dbAlloc()
980 if (nblocks <= 0 || nblocks > BPERDMAP || blkno >= bmp->db_mapsize) { in dbAllocExact()
1141 if (addnblocks > BPERDMAP || extblkno >= bmp->db_mapsize || in dbExtend()
1221 dbitno = blkno & (BPERDMAP - 1); in dbAllocNext()
1227 if (dbitno + nblocks > BPERDMAP) in dbAllocNext()
1351 word = (blkno & (BPERDMAP - 1)) >> L2DBWORD; in dbAllocNear()
1483 if (bmp->db_agsize == BPERDMAP in dbAllocAG()
1849 assert((blkno & (BPERDMAP - 1)) == 0); in dbAllocCtl()
1876 nb = min(n, (s64)BPERDMAP); in dbAllocCtl()
1906 n -= BPERDMAP, b += BPERDMAP) { in dbAllocCtl()
1923 if (dbFreeDmap(bmp, dp, b, BPERDMAP)) { in dbAllocCtl()
2110 word = (blkno & (BPERDMAP - 1)) >> L2DBWORD; in dbFreeDmap()
2163 dbitno = blkno & (BPERDMAP - 1); in dbAllocBits()
2167 assert(dbitno + nblocks <= BPERDMAP); in dbAllocBits()
2306 dbitno = blkno & (BPERDMAP - 1); in dbFreeBits()
2311 assert(dbitno + nblocks <= BPERDMAP); in dbFreeBits()
2411 bmp->db_agfree[agno] == (bmp-> db_mapsize & (BPERDMAP - 1)))) { in dbFreeBits()
3196 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbAllocBottomUp()
3238 dbitno = blkno & (BPERDMAP - 1); in dbAllocDmapBU()
3242 assert(dbitno + nblocks <= BPERDMAP); in dbAllocDmapBU()
3512 if ((n = blkno & (BPERDMAP - 1))) { in dbExtendFS()
3518 n = min(nblocks, (s64)BPERDMAP - n); in dbExtendFS()
3526 n = min(nblocks, (s64)BPERDMAP); in dbExtendFS()
3712 blkno = Blkno & (BPERDMAP - 1); in dbInitDmap()
3718 if (nblocks == BPERDMAP) { in dbInitDmap()
3770 if (blkno == BPERDMAP) in dbInitDmap()
3971 if (nblocks < BPERDMAP * MAXAG) in dbGetL2AGSize()
4082 cur_block += BPERDMAP, d += LPERDMAP) { in DBinitmap()