Searched refs:nr_cpumask_bits (Results 1 – 17 of 17) sorted by relevance
/linux/include/linux/ |
A D | cpumask.h | 45 #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 D | cpumask.c | 22 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 D | nmi_backtrace.c | 66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
|
/linux/include/trace/events/ |
A D | ipi.h | 26 __bitmask(target_cpus, nr_cpumask_bits) 31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
|
/linux/drivers/net/wireguard/ |
A D | queueing.h | 111 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 D | peer.c | 43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
|
/linux/arch/x86/events/amd/ |
A D | power.c | 232 if (target < nr_cpumask_bits) { in power_cpu_exit() 253 if (target >= nr_cpumask_bits) in power_cpu_init()
|
/linux/arch/x86/kernel/ |
A D | setup_percpu.c | 175 NR_CPUS, nr_cpumask_bits, nr_cpu_ids, nr_node_ids); in setup_per_cpu_areas()
|
/linux/kernel/bpf/ |
A D | cpumap.c | 575 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
|
/linux/kernel/sched/ |
A D | fair.c | 5912 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 D | topology.c | 2246 for (i = nr_cpumask_bits-1; i >= 0; i--) { in build_sched_domains()
|
/linux/net/core/ |
A D | net-sysfs.c | 843 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 D | padata.c | 885 nr_cpumask_bits); in store_cpumask()
|
A D | workqueue.c | 3429 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 D | lpfc_init.c | 12383 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 D | vmbus_drv.c | 1803 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
|
/linux/arch/powerpc/xmon/ |
A D | xmon.c | 1282 if (cpu == nr_cpumask_bits) in xmon_batch_next_cpu()
|
Completed in 89 milliseconds