Home
last modified time | relevance | path

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

/Linux-v5.10/lib/
Dfind_bit.c139 #ifndef find_last_bit
140 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit() function
156 EXPORT_SYMBOL(find_last_bit);
Dfind_bit_benchmark.c88 l = find_last_bit(bitmap, len); in test_find_last_bit()
/Linux-v5.10/include/linux/
Dbitops.h286 #ifndef find_last_bit
294 extern unsigned long find_last_bit(const unsigned long *addr,
Dcpumask.h230 return find_last_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_last()
/Linux-v5.10/drivers/clk/sunxi/
Dclk-sun6i-apb0-gates.c71 ngates = find_last_bit(data->mask, SUN6I_APB0_GATES_MAX_SIZE); in sun6i_a31_apb0_gates_clk_probe()
Dclk-usb.c110 qty = find_last_bit((unsigned long *)&data->clk_mask, in sunxi_usb_clk_setup()
/Linux-v5.10/mm/
Dpercpu-stats.c73 last_alloc = find_last_bit(chunk->alloc_map, in chunk_map_stats()
Dpercpu.c683 l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_index), s_off); in pcpu_block_update_scan()
955 int l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_index), in pcpu_block_update_hint_free()
Dpage_alloc.c7088 highest = find_last_bit(node_possible_map.bits, MAX_NUMNODES); in setup_nr_node_ids()
/Linux-v5.10/arch/arm64/kernel/
Dfpsimd.c775 b = find_last_bit(tmp_map, SVE_VQ_MAX); in sve_verify_vq_map()
889 b = find_last_bit(tmp_map, SVE_VQ_MAX); in sve_setup()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c487 prev_ftid = find_last_bit(t->hpftid_bmap, idx); in cxgb4_filter_prio_in_range()
502 prev_ftid = find_last_bit(t->ftid_bmap, idx); in cxgb4_filter_prio_in_range()
508 prev_ftid = find_last_bit(t->hpftid_bmap, t->nhpftids); in cxgb4_filter_prio_in_range()
625 ftid = find_last_bit(t->hpftid_bmap, t->nhpftids); in cxgb4_get_free_ftid()
/Linux-v5.10/fs/nfs/
Dnfs4session.c92 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot()
/Linux-v5.10/lib/pldmfw/
Dpldmfw.c755 if (index == find_last_bit(bitmap, data->component_bitmap_len)) in pldm_send_component_tables()
/Linux-v5.10/kernel/
Dsmp.c797 nr_cpu_ids = find_last_bit(cpumask_bits(cpu_possible_mask),NR_CPUS) + 1; in setup_nr_cpu_ids()
/Linux-v5.10/drivers/bus/mhi/core/
Dpm.c114 int index = find_last_bit(&cur_state, 32); in mhi_tryset_pm_state()
Dinit.c71 int index = find_last_bit((unsigned long *)&state, 32); in to_mhi_pm_state_str()
/Linux-v5.10/drivers/ntb/hw/amd/
Dntb_hw_amd.c1138 find_last_bit((unsigned long *)&ndev->db_valid_mask, in amd_init_dev()
/Linux-v5.10/fs/ocfs2/cluster/
Dheartbeat.c1070 return find_last_bit(nodes, numbits); in o2hb_highest_node()
/Linux-v5.10/drivers/scsi/
Dscsi_debug.c4779 k = find_last_bit(sqp->in_use_bm, retval); in sdebug_q_cmd_complete()
5782 l = find_last_bit(sqp->in_use_bm, sdebug_max_queue); in scsi_debug_show_info()
6209 a = find_last_bit(sqp->in_use_bm, SDEBUG_CANQUEUE); in max_queue_store()
/Linux-v5.10/drivers/gpu/drm/selftests/
Dtest-drm_mm.c1809 last = find_last_bit(bitmap, count); in igt_topdown()
/Linux-v5.10/drivers/target/
Dtarget_core_user.c2890 block = find_last_bit(udev->data_bitmap, end); in find_free_blocks()
/Linux-v5.10/arch/s390/kvm/
Dinterrupt.c1410 irq_type = find_last_bit(&irqs, IRQ_PEND_COUNT); in kvm_s390_deliver_pending_interrupts()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c1262 return find_last_bit(&rate_mask, BITS_PER_LONG); in rs_get_max_rate_from_mask()
/Linux-v5.10/arch/x86/kvm/vmx/
Dnested.c3702 max_irr = find_last_bit((unsigned long *)vmx->nested.pi_desc->pir, 256); in vmx_complete_nested_posted_interrupt()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2871 last = find_last_bit(&mask, f->field_bsize); in offload_pedit_fields()