Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/x86/kvm/vmx/
H A Dposted_intr.h21 vec = find_last_bit((unsigned long *)pi_desc->pir, 256); in pi_find_highest_vector()
/openbmc/linux/drivers/clk/sunxi/
H A Dclk-sun6i-apb0-gates.c68 ngates = find_last_bit(data->mask, SUN6I_APB0_GATES_MAX_SIZE); in sun6i_a31_apb0_gates_clk_probe()
H A Dclk-usb.c110 qty = find_last_bit((unsigned long *)&data->clk_mask, in sunxi_usb_clk_setup()
/openbmc/qemu/util/
H A Dbitops.c130 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit() function
/openbmc/linux/include/linux/
H A Dfind.h370 #ifndef find_last_bit
379 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit() function
H A Dcpumask.h197 return find_last_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_last()
/openbmc/linux/lib/
H A Dfind_bit_benchmark.c107 l = find_last_bit(bitmap, len); in test_find_last_bit()
H A Dfind_bit.c203 #ifndef find_last_bit
/openbmc/linux/mm/
H A Dpercpu-stats.c69 last_alloc = find_last_bit(chunk->alloc_map, in chunk_map_stats()
H A Dpercpu.c727 l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_index), s_off); in pcpu_block_update_scan()
1006 int l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_index), in pcpu_block_update_hint_free()
/openbmc/qemu/hw/ppc/
H A Dspapr_ovec.c220 lastbit = find_last_bit(ov->bitmap, OV_MAXBITS); in spapr_dt_ovec()
/openbmc/qemu/include/qemu/
H A Dbitops.h159 unsigned long find_last_bit(const unsigned long *addr,
/openbmc/linux/arch/arm64/kernel/
H A Dfpsimd.c1116 b = find_last_bit(tmp_map, SVE_VQ_MAX); in vec_verify_vq_map()
1232 b = find_last_bit(tmp_map, SVE_VQ_MAX); in sve_setup()
1376 min_bit = find_last_bit(info->vq_map, SVE_VQ_MAX); in sme_setup()
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_est.c430 row = find_last_bit(kd->avail, crow); in ip_vs_enqueue_estimator()
433 row = find_last_bit(kd->avail, IPVS_EST_NTICKS); in ip_vs_enqueue_estimator()
/openbmc/linux/fs/
H A Dfile.c281 unsigned int last = find_last_bit(fdt->open_fds, fdt->max_fds); in sane_fdtable_size()
286 last = find_last_bit(fdt->open_fds, punch_hole->from); in sane_fdtable_size()
/openbmc/qemu/backends/
H A Dhostmem.c367 unsigned long lastbit = find_last_bit(backend->host_nodes, MAX_NODES); in host_memory_backend_memory_complete()
/openbmc/linux/drivers/hwmon/peci/
H A Dcputemp.c403 unsigned long core_max = find_last_bit(priv->core_mask, CORE_NUMS_MAX); in create_temp_label()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c1747 socket_bits = find_last_bit(&socket_count, BITS_PER_LONG) + 1; in kvm_riscv_aia_create()
1766 find_last_bit(&guest_num, BITS_PER_LONG) + 1; in kvm_riscv_aia_create()
1807 hart_bits = find_last_bit(&max_hart_per_socket, BITS_PER_LONG) + 1; in kvm_riscv_aia_create()
/openbmc/linux/fs/nfs/
H A Dnfs4session.c92 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot()
/openbmc/linux/lib/pldmfw/
H A Dpldmfw.c755 if (index == find_last_bit(bitmap, data->component_bitmap_len)) in pldm_send_component_tables()
/openbmc/linux/kernel/
H A Dsmp.c967 set_nr_cpu_ids(find_last_bit(cpumask_bits(cpu_possible_mask), NR_CPUS) + 1); in setup_nr_cpu_ids()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhtb.c53 last = find_last_bit(htb->qos_used_qids, mlx5e_qos_max_leaf_nodes(htb->mdev)); in mlx5e_htb_cur_leaf_nodes()
/openbmc/linux/drivers/bus/mhi/host/
H A Dpm.c123 int index = find_last_bit(&cur_state, 32); in mhi_tryset_pm_state()
/openbmc/linux/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c1135 find_last_bit((unsigned long *)&ndev->db_valid_mask, in amd_init_dev()

12