Lines Matching refs:BPERDMAP

376 		nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1)));  in dbFree()
472 dbitno = blkno & (BPERDMAP - 1); in dbUpdatePMap()
474 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
770 if (nblocks <= BPERDMAP) { in dbAlloc()
997 if (addnblocks > BPERDMAP || extblkno >= bmp->db_mapsize || in dbExtend()
1072 dbitno = blkno & (BPERDMAP - 1); in dbAllocNext()
1078 if (dbitno + nblocks > BPERDMAP) in dbAllocNext()
1201 word = (blkno & (BPERDMAP - 1)) >> L2DBWORD; in dbAllocNear()
1332 if (bmp->db_agsize == BPERDMAP in dbAllocAG()
1805 assert((blkno & (BPERDMAP - 1)) == 0); in dbAllocCtl()
1832 nb = min_t(s64, n, BPERDMAP); in dbAllocCtl()
1862 n -= BPERDMAP, b += BPERDMAP) { in dbAllocCtl()
1879 if (dbFreeDmap(bmp, dp, b, BPERDMAP)) { in dbAllocCtl()
2065 word = (blkno & (BPERDMAP - 1)) >> L2DBWORD; in dbFreeDmap()
2118 dbitno = blkno & (BPERDMAP - 1); in dbAllocBits()
2122 assert(dbitno + nblocks <= BPERDMAP); in dbAllocBits()
2262 dbitno = blkno & (BPERDMAP - 1); in dbFreeBits()
2267 assert(dbitno + nblocks <= BPERDMAP); in dbFreeBits()
2371 bmp->db_agfree[agno] == (bmp-> db_mapsize & (BPERDMAP - 1)))) { in dbFreeBits()
3175 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbAllocBottomUp()
3210 dbitno = blkno & (BPERDMAP - 1); in dbAllocDmapBU()
3214 assert(dbitno + nblocks <= BPERDMAP); in dbAllocDmapBU()
3484 if ((n = blkno & (BPERDMAP - 1))) { in dbExtendFS()
3490 n = min(nblocks, (s64)BPERDMAP - n); in dbExtendFS()
3498 n = min_t(s64, nblocks, BPERDMAP); in dbExtendFS()
3683 blkno = Blkno & (BPERDMAP - 1); in dbInitDmap()
3689 if (nblocks == BPERDMAP) { in dbInitDmap()
3740 if (blkno == BPERDMAP) in dbInitDmap()
3941 if (nblocks < BPERDMAP * MAXAG) in dbGetL2AGSize()