Searched refs:mask_to_set (Results 1 – 4 of 4) sorted by relevance
45 static int set_bits_ll(unsigned long *addr, unsigned long mask_to_set) in set_bits_ll() argument52 if (val & mask_to_set) in set_bits_ll()55 } while ((nval = cmpxchg(addr, val, val | mask_to_set)) != val); in set_bits_ll()91 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_ll() local94 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()98 mask_to_set = ~0UL; in bitmap_set_ll()102 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in bitmap_set_ll()103 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()
260 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() local263 *p |= mask_to_set; in __bitmap_set()266 mask_to_set = ~0UL; in __bitmap_set()270 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()271 *p |= mask_to_set; in __bitmap_set()
164 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(start); in le_bitmap_set() local167 *p |= mask_to_set; in le_bitmap_set()170 mask_to_set = ~0; in le_bitmap_set()174 mask_to_set &= BITMAP_LAST_BYTE_MASK(size); in le_bitmap_set()175 *p |= mask_to_set; in le_bitmap_set()
5810 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(pos); in extent_buffer_bitmap_set() local5818 kaddr[offset] |= mask_to_set; in extent_buffer_bitmap_set()5821 mask_to_set = ~0; in extent_buffer_bitmap_set()5830 mask_to_set &= BITMAP_LAST_BYTE_MASK(size); in extent_buffer_bitmap_set()5831 kaddr[offset] |= mask_to_set; in extent_buffer_bitmap_set()