| /linux/rust/helpers/ |
| H A D | bitops.c | 50 #ifdef find_first_bit 54 return find_first_bit(addr, size); in _find_first_bit()
|
| /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 | 55 for ((bit) = find_first_bit((addr), (size)); \
|
| H A D | bitmap.h | 57 return find_first_bit(src, nbits) == nbits; in bitmap_empty()
|
| /linux/arch/m68k/include/asm/ |
| H A D | bitops.h | 410 static inline unsigned long find_first_bit(const unsigned long *vaddr, in find_first_bit() function 434 #define find_first_bit find_first_bit macro 463 return offset + find_first_bit(p, size - offset); in find_next_bit()
|
| /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
|
| /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()
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_warpdrive.c | 206 stripe_exp = find_first_bit(&stripe_sz, 32); in mpt3sas_init_warpdrive_properties() 216 block_exp = find_first_bit(&block_sz, 16); in mpt3sas_init_warpdrive_properties()
|
| /linux/lib/ |
| H A D | test_bitops.c | 119 bit_set = find_first_bit(g_bitmap, BITOPS_LAST);
|
| H A D | find_bit_benchmark.c | 43 i = find_first_bit(bitmap, len); in test_find_first_bit()
|
| /linux/tools/lib/ |
| H A D | find_bit.c | 70 #ifndef find_first_bit
|
| /linux/kernel/irq/ |
| H A D | matrix.c | 271 bit = find_first_bit(m->scratch_map, end); in irq_matrix_remove_managed() 309 bit = find_first_bit(m->scratch_map, end); in irq_matrix_alloc_managed()
|
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | apei.c | 44 lsb = find_first_bit((void *)&mem_err->physical_addr_mask, PAGE_SHIFT); in apei_mce_report_mem_error()
|
| /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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | alloc.c | 169 i = find_first_bit(pgdir->bitmap, db_per_page); in mlx5_alloc_db_from_pgdir()
|
| H A D | uar.c | 242 dbi = find_first_bit(bitmap, up->bfregs); in alloc_bfreg()
|
| /linux/fs/ocfs2/dlm/ |
| H A D | dlmmaster.c | 864 bit = find_first_bit(dlm->recovery_map, O2NM_MAX_NODES); in dlm_get_lock_resource() 915 bit = find_first_bit(dlm->recovery_map, O2NM_MAX_NODES); in dlm_get_lock_resource() 1082 bit = find_first_bit(mle->maybe_map, O2NM_MAX_NODES); in dlm_wait_for_lock_mastery() 1237 int lowest = find_first_bit(mle->maybe_map, in dlm_restart_lock_mastery() 1789 int bit = find_first_bit(mle->maybe_map, O2NM_MAX_NODES); in dlm_assert_master_handler() 2513 node_ref = find_first_bit(res->refmap, O2NM_MAX_NODES); in dlm_is_lockres_migratable() 3295 bit = find_first_bit(mle->maybe_map, O2NM_MAX_NODES); in dlm_clean_block_mle() 3534 BUG_ON((find_first_bit(dlm->domain_map, O2NM_MAX_NODES) < O2NM_MAX_NODES)); in dlm_force_free_mles()
|
| /linux/drivers/xen/events/ |
| H A D | events_fifo.c | 329 q = find_first_bit(&ready, EVTCHN_FIFO_MAX_QUEUES); in __evtchn_fifo_handle_events()
|
| H A D | events_2l.c | 39 #define EVTCHN_FIRST_BIT(w) find_first_bit(BM(&(w)), BITS_PER_EVTCHN_WORD)
|
| /linux/arch/loongarch/kvm/intc/ |
| H A D | eiointc.c | 59 found = find_first_bit(s->sw_coreisr[cpu][ipnum], EIOINTC_IRQS); in eiointc_update_irq() 64 found = find_first_bit(s->sw_coreisr[cpu][ipnum], EIOINTC_IRQS); in eiointc_update_irq()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | pool.c | 248 chunk->offset = find_first_bit(bitmap, size); in hws_pool_bitmap_db_get_chunk()
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_pipeline.c | 148 id = find_first_bit(&comp_mask_local, 32); in komeda_pipeline_get_first_component()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | fault.c | 172 bit = find_first_bit(fault->opcodes, bitsize); in fault_opcodes_read()
|
| /linux/kernel/trace/ |
| H A D | pid_list.c | 250 if (find_first_bit(lower_chunk->data, LOWER_MAX) >= LOWER_MAX) { in trace_pid_list_clear()
|
| /linux/drivers/perf/hisilicon/ |
| H A D | hisi_uncore_l3c_pmu.c | 410 unsigned long used_cntr = find_first_bit(used_mask, l3c_pmu->num_counters); in hisi_l3c_pmu_start_counters() 441 unsigned long used_cntr = find_first_bit(used_mask, l3c_pmu->num_counters); in hisi_l3c_pmu_stop_counters()
|