Searched refs:mask_to_set (Results 1 – 2 of 2) sorted by relevance
43 static int set_bits_ll(unsigned long *addr, unsigned long mask_to_set) in set_bits_ll() argument50 if (val & mask_to_set) in set_bits_ll()53 } while ((nval = cmpxchg(addr, val, val | mask_to_set)) != val); in set_bits_ll()90 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_ll() local93 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()97 mask_to_set = ~0UL; in bitmap_set_ll()101 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in bitmap_set_ll()102 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()
367 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() local370 *p |= mask_to_set; in __bitmap_set()373 mask_to_set = ~0UL; in __bitmap_set()377 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()378 *p |= mask_to_set; in __bitmap_set()