Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/
A Dgenalloc.c44 set_bits_ll(unsigned long *addr, unsigned long mask_to_set) in set_bits_ll() argument
49 if (val & mask_to_set) in set_bits_ll()
52 } while (!try_cmpxchg(addr, &val, val | mask_to_set)); in set_bits_ll()
88 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_ll() local
91 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()
95 mask_to_set = ~0UL; in bitmap_set_ll()
99 mask_to_set &= BITMAP_LAST_WORD_MASK(size); in bitmap_set_ll()
100 if (set_bits_ll(p, mask_to_set)) in bitmap_set_ll()
A Dbitmap.c367 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() local
370 *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()
/linux-6.3-rc2/fs/btrfs/
A Dfree-space-tree.c189 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(start); in le_bitmap_set() local
192 *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()
A Dextent_io.c4976 u8 mask_to_set = BITMAP_FIRST_BYTE_MASK(pos); in extent_buffer_bitmap_set() local
4984 kaddr[offset] |= mask_to_set; in extent_buffer_bitmap_set()
4987 mask_to_set = ~0; in extent_buffer_bitmap_set()
4996 mask_to_set &= BITMAP_LAST_BYTE_MASK(size); in extent_buffer_bitmap_set()
4997 kaddr[offset] |= mask_to_set; in extent_buffer_bitmap_set()
/linux-6.3-rc2/fs/ntfs3/
A Dbitmap.c1521 bitmap_ulong mask_to_set = cpu_to_ul(BITMAP_FIRST_WORD_MASK(start)); in ntfs_bitmap_set_le() local
1524 *p |= mask_to_set; in ntfs_bitmap_set_le()
1527 mask_to_set = cpu_to_ul(~0UL); in ntfs_bitmap_set_le()
1531 mask_to_set &= cpu_to_ul(BITMAP_LAST_WORD_MASK(size)); in ntfs_bitmap_set_le()
1532 *p |= mask_to_set; in ntfs_bitmap_set_le()

Completed in 27 milliseconds