Searched refs:mask_to_set (Results 1 – 6 of 6) sorted by relevance
8 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() local11 *p |= mask_to_set; in __bitmap_set()14 mask_to_set = ~0UL; in __bitmap_set()18 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in __bitmap_set()19 *p |= mask_to_set; in __bitmap_set()
165 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set() local170 *p |= mask_to_set; in bitmap_set()173 mask_to_set = ~0UL; in bitmap_set()177 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in bitmap_set()178 *p |= mask_to_set; in bitmap_set()187 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_atomic() local193 qatomic_or(p, mask_to_set); in bitmap_set_atomic()196 mask_to_set = ~0UL; in bitmap_set_atomic()211 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in bitmap_set_atomic()212 qatomic_or(p, mask_to_set); in bitmap_set_atomic()
46 set_bits_ll(unsigned long *addr, unsigned long mask_to_set) in set_bits_ll() argument51 if (val & mask_to_set) in set_bits_ll()54 } while (!try_cmpxchg(addr, &val, val | mask_to_set)); 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()
189 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(start); in le_bitmap_set() local192 *p |= mask_to_set; in le_bitmap_set()195 mask_to_set = ~0; in le_bitmap_set()199 mask_to_set &= BITMAP_LAST_BYTE_MASK(size); in le_bitmap_set()200 *p |= mask_to_set; in le_bitmap_set()
1524 bitmap_ulong mask_to_set = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_set_le() local1527 *p |= mask_to_set; in ntfs_bitmap_set_le()1530 mask_to_set = cpu_to_ul(~0UL); in ntfs_bitmap_set_le()1534 mask_to_set &= cpu_to_ul(BITMAP_LAST_WORD_MASK(size)); in ntfs_bitmap_set_le()1535 *p |= mask_to_set; in ntfs_bitmap_set_le()