Lines Matching refs:ONES
512 (ONES << (DBWORD - nbits) >> wbitno); in dbUpdatePMap()
536 memset(&dp->pmap[word], (int) ONES, in dbUpdatePMap()
1127 mask = (ONES << (DBWORD - nb) >> wbitno); in dbAllocNext()
2165 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2184 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocBits()
2315 cpu_to_le32(~(ONES << (DBWORD - nb) in dbFreeBits()
2990 mask = ONES << (DBWORD - nb); in dbFindBits()
3257 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
3268 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocDmapBU()
3731 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3733 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) 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()