/linux-6.6.21/tools/include/linux/ |
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
|
D | bitops.h | 53 for ((bit) = find_first_bit((addr), (size)); \
|
D | bitmap.h | 53 return find_first_bit(src, nbits) == nbits; in bitmap_empty()
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | bitops.h | 388 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/ |
D | ebitmap.h | 53 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/ |
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-6.6.21/arch/powerpc/platforms/pasemi/ |
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-6.6.21/drivers/scsi/mpt3sas/ |
D | mpt3sas_warpdrive.c | 207 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/ |
D | find.h | 190 #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/ |
D | test_bitops.c | 93 bit_set = find_first_bit(g_bitmap, BITOPS_LAST); in test_bitops_startup()
|
D | find_bit_benchmark.c | 43 i = find_first_bit(bitmap, len); in test_find_first_bit()
|
D | find_bit.c | 95 #ifndef find_first_bit
|
/linux-6.6.21/tools/lib/ |
D | find_bit.c | 70 #ifndef find_first_bit
|
D | bitmap.c | 39 rbot = cur = find_first_bit(bitmap, nbits); in bitmap_scnprintf()
|
/linux-6.6.21/drivers/edac/ |
D | i7300_edac.c | 366 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()
|
D | i5400_edac.c | 557 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/ |
D | pid_list.c | 88 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/ |
D | dr_buddy.c | 85 seg = find_first_bit(buddy->bitmap[order_iter], m); in dr_buddy_find_free_seg()
|
/linux-6.6.21/kernel/irq/ |
D | matrix.c | 265 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/ |
D | apei.c | 43 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/ |
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-6.6.21/fs/ocfs2/cluster/ |
D | quorum.c | 98 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/ |
D | alloc.c | 169 i = find_first_bit(pgdir->bitmap, db_per_page); in mlx5_alloc_db_from_pgdir()
|
/linux-6.6.21/drivers/misc/ |
D | cs5535-mfgpt.c | 172 t = find_first_bit(mfgpt->avail, max); in cs5535_mfgpt_alloc_timer()
|
/linux-6.6.21/fs/ocfs2/dlm/ |
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() 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()
|