Lines Matching refs:wmap
1128 if ((mask & ~le32_to_cpu(dp->wmap[word])) != mask) in dbAllocNext()
1239 dbFindBits(le32_to_cpu(dp->wmap[word]), l2nb); in dbAllocNear()
1965 blkno += dbFindBits(le32_to_cpu(dp->wmap[leafidx]), l2nb); in dbAllocDmapLev()
2165 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2174 dbMaxBud((u8 *) & dp->wmap[word])); in dbAllocBits()
2184 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocBits()
2314 dp->wmap[word] &= in dbFreeBits()
2321 dbMaxBud((u8 *) & dp->wmap[word])); in dbFreeBits()
2332 memset(&dp->wmap[word], 0, nwords * 4); in dbFreeBits()
3257 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
3268 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocDmapBU()
3705 memset(&dp->wmap[0], 0, LPERDMAP * 4); in dbInitDmap()
3731 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3741 memset(&dp->wmap[w], 0, nw * 4); in dbInitDmap()
3765 dp->wmap[w] = dp->pmap[w] = cpu_to_le32(ONES >> b); in dbInitDmap()
3771 dp->pmap[i] = dp->wmap[i] = cpu_to_le32(ONES); in dbInitDmap()
3815 *cp++ = dbMaxBud((u8 *) & dp->wmap[i]); in dbInitDmapTree()