Lines Matching refs:db_mapsize
221 bmp->db_mapsize = le64_to_cpu(dbmp_le->dn_mapsize); in dbMount()
246 DBINITMAP(bmp->db_mapsize, ipbmap, &bmp->db_DBmap); in dbMount()
323 dbmp_le->dn_mapsize = cpu_to_le64(bmp->db_mapsize); in dbSync()
385 if (unlikely((blkno == 0) || (blkno + nblocks > bmp->db_mapsize))) { in dbFree()
419 DBALLOCCK(bmp->db_DBmap, bmp->db_mapsize, blkno, nb); in dbFree()
428 DBFREE(bmp->db_DBmap, bmp->db_mapsize, blkno, nb); in dbFree()
476 if (blkno + nblocks > bmp->db_mapsize) { in dbUpdatePMap()
773 mapSize = bmp->db_mapsize; in dbAlloc()
789 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, *results, in dbAlloc()
808 if (blkno >= bmp->db_mapsize) in dbAlloc()
849 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, in dbAlloc()
877 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, in dbAlloc()
892 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, in dbAlloc()
912 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, in dbAlloc()
932 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, *results, nblocks); in dbAlloc()
980 if (nblocks <= 0 || nblocks > BPERDMAP || blkno >= bmp->db_mapsize) { in dbAllocExact()
1006 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, blkno, nblocks); in dbAllocExact()
1126 if (lastblkno < 0 || lastblkno >= bmp->db_mapsize) { in dbExtend()
1141 if (addnblocks > BPERDMAP || extblkno >= bmp->db_mapsize || in dbExtend()
1157 DBALLOCCK(bmp->db_DBmap, bmp->db_mapsize, blkno, nblocks); in dbExtend()
1169 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, extblkno, in dbExtend()
2411 bmp->db_agfree[agno] == (bmp-> db_mapsize & (BPERDMAP - 1)))) { in dbFreeBits()
3172 ASSERT(nblocks <= bmp->db_mapsize - blkno); in dbAllocBottomUp()
3198 DBFREECK(bmp->db_DBmap, bmp->db_mapsize, blkno, nb); in dbAllocBottomUp()
3207 DBALLOC(bmp->db_DBmap, bmp->db_mapsize, blkno, nb); in dbAllocBottomUp()
3371 bmp->db_mapsize = newsize; in dbExtendFS()
3372 bmp->db_maxlevel = BMAPSZTOLEV(bmp->db_mapsize); in dbExtendFS()
3635 ag_rem = bmp->db_mapsize & (bmp->db_agsize - 1); /* ??? */ in dbFinalizeBmap()
4223 printk(" mapsize: %d%d\n", bmp->db_mapsize); in dbPrtMap()