Home
last modified time | relevance | path

Searched refs:nr_cpumask_bits (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/lib/
H A Dcpumask.c30 return nr_cpumask_bits; in cpumask_next_wrap()
32 } else if (next >= nr_cpumask_bits) { in cpumask_next_wrap()
177 nr_cpumask_bits, prev + 1); in cpumask_any_and_distribute()
191 next = find_next_bit_wrap(cpumask_bits(srcp), nr_cpumask_bits, prev + 1); in cpumask_any_distribute()
H A Dcpumask_kunit.c14 nr_cpumask_bits, cpumask_bits(m)
85 KUNIT_EXPECT_LE_MSG(test, nr_cpumask_bits, cpumask_last(&mask_empty), in test_cpumask_last()
H A Dnmi_backtrace.c66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
/openbmc/linux/include/linux/
H A Dcpumask.h87 #define nr_cpumask_bits nr_cpu_ids macro
297 return nr_cpumask_bits; in cpumask_next_wrap()
542 cpumask_bits(dstp)[0] = BITMAP_LAST_WORD_MASK(nr_cpumask_bits); in cpumask_setall()
545 bitmap_fill(cpumask_bits(dstp), nr_cpumask_bits); in cpumask_setall()
683 return bitmap_full(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_full()
729 nr_cpumask_bits); in cpumask_shift_left()
777 return bitmap_parse_user(buf, len, cpumask_bits(dstp), nr_cpumask_bits); in cpumask_parse_user()
792 nr_cpumask_bits); in cpumask_parselist_user()
804 return bitmap_parse(buf, UINT_MAX, cpumask_bits(dstp), nr_cpumask_bits); in cpumask_parse()
816 return bitmap_parselist(buf, cpumask_bits(dstp), nr_cpumask_bits); in cpulist_parse()
/openbmc/linux/include/trace/events/
H A Dipi.h26 __bitmask(target_cpus, nr_cpumask_bits)
31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
/openbmc/linux/include/trace/stages/
H A Dstage5_get_offsets.h99 #define __cpumask(item) __bitmask(item, nr_cpumask_bits)
106 #define __rel_cpumask(item) __rel_bitmask(item, nr_cpumask_bits)
H A Dstage6_event_callback.h71 memcpy(__get_cpumask(dst), (src), __bitmask_size_in_bytes(nr_cpumask_bits))
122 memcpy(__get_rel_cpumask(dst), (src), __bitmask_size_in_bytes(nr_cpumask_bits))
/openbmc/linux/arch/x86/events/amd/
H A Dpower.c232 if (target < nr_cpumask_bits) { in power_cpu_exit()
253 if (target >= nr_cpumask_bits) in power_cpu_init()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_trace.h80 __bitmask(irq_affinity, nr_cpumask_bits)
95 nr_cpumask_bits);
/openbmc/linux/arch/x86/kernel/
H A Dsetup_percpu.c123 NR_CPUS, nr_cpumask_bits, nr_cpu_ids, nr_node_ids); in setup_per_cpu_areas()
/openbmc/linux/arch/x86/hyperv/
H A Dmmu.c113 if (cpu < nr_cpumask_bits && hv_cpu_number_to_vp_number(cpu) >= 64) in hyperv_flush_tlb_multi()
/openbmc/linux/drivers/net/wireguard/
H A Dpeer.c43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
/openbmc/linux/drivers/thermal/intel/
H A Dintel_powerclamp.c173 nr_cpumask_bits); in cpumask_set()
205 nr_cpumask_bits); in cpumask_get()
/openbmc/linux/kernel/bpf/
H A Dcpumap.c547 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
/openbmc/linux/kernel/sched/
H A Dfair.c7030 return nr_cpumask_bits; in wake_affine_idle()
7073 return this_eff_load < prev_eff_load ? this_cpu : nr_cpumask_bits; in wake_affine_weight()
7079 int target = nr_cpumask_bits; in wake_affine()
7084 if (sched_feat(WA_WEIGHT) && target == nr_cpumask_bits) in wake_affine()
7416 if ((unsigned int)i < nr_cpumask_bits) in select_idle_cpu()
7423 if ((unsigned int)idle_cpu < nr_cpumask_bits) in select_idle_cpu()
7596 return ((unsigned)i < nr_cpumask_bits) ? i : target; in select_idle_sibling()
7609 if ((unsigned int)i < nr_cpumask_bits) in select_idle_sibling()
7615 if ((unsigned)i < nr_cpumask_bits) in select_idle_sibling()
H A Dtopology.c2476 for (i = nr_cpumask_bits-1; i >= 0; i--) { in build_sched_domains()
/openbmc/linux/net/core/
H A Dnet-sysfs.c897 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in store_rps_map()
1549 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in xps_cpus_store()
/openbmc/linux/kernel/
H A Dpadata.c909 nr_cpumask_bits); in store_cpumask()
H A Dworkqueue.c3780 BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long), hash); in wqattrs_hash()
3782 BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long), hash); in wqattrs_hash()
5080 pr_cont(" cpus=%*pbl", nr_cpumask_bits, pool->attrs->cpumask); in pr_cont_pool_info()
/openbmc/linux/drivers/hv/
H A Dvmbus_drv.c1609 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()