Home
last modified time | relevance | path

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

1234567

/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/linux/tools/include/linux/
H A Dfind.h108 #ifndef find_first_bit
118 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() function
H A Dbitops.h53 for ((bit) = find_first_bit((addr), (size)); \
H A Dbitmap.h55 return find_first_bit(src, nbits) == nbits; in bitmap_empty()
/openbmc/qemu/target/s390x/
H A Dcpu_features.c102 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 Dbitops.h388 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 Debitmap.h53 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 Dbitops.h204 #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 Ddma_lib.c141 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 Dfind.h190 #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 Dmpt3sas_warpdrive.c207 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 Dtest_bitops.c93 bit_set = find_first_bit(g_bitmap, BITOPS_LAST); in test_bitops_startup()
H A Dfind_bit_benchmark.c43 i = find_first_bit(bitmap, len); in test_find_first_bit()
H A Dfind_bit.c95 #ifndef find_first_bit
/openbmc/linux/tools/lib/
H A Dfind_bit.c70 #ifndef find_first_bit
H A Dbitmap.c39 rbot = cur = find_first_bit(bitmap, nbits); in bitmap_scnprintf()
/openbmc/linux/drivers/edac/
H A Di7300_edac.c366 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 Di5400_edac.c557 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 Dpid_list.c88 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 Ddr_buddy.c85 seg = find_first_bit(buddy->bitmap[order_iter], m); in dr_buddy_find_free_seg()
/openbmc/linux/kernel/irq/
H A Dmatrix.c265 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 Dloongarch_extioi.c37 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 Dapei.c43 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 Dhns_roce_db.c100 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 Dquorum.c98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision()

1234567