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()89 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_ll() local92 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()96 mask_to_set = ~0UL; in bitmap_set_ll()100 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in bitmap_set_ll()101 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()
275 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() local278 *p |= mask_to_set; in __bitmap_set()281 mask_to_set = ~0UL; in __bitmap_set()285 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()286 *p |= mask_to_set; in __bitmap_set()