Lines Matching refs:DBWORD
511 wbitno = dbitno & (DBWORD - 1); in dbUpdatePMap()
512 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap()
515 if (nbits < DBWORD) { in dbUpdatePMap()
520 (ONES << (DBWORD - nbits) >> wbitno); in dbUpdatePMap()
1127 wbitno = dbitno & (DBWORD - 1); in dbAllocNext()
1128 nb = min(rembits, DBWORD - wbitno); in dbAllocNext()
1132 if (nb < DBWORD) { in dbAllocNext()
1135 mask = (ONES << (DBWORD - nb) >> wbitno); in dbAllocNext()
2167 wbitno = dbitno & (DBWORD - 1); in dbAllocBits()
2168 nb = min(rembits, DBWORD - wbitno); in dbAllocBits()
2172 if (nb < DBWORD) { in dbAllocBits()
2176 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2316 wbitno = dbitno & (DBWORD - 1); in dbFreeBits()
2317 nb = min(rembits, DBWORD - wbitno); in dbFreeBits()
2321 if (nb < DBWORD) { in dbFreeBits()
2326 cpu_to_le32(~(ONES << (DBWORD - nb) in dbFreeBits()
2995 assert(nb <= DBWORD); in dbFindBits()
3001 mask = ONES << (DBWORD - nb); in dbFindBits()
3259 wbitno = dbitno & (DBWORD - 1); in dbAllocDmapBU()
3260 nb = min(rembits, DBWORD - wbitno); in dbAllocDmapBU()
3264 if (nb < DBWORD) { in dbAllocDmapBU()
3268 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
3735 b = blkno & (DBWORD - 1); in dbInitDmap()
3737 nb = min(r, DBWORD - b); in dbInitDmap()
3740 if (nb < DBWORD) { in dbInitDmap()
3742 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3744 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3773 b = blkno & (DBWORD - 1); in dbInitDmap()