Searched refs:mask_to_set (Results 1 – 4 of 4) 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()
184 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(start); in le_bitmap_set() local187 *p |= mask_to_set; in le_bitmap_set()190 mask_to_set = ~0; in le_bitmap_set()194 mask_to_set &= BITMAP_LAST_BYTE_MASK(size); in le_bitmap_set()195 *p |= mask_to_set; in le_bitmap_set()
5516 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(pos); in extent_buffer_bitmap_set() local5524 kaddr[offset] |= mask_to_set; in extent_buffer_bitmap_set()5527 mask_to_set = ~0; in extent_buffer_bitmap_set()5536 mask_to_set &= BITMAP_LAST_BYTE_MASK(size); in extent_buffer_bitmap_set()5537 kaddr[offset] |= mask_to_set; in extent_buffer_bitmap_set()