Home
last modified time | relevance | path

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

/linux/include/linux/
A Dcpumask.h45 #define nr_cpumask_bits nr_cpu_ids macro
47 #define nr_cpumask_bits ((unsigned int)NR_CPUS) macro
115 cpu_max_bits_warn(cpu, nr_cpumask_bits); in cpumask_check()
271 (cpu) < nr_cpumask_bits; \
461 nr_cpumask_bits); in cpumask_complement()
473 nr_cpumask_bits); in cpumask_equal()
499 nr_cpumask_bits); in cpumask_intersects()
513 nr_cpumask_bits); in cpumask_subset()
553 nr_cpumask_bits); in cpumask_shift_right()
566 nr_cpumask_bits); in cpumask_shift_left()
[all …]
/linux/lib/
A Dcpumask.c22 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n + 1); in cpumask_next()
41 nr_cpumask_bits, n + 1); in cpumask_next_and()
85 return nr_cpumask_bits; in cpumask_next_wrap()
87 } else if (next >= nr_cpumask_bits) { in cpumask_next_wrap()
A Dnmi_backtrace.c66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
/linux/include/trace/events/
A Dipi.h26 __bitmask(target_cpus, nr_cpumask_bits)
31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
/linux/drivers/net/wireguard/
A Dqueueing.h111 if (unlikely(cpu == nr_cpumask_bits || in wg_cpumask_choose_online()
134 cpu = cpumask_next(cpu, cpu_online_mask) % nr_cpumask_bits; in wg_cpumask_next_online()
135 *next = cpumask_next(cpu, cpu_online_mask) % nr_cpumask_bits; in wg_cpumask_next_online()
A Dpeer.c43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
/linux/arch/x86/events/amd/
A Dpower.c232 if (target < nr_cpumask_bits) { in power_cpu_exit()
253 if (target >= nr_cpumask_bits) in power_cpu_init()
/linux/arch/x86/kernel/
A Dsetup_percpu.c175 NR_CPUS, nr_cpumask_bits, nr_cpu_ids, nr_node_ids); in setup_per_cpu_areas()
/linux/kernel/bpf/
A Dcpumap.c575 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
/linux/kernel/sched/
A Dfair.c5912 return nr_cpumask_bits; in wake_affine_idle()
5955 return this_eff_load < prev_eff_load ? this_cpu : nr_cpumask_bits; in wake_affine_weight()
5961 int target = nr_cpumask_bits; in wake_affine()
5966 if (sched_feat(WA_WEIGHT) && target == nr_cpumask_bits) in wake_affine()
5970 if (target == nr_cpumask_bits) in wake_affine()
6284 if ((unsigned int)i < nr_cpumask_bits) in select_idle_cpu()
6291 if ((unsigned int)idle_cpu < nr_cpumask_bits) in select_idle_cpu()
6434 return ((unsigned)i < nr_cpumask_bits) ? i : target; in select_idle_sibling()
6447 if ((unsigned int)i < nr_cpumask_bits) in select_idle_sibling()
6453 if ((unsigned)i < nr_cpumask_bits) in select_idle_sibling()
A Dtopology.c2246 for (i = nr_cpumask_bits-1; i >= 0; i--) { in build_sched_domains()
/linux/net/core/
A Dnet-sysfs.c843 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in store_rps_map()
1521 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in xps_cpus_store()
/linux/kernel/
A Dpadata.c885 nr_cpumask_bits); in store_cpumask()
A Dworkqueue.c3429 BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long), hash); in wqattrs_hash()
4708 pr_cont(" cpus=%*pbl", nr_cpumask_bits, pool->attrs->cpumask); in pr_cont_pool_info()
/linux/drivers/scsi/lpfc/
A Dlpfc_init.c12383 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
12397 if (start_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
12433 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
12451 if (start_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
12524 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
12539 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
12550 if (start_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
/linux/drivers/hv/
A Dvmbus_drv.c1803 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
/linux/arch/powerpc/xmon/
A Dxmon.c1282 if (cpu == nr_cpumask_bits) in xmon_batch_next_cpu()

Completed in 89 milliseconds