Home
last modified time | relevance | path

Searched refs:bits_to_clear (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/util/
H A Dbitmap.c225 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear() local
230 while (nr - bits_to_clear >= 0) { in bitmap_clear()
232 nr -= bits_to_clear; in bitmap_clear()
233 bits_to_clear = BITS_PER_LONG; in bitmap_clear()
247 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_test_and_clear() local
254 if (nr - bits_to_clear > 0) { in bitmap_test_and_clear()
259 nr -= bits_to_clear; in bitmap_test_and_clear()
260 bits_to_clear = BITS_PER_LONG; in bitmap_test_and_clear()
265 if (bits_to_clear == BITS_PER_LONG) { in bitmap_test_and_clear()
292 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_test_and_clear_atomic() local
[all …]
/openbmc/linux/tools/testing/radix-tree/
H A Dbitmap.c9 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear() local
12 while (len - bits_to_clear >= 0) { in bitmap_clear()
14 len -= bits_to_clear; in bitmap_clear()
15 bits_to_clear = BITS_PER_LONG; in bitmap_clear()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dbitmap.c27 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear() local
30 while (len - bits_to_clear >= 0) { in __bitmap_clear()
32 len -= bits_to_clear; in __bitmap_clear()
33 bits_to_clear = BITS_PER_LONG; in __bitmap_clear()
/openbmc/linux/lib/
H A Dgenalloc.c125 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear_ll() local
128 while (nr >= bits_to_clear) { in bitmap_clear_ll()
131 nr -= bits_to_clear; in bitmap_clear_ll()
132 bits_to_clear = BITS_PER_LONG; in bitmap_clear_ll()
H A Dbitmap.c387 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear() local
390 while (len - bits_to_clear >= 0) { in __bitmap_clear()
392 len -= bits_to_clear; in __bitmap_clear()
393 bits_to_clear = BITS_PER_LONG; in __bitmap_clear()
/openbmc/linux/fs/btrfs/
H A Dextent_io.h291 u32 bits_to_clear, unsigned long page_ops);
H A Dextent-io-tree.c508 u32 bits_to_clear = bits & ~EXTENT_CTLBITS; in clear_state_bit() local
514 ret = add_extent_changeset(state, bits_to_clear, changeset, 0); in clear_state_bit()
516 state->state &= ~bits_to_clear; in clear_state_bit()
/openbmc/linux/fs/ntfs3/
H A Dbitmap.c1543 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in ntfs_bitmap_clear_le() local
1546 while (len - bits_to_clear >= 0) { in ntfs_bitmap_clear_le()
1548 len -= bits_to_clear; in ntfs_bitmap_clear_le()
1549 bits_to_clear = BITS_PER_LONG; in ntfs_bitmap_clear_le()
/openbmc/linux/drivers/video/fbdev/
H A Dsmscufx.c196 u32 bits_to_clear, u32 bits_to_set) in ufx_reg_clear_and_set_bits() argument
203 data &= (~bits_to_clear); in ufx_reg_clear_and_set_bits()