Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dcpumask.c30 return nr_cpumask_bits; in cpumask_next_wrap()
32 } else if (next >= nr_cpumask_bits) { in cpumask_next_wrap()
179 nr_cpumask_bits, prev + 1); in cpumask_any_and_distribute()
193 next = find_next_bit_wrap(cpumask_bits(srcp), nr_cpumask_bits, prev + 1); in cpumask_any_distribute()
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()
Dnmi_backtrace.c66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
/linux-6.6.21/include/linux/
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()
/linux-6.6.21/include/trace/events/
Dipi.h26 __bitmask(target_cpus, nr_cpumask_bits)
31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
/linux-6.6.21/include/trace/stages/
Dstage5_get_offsets.h99 #define __cpumask(item) __bitmask(item, nr_cpumask_bits)
106 #define __rel_cpumask(item) __rel_bitmask(item, nr_cpumask_bits)
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))
/linux-6.6.21/arch/x86/events/amd/
Dpower.c232 if (target < nr_cpumask_bits) { in power_cpu_exit()
253 if (target >= nr_cpumask_bits) in power_cpu_init()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_trace.h80 __bitmask(irq_affinity, nr_cpumask_bits)
95 nr_cpumask_bits);
/linux-6.6.21/arch/x86/kernel/
Dsetup_percpu.c123 NR_CPUS, nr_cpumask_bits, nr_cpu_ids, nr_node_ids); in setup_per_cpu_areas()
/linux-6.6.21/drivers/net/wireguard/
Dpeer.c43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
/linux-6.6.21/arch/x86/hyperv/
Dmmu.c113 if (cpu < nr_cpumask_bits && hv_cpu_number_to_vp_number(cpu) >= 64) in hyperv_flush_tlb_multi()
/linux-6.6.21/drivers/thermal/intel/
Dintel_powerclamp.c173 nr_cpumask_bits); in cpumask_set()
205 nr_cpumask_bits); in cpumask_get()
/linux-6.6.21/kernel/bpf/
Dcpumap.c544 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
/linux-6.6.21/kernel/sched/
Dfair.c6929 return nr_cpumask_bits; in wake_affine_idle()
6972 return this_eff_load < prev_eff_load ? this_cpu : nr_cpumask_bits; in wake_affine_weight()
6978 int target = nr_cpumask_bits; in wake_affine()
6983 if (sched_feat(WA_WEIGHT) && target == nr_cpumask_bits) in wake_affine()
7309 if ((unsigned int)i < nr_cpumask_bits) in select_idle_cpu()
7316 if ((unsigned int)idle_cpu < nr_cpumask_bits) in select_idle_cpu()
7489 return ((unsigned)i < nr_cpumask_bits) ? i : target; in select_idle_sibling()
7502 if ((unsigned int)i < nr_cpumask_bits) in select_idle_sibling()
7508 if ((unsigned)i < nr_cpumask_bits) in select_idle_sibling()
Dtopology.c2473 for (i = nr_cpumask_bits-1; i >= 0; i--) { in build_sched_domains()
/linux-6.6.21/net/core/
Dnet-sysfs.c899 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in store_rps_map()
1551 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in xps_cpus_store()
/linux-6.6.21/kernel/
Dpadata.c898 nr_cpumask_bits); in store_cpumask()
Dworkqueue.c3776 BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long), hash); in wqattrs_hash()
3778 BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long), hash); in wqattrs_hash()
5076 pr_cont(" cpus=%*pbl", nr_cpumask_bits, pool->attrs->cpumask); in pr_cont_pool_info()
/linux-6.6.21/drivers/hv/
Dvmbus_drv.c1609 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()