/openbmc/qemu/tests/unit/ |
H A D | test-bitmap.c | 46 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/linux/tools/include/linux/ |
H A D | find.h | 108 #ifndef find_first_bit 118 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() function
|
H A D | bitops.h | 53 for ((bit) = find_first_bit((addr), (size)); \
|
H A D | bitmap.h | 55 return find_first_bit(src, nbits) == nbits; in bitmap_empty()
|
/openbmc/qemu/target/s390x/ |
H A D | cpu_features.c | 102 feat = find_first_bit(features, S390_FEAT_MAX); in s390_fill_feat_block() 175 le_bit = find_first_bit((unsigned long *) data, nr_bits); in s390_add_from_feat_block() 208 feat = find_first_bit(bitmap, S390_FEAT_MAX); in s390_feat_bitmap_to_ascii()
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | bitops.h | 388 static inline int find_first_bit(const unsigned long *vaddr, unsigned size) in find_first_bit() function 411 #define find_first_bit find_first_bit macro 439 return offset + find_first_bit(p, size - offset); in find_next_bit()
|
/openbmc/linux/security/selinux/ss/ |
H A D | ebitmap.h | 53 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_start_positive() 76 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_next_positive()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | bitops.h | 204 #define find_first_bit(p,sz) _find_first_bit_le(p,sz) macro 213 #define find_first_bit(p,sz) _find_first_bit_be(p,sz) macro
|
/openbmc/linux/arch/powerpc/platforms/pasemi/ |
H A D | dma_lib.c | 141 bit = find_first_bit(rxch_free, MAX_RXCH); in pasemi_alloc_rx_chan() 380 bit = find_first_bit(flags_free, MAX_FLAGS); in pasemi_dma_alloc_flag() 445 bit = find_first_bit(fun_free, MAX_FLAGS); in pasemi_dma_alloc_fun()
|
/openbmc/linux/include/linux/ |
H A D | find.h | 190 #ifndef find_first_bit 200 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() function 433 bit = find_first_bit(addr, offset); in find_next_bit_wrap()
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 207 stripe_exp = find_first_bit(&stripe_sz, 32); in mpt3sas_init_warpdrive_properties() 217 block_exp = find_first_bit(&block_sz, 16); in mpt3sas_init_warpdrive_properties()
|
/openbmc/linux/lib/ |
H A D | test_bitops.c | 93 bit_set = find_first_bit(g_bitmap, BITOPS_LAST); in test_bitops_startup()
|
H A D | find_bit_benchmark.c | 43 i = find_first_bit(bitmap, len); in test_find_first_bit()
|
H A D | find_bit.c | 95 #ifndef find_first_bit
|
/openbmc/linux/tools/lib/ |
H A D | find_bit.c | 70 #ifndef find_first_bit
|
H A D | bitmap.c | 39 rbot = cur = find_first_bit(bitmap, nbits); in bitmap_scnprintf()
|
/openbmc/linux/drivers/edac/ |
H A D | i7300_edac.c | 366 errnum = find_first_bit(&errors, in i7300_process_error_global() 382 errnum = find_first_bit(&errors, in i7300_process_error_global() 425 errnum = find_first_bit(&errors, in i7300_process_fbd_error() 461 errnum = find_first_bit(&errors, in i7300_process_fbd_error()
|
H A D | i5400_edac.c | 557 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_proccess_non_recoverable_info() 623 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info() 645 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info()
|
/openbmc/linux/kernel/trace/ |
H A D | pid_list.c | 88 int bit = find_first_bit((unsigned long *)chunk->data, in upper_empty() 248 if (find_first_bit(lower_chunk->data, LOWER_MAX) >= LOWER_MAX) { in trace_pid_list_clear()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_buddy.c | 85 seg = find_first_bit(buddy->bitmap[order_iter], m); in dr_buddy_find_free_seg()
|
/openbmc/linux/kernel/irq/ |
H A D | matrix.c | 265 bit = find_first_bit(m->scratch_map, end); in irq_matrix_remove_managed() 303 bit = find_first_bit(m->scratch_map, end); in irq_matrix_alloc_managed()
|
/openbmc/qemu/hw/intc/ |
H A D | loongarch_extioi.c | 37 found = find_first_bit(s->cpu[cpu].sw_isr[ipnum], EXTIOI_IRQS); in extioi_update_irq() 46 found = find_first_bit(s->cpu[cpu].sw_isr[ipnum], EXTIOI_IRQS); in extioi_update_irq()
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | apei.c | 43 lsb = find_first_bit((void *)&mem_err->physical_addr_mask, PAGE_SHIFT); in apei_mce_report_mem_error()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_db.c | 100 i = find_first_bit(pgdir->bits[o], HNS_ROCE_DB_PER_PAGE >> o); in hns_roce_alloc_db_from_pgdir()
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | quorum.c | 98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision()
|