| /linux/arch/x86/kvm/vmx/ |
| H A D | posted_intr.h | 26 vec = find_last_bit(pi_desc->pir, 256); in pi_find_highest_vector()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gt_topology.h | 38 return find_last_bit(mask, XE_MAX_DSS_FUSE_BITS); in xe_gt_topology_mask_last_dss()
|
| H A D | xe_gt_topology.c | 114 xe_assert(xe, find_last_bit(pattern, XE_MAX_L3_BANK_MASK_BITS) < patternbits || in gen_l3_mask_from_pattern()
|
| /linux/drivers/clk/sunxi/ |
| H A D | clk-sun6i-apb0-gates.c | 68 ngates = find_last_bit(data->mask, SUN6I_APB0_GATES_MAX_SIZE); in sun6i_a31_apb0_gates_clk_probe()
|
| H A D | clk-usb.c | 113 qty = find_last_bit((unsigned long *)&data->clk_mask, in sunxi_usb_clk_setup()
|
| /linux/drivers/input/keyboard/ |
| H A D | adp5585-keys.c | 160 rows = find_last_bit(&kpad->keypad, kpad->info->max_rows) + 1; in adp5585_keys_parse_fw() 165 cols = find_last_bit(&kpad->keypad, kpad->info->max_cols + kpad->info->max_rows); in adp5585_keys_parse_fw()
|
| /linux/drivers/android/ |
| H A D | dbitmap.h | 57 bit = find_last_bit(dmap->map, dmap->nbits); in dbitmap_shrink_nbits()
|
| /linux/include/linux/ |
| H A D | find.h | 397 #ifndef find_last_bit 406 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit() function
|
| H A D | cpumask.h | 222 return find_last_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_last()
|
| /linux/lib/ |
| H A D | find_bit_benchmark.c | 107 l = find_last_bit(bitmap, len); in test_find_last_bit()
|
| H A D | find_bit.c | 8 * 'find_last_bit' is written by Rusty Russell <rusty@rustcorp.com.au> 227 #ifndef find_last_bit
|
| /linux/mm/ |
| H A D | percpu-stats.c | 68 last_alloc = find_last_bit(chunk->alloc_map, in chunk_map_stats()
|
| H A D | percpu.c | 727 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()
|
| /linux/arch/arm64/kernel/ |
| H A D | fpsimd.c | 1074 b = find_last_bit(tmp_map, SVE_VQ_MAX); in vec_verify_vq_map() 1129 b = find_last_bit(tmp_map, SVE_VQ_MAX); in sve_setup() 1242 min_bit = find_last_bit(info->vq_map, SVE_VQ_MAX); in sme_setup()
|
| /linux/net/hsr/ |
| H A D | hsr_framereg.c | 832 seq_bit = find_last_bit(block->seq_nrs[HSR_PT_SLAVE_B - 1], in fill_last_seq_nrs() 838 seq_bit = find_last_bit(block->seq_nrs[HSR_PT_SLAVE_A - 1], in fill_last_seq_nrs()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_est.c | 431 row = find_last_bit(kd->avail, crow); in ip_vs_enqueue_estimator() 434 row = find_last_bit(kd->avail, IPVS_EST_NTICKS); in ip_vs_enqueue_estimator()
|
| /linux/drivers/hwmon/peci/ |
| H A D | cputemp.c | 384 unsigned long core_max = find_last_bit(priv->core_mask, CORE_NUMS_MAX); in create_temp_label()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_filter.c | 487 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/fs/ |
| H A D | file.c | 366 unsigned int last = find_last_bit(fdt->open_fds, fdt->max_fds); in sane_fdtable_size() 371 last = find_last_bit(fdt->open_fds, punch_hole->from); in sane_fdtable_size()
|
| /linux/fs/nfs/ |
| H A D | nfs4session.c | 92 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot()
|
| /linux/lib/pldmfw/ |
| H A D | pldmfw.c | 769 if (index == find_last_bit(bitmap, data->component_bitmap_len)) in pldm_send_component_tables()
|
| /linux/kernel/ |
| H A D | smp.c | 988 set_nr_cpu_ids(find_last_bit(cpumask_bits(cpu_possible_mask), NR_CPUS) + 1); in setup_nr_cpu_ids()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477_acl.c | 269 end_idx = find_last_bit((unsigned long *)&val, 16); in ksz9477_acl_get_cont_entr()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | htb.c | 53 last = find_last_bit(htb->qos_used_qids, mlx5e_qos_max_leaf_nodes(htb->mdev)); in mlx5e_htb_cur_leaf_nodes()
|
| /linux/drivers/pci/controller/cadence/ |
| H A D | pcie-cadence-ep.c | 588 last_fn = find_last_bit(&epc->function_num_map, BITS_PER_LONG); in cdns_pcie_ep_start()
|