Lines Matching refs:DBWORD
488 wbitno = dbitno & (DBWORD - 1); in dbUpdatePMap()
489 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap()
492 if (nbits < DBWORD) { in dbUpdatePMap()
497 (ONES << (DBWORD - nbits) >> wbitno); in dbUpdatePMap()
1104 wbitno = dbitno & (DBWORD - 1); in dbAllocNext()
1105 nb = min(rembits, DBWORD - wbitno); in dbAllocNext()
1109 if (nb < DBWORD) { in dbAllocNext()
1112 mask = (ONES << (DBWORD - nb) >> wbitno); in dbAllocNext()
2141 wbitno = dbitno & (DBWORD - 1); in dbAllocBits()
2142 nb = min(rembits, DBWORD - wbitno); in dbAllocBits()
2146 if (nb < DBWORD) { in dbAllocBits()
2150 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2290 wbitno = dbitno & (DBWORD - 1); in dbFreeBits()
2291 nb = min(rembits, DBWORD - wbitno); in dbFreeBits()
2295 if (nb < DBWORD) { in dbFreeBits()
2300 cpu_to_le32(~(ONES << (DBWORD - nb) in dbFreeBits()
2969 assert(nb <= DBWORD); in dbFindBits()
2975 mask = ONES << (DBWORD - nb); in dbFindBits()
3233 wbitno = dbitno & (DBWORD - 1); in dbAllocDmapBU()
3234 nb = min(rembits, DBWORD - wbitno); in dbAllocDmapBU()
3238 if (nb < DBWORD) { in dbAllocDmapBU()
3242 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
3709 b = blkno & (DBWORD - 1); in dbInitDmap()
3711 nb = min(r, DBWORD - b); in dbInitDmap()
3714 if (nb < DBWORD) { in dbInitDmap()
3716 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3718 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3747 b = blkno & (DBWORD - 1); in dbInitDmap()