Lines Matching refs:DBWORD
493 wbitno = dbitno & (DBWORD - 1); in dbUpdatePMap()
494 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap()
497 if (nbits < DBWORD) { in dbUpdatePMap()
502 (ONES << (DBWORD - nbits) >> wbitno); in dbUpdatePMap()
1177 wbitno = dbitno & (DBWORD - 1); in dbAllocNext()
1178 nb = min(rembits, DBWORD - wbitno); in dbAllocNext()
1182 if (nb < DBWORD) { in dbAllocNext()
1185 mask = (ONES << (DBWORD - nb) >> wbitno); in dbAllocNext()
2214 wbitno = dbitno & (DBWORD - 1); in dbAllocBits()
2215 nb = min(rembits, DBWORD - wbitno); in dbAllocBits()
2219 if (nb < DBWORD) { in dbAllocBits()
2223 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2363 wbitno = dbitno & (DBWORD - 1); in dbFreeBits()
2364 nb = min(rembits, DBWORD - wbitno); in dbFreeBits()
2368 if (nb < DBWORD) { in dbFreeBits()
2373 cpu_to_le32(~(ONES << (DBWORD - nb) in dbFreeBits()
3038 assert(nb <= DBWORD); in dbFindBits()
3044 mask = ONES << (DBWORD - nb); in dbFindBits()
3302 wbitno = dbitno & (DBWORD - 1); in dbAllocDmapBU()
3303 nb = min(rembits, DBWORD - wbitno); in dbAllocDmapBU()
3307 if (nb < DBWORD) { in dbAllocDmapBU()
3311 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
3778 b = blkno & (DBWORD - 1); in dbInitDmap()
3780 nb = min(r, DBWORD - b); in dbInitDmap()
3783 if (nb < DBWORD) { in dbInitDmap()
3785 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3787 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3816 b = blkno & (DBWORD - 1); in dbInitDmap()