Home
last modified time | relevance | path

Searched refs:bits_to_clear (Results 1 – 1 of 1) 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 …]