Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/tools/include/linux/
Dfind.h108 #ifndef find_first_bit
118 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() function
Dbitops.h55 for ((bit) = find_first_bit((addr), (size)); \
Dbitmap.h55 return find_first_bit(src, nbits) == nbits; in bitmap_empty()
/linux-6.12.1/arch/m68k/include/asm/
Dbitops.h409 static inline int find_first_bit(const unsigned long *vaddr, unsigned size) in find_first_bit() function
432 #define find_first_bit find_first_bit macro
460 return offset + find_first_bit(p, size - offset); in find_next_bit()
/linux-6.12.1/security/selinux/ss/
Debitmap.h55 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_start_positive()
77 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_next_positive()
/linux-6.12.1/arch/arm/include/asm/
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
/linux-6.12.1/arch/powerpc/platforms/pasemi/
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()
/linux-6.12.1/drivers/scsi/mpt3sas/
Dmpt3sas_warpdrive.c206 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-6.12.1/drivers/perf/arm_cspmu/
Dampere_cspmu.c156 idx = find_first_bit(cspmu->hw_events.used_ctrs, in ampere_cspmu_set_ev_filter()
193 idx = find_first_bit(cspmu->hw_events.used_ctrs, in ampere_cspmu_validate_event()
/linux-6.12.1/include/linux/
Dfind.h192 #ifndef find_first_bit
202 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() function
460 bit = find_first_bit(addr, offset); in find_next_bit_wrap()
/linux-6.12.1/tools/lib/
Dfind_bit.c70 #ifndef find_first_bit
Dbitmap.c39 rbot = cur = find_first_bit(bitmap, nbits); in bitmap_scnprintf()
/linux-6.12.1/drivers/edac/
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()
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()
/linux-6.12.1/lib/
Dtest_bitops.c119 bit_set = find_first_bit(g_bitmap, BITOPS_LAST); in test_bitops_startup()
Dfind_bit_benchmark.c43 i = find_first_bit(bitmap, len); in test_find_first_bit()
Dfind_bit.c95 #ifndef find_first_bit
/linux-6.12.1/kernel/trace/
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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_buddy.c85 seg = find_first_bit(buddy->bitmap[order_iter], m); in dr_buddy_find_free_seg()
/linux-6.12.1/kernel/irq/
Dmatrix.c271 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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_buddy.c95 seg = find_first_bit(buddy->bitmap[order_iter], m); in hws_buddy_find_free_seg()
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Dapei.c43 lsb = find_first_bit((void *)&mem_err->physical_addr_mask, PAGE_SHIFT); in apei_mce_report_mem_error()
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_db.c100 i = find_first_bit(pgdir->bits[o], HNS_ROCE_DB_PER_PAGE >> o); in hns_roce_alloc_db_from_pgdir()
/linux-6.12.1/fs/ocfs2/cluster/
Dquorum.c98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision()
/linux-6.12.1/drivers/iio/adc/
Dti-ads1119.c437 index = find_first_bit(indio_dev->active_scan_mask, in ads1119_triggered_buffer_preenable()
510 index = find_first_bit(indio_dev->active_scan_mask, in ads1119_trigger_handler()

1234567