/openbmc/linux/lib/ |
H A D | cpumask.c | 30 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 D | cpumask_kunit.c | 14 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 D | nmi_backtrace.c | 66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
|
/openbmc/linux/include/linux/ |
H A D | cpumask.h | 87 #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 D | ipi.h | 26 __bitmask(target_cpus, nr_cpumask_bits) 31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
|
/openbmc/linux/include/trace/stages/ |
H A D | stage5_get_offsets.h | 99 #define __cpumask(item) __bitmask(item, nr_cpumask_bits) 106 #define __rel_cpumask(item) __rel_bitmask(item, nr_cpumask_bits)
|
H A D | stage6_event_callback.h | 71 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 D | power.c | 232 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 D | i40e_trace.h | 80 __bitmask(irq_affinity, nr_cpumask_bits) 95 nr_cpumask_bits);
|
/openbmc/linux/arch/x86/kernel/ |
H A D | setup_percpu.c | 123 NR_CPUS, nr_cpumask_bits, nr_cpu_ids, nr_node_ids); in setup_per_cpu_areas()
|
/openbmc/linux/arch/x86/hyperv/ |
H A D | mmu.c | 113 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 D | peer.c | 43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
|
/openbmc/linux/drivers/thermal/intel/ |
H A D | intel_powerclamp.c | 173 nr_cpumask_bits); in cpumask_set() 205 nr_cpumask_bits); in cpumask_get()
|
/openbmc/linux/kernel/bpf/ |
H A D | cpumap.c | 547 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
|
/openbmc/linux/kernel/sched/ |
H A D | fair.c | 7030 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 D | topology.c | 2476 for (i = nr_cpumask_bits-1; i >= 0; i--) { in build_sched_domains()
|
/openbmc/linux/net/core/ |
H A D | net-sysfs.c | 897 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 D | padata.c | 909 nr_cpumask_bits); in store_cpumask()
|
H A D | workqueue.c | 3780 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 D | vmbus_drv.c | 1609 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
|