Lines Matching refs:ONES
516 (ONES << (DBWORD - nbits) >> wbitno); in dbUpdatePMap()
540 memset(&dp->pmap[word], (int) ONES, in dbUpdatePMap()
1131 mask = (ONES << (DBWORD - nb) >> wbitno); in dbAllocNext()
2185 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2204 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocBits()
2335 cpu_to_le32(~(ONES << (DBWORD - nb) in dbFreeBits()
3027 mask = ONES << (DBWORD - nb); in dbFindBits()
3294 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
3305 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocDmapBU()
3768 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3770 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3802 dp->wmap[w] = dp->pmap[w] = cpu_to_le32(ONES >> b); in dbInitDmap()
3808 dp->pmap[i] = dp->wmap[i] = cpu_to_le32(ONES); in dbInitDmap()