Home
last modified time | relevance | path

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

/lib/
Dgenalloc.c60 static int clear_bits_ll(unsigned long *addr, unsigned long mask_to_clear) in clear_bits_ll() argument
67 if ((val & mask_to_clear) != mask_to_clear) in clear_bits_ll()
70 } while ((nval = cmpxchg(addr, val, val & ~mask_to_clear)) != val); in clear_bits_ll()
127 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear_ll() local
130 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()
134 mask_to_clear = ~0UL; in bitmap_clear_ll()
138 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear_ll()
139 if (clear_bits_ll(p, mask_to_clear)) in bitmap_clear_ll()
Dbitmap.c279 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear() local
282 *p &= ~mask_to_clear; in bitmap_clear()
285 mask_to_clear = ~0UL; in bitmap_clear()
289 mask_to_clear &= BITMAP_LAST_WORD_MASK(size); in bitmap_clear()
290 *p &= ~mask_to_clear; in bitmap_clear()