Home
last modified time | relevance | path

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

/linux-4.19.296/lib/
Dgenalloc.c45 static int set_bits_ll(unsigned long *addr, unsigned long mask_to_set) in set_bits_ll() argument
52 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() local
94 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()
Dbitmap.c260 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() local
263 *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()
/linux-4.19.296/fs/btrfs/
Dfree-space-tree.c164 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(start); in le_bitmap_set() local
167 *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()
Dextent_io.c5810 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(pos); in extent_buffer_bitmap_set() local
5818 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()