Home
last modified time | relevance | path

Searched refs:mask_to_set (Results 1 – 2 of 2) sorted by relevance

/lib/
Dgenalloc.c43 static int set_bits_ll(unsigned long *addr, unsigned long mask_to_set) in set_bits_ll() argument
50 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() local
93 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()
Dbitmap.c367 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() local
370 *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()