Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/include/linux/
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()
/linux-6.6.21/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.6.21/tools/lib/
Dfind_bit.c70 #ifndef find_first_bit
Dbitmap.c39 rbot = cur = find_first_bit(bitmap, nbits); in bitmap_scnprintf()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/kernel/irq/
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.6.21/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.6.21/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.6.21/fs/ocfs2/cluster/
Dquorum.c98 lowest_hb = find_first_bit(qs->qs_hb_bm, O2NM_MAX_NODES); in o2quo_make_decision()
/linux-6.6.21/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.6.21/drivers/misc/
Dcs5535-mfgpt.c172 t = find_first_bit(mfgpt->avail, max); in cs5535_mfgpt_alloc_timer()
/linux-6.6.21/fs/ocfs2/dlm/
Ddlmmaster.c864 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()
1798 int bit = find_first_bit(mle->maybe_map, O2NM_MAX_NODES); in dlm_assert_master_handler()
2524 node_ref = find_first_bit(res->refmap, O2NM_MAX_NODES); in dlm_is_lockres_migratable()
3306 bit = find_first_bit(mle->maybe_map, O2NM_MAX_NODES); in dlm_clean_block_mle()
3545 BUG_ON((find_first_bit(dlm->domain_map, O2NM_MAX_NODES) < O2NM_MAX_NODES)); in dlm_force_free_mles()

1234567