Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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.h53 for ((bit) = find_first_bit((addr), (size)); \
Dbitmap.h53 return find_first_bit(src, nbits) == nbits; in bitmap_empty()
/linux-6.1.9/arch/m68k/include/asm/
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()
/linux-6.1.9/security/selinux/ss/
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()
/linux-6.1.9/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.1.9/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.1.9/include/linux/
Dfind.h155 #ifndef find_first_bit
165 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() function
368 bit = find_first_bit(addr, offset); in find_next_bit_wrap()
/linux-6.1.9/drivers/scsi/mpt3sas/
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()
/linux-6.1.9/lib/
Dtest_bitops.c93 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.1.9/tools/lib/
Dfind_bit.c70 #ifndef find_first_bit
Dbitmap.c39 rbot = cur = find_first_bit(bitmap, nbits); in bitmap_scnprintf()
/linux-6.1.9/kernel/irq/
Dresend.c36 irq = find_first_bit(irqs_resend, nr_irqs); in resend_irqs()
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()
/linux-6.1.9/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.c556 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_proccess_non_recoverable_info()
622 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info()
644 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info()
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_buddy.c87 seg = find_first_bit(buddy->bitmap[order_iter], m); in dr_buddy_find_free_seg()
/linux-6.1.9/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.1.9/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.1.9/fs/ocfs2/cluster/
Dquorum.c98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dalloc.c169 i = find_first_bit(pgdir->bitmap, db_per_page); in mlx5_alloc_db_from_pgdir()
/linux-6.1.9/drivers/misc/
Dcs5535-mfgpt.c172 t = find_first_bit(mfgpt->avail, max); in cs5535_mfgpt_alloc_timer()

123456