Home
last modified time | relevance | path

Searched refs:find_first_bit (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-bitmap.c46 g_assert_cmpint(find_first_bit(bmap2, 60), ==, 60); in check_bitmap_copy_with_offset()
52 g_assert_cmpint(find_first_bit(bmap3, 135), ==, 135); in check_bitmap_copy_with_offset()
73 g_assert_cmpint(find_first_bit(bmap, 2 * BITS_PER_LONG), in bitmap_set_case()
85 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), ==, BITS_PER_LONG); in bitmap_set_case()
95 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), in bitmap_set_case()
109 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), in bitmap_set_case()
/openbmc/qemu/target/s390x/
H A Dcpu_features.c103 feat = find_first_bit(features, S390_FEAT_MAX); in s390_fill_feat_block()
176 le_bit = find_first_bit((unsigned long *) data, nr_bits); in s390_add_from_feat_block()
209 feat = find_first_bit(bitmap, S390_FEAT_MAX); in s390_feat_bitmap_to_ascii()
/openbmc/qemu/hw/intc/
H A Dloongarch_extioi.c52 found = find_first_bit(s->cpu[cpu].sw_isr[ipnum], EXTIOI_IRQS); in extioi_update_irq()
61 found = find_first_bit(s->cpu[cpu].sw_isr[ipnum], EXTIOI_IRQS); in extioi_update_irq()
/openbmc/qemu/util/
H A Dthread-context.c156 value = find_first_bit(bitmap, nbits); in thread_context_get_cpu_affinity()
H A Dqemu-thread-posix.c457 value = find_first_bit(host_cpus, nbits); in qemu_thread_set_affinity()
/openbmc/qemu/include/qemu/
H A Dbitops.h228 static inline unsigned long find_first_bit(const unsigned long *addr, in find_first_bit() function
/openbmc/qemu/backends/
H A Dhostmem.c93 value = find_first_bit(backend->host_nodes, MAX_NODES); in host_memory_backend_get_host_nodes()
/openbmc/qemu/hw/ufs/
H A Dufs.c340 slot = find_first_bit(doorbell, nutrs); in ufs_process_db()