/Linux-v6.1/include/linux/ |
D | cpumask.h | 54 #define nr_cpumask_bits nr_cpu_ids macro 117 cpu_max_bits_warn(cpu, nr_cpumask_bits); in cpumask_check() 129 return find_first_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first() 140 return find_first_zero_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first_zero() 153 return find_first_and_bit(cpumask_bits(srcp1), cpumask_bits(srcp2), nr_cpumask_bits); in cpumask_first_and() 164 return find_last_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_last() 180 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n + 1); in cpumask_next() 195 return find_next_zero_bit(cpumask_bits(srcp), nr_cpumask_bits, n+1); in cpumask_next_zero() 238 nr_cpumask_bits, n + 1); in cpumask_next_and() 249 for_each_set_bit(cpu, cpumask_bits(mask), nr_cpumask_bits) [all …]
|
/Linux-v6.1/lib/ |
D | cpumask.c | 30 return nr_cpumask_bits; in cpumask_next_wrap() 32 } else if (next >= nr_cpumask_bits) { in cpumask_next_wrap() 170 nr_cpumask_bits, prev + 1); in cpumask_any_and_distribute() 184 next = find_next_bit_wrap(cpumask_bits(srcp), nr_cpumask_bits, prev + 1); in cpumask_any_distribute()
|
D | cpumask_kunit.c | 14 nr_cpumask_bits, cpumask_bits(m) 80 KUNIT_EXPECT_EQ_MSG(test, nr_cpumask_bits, cpumask_weight(&mask_all), MASK_MSG(&mask_all)); in test_cpumask_weight() 95 KUNIT_EXPECT_LE_MSG(test, nr_cpumask_bits, cpumask_last(&mask_empty), in test_cpumask_last()
|
D | nmi_backtrace.c | 66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
|
/Linux-v6.1/include/trace/events/ |
D | ipi.h | 26 __bitmask(target_cpus, nr_cpumask_bits) 31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
|
/Linux-v6.1/drivers/net/wireguard/ |
D | queueing.h | 109 if (unlikely(cpu == nr_cpumask_bits || in wg_cpumask_choose_online() 132 cpu = cpumask_next(cpu, cpu_online_mask) % nr_cpumask_bits; in wg_cpumask_next_online() 133 *next = cpumask_next(cpu, cpu_online_mask) % nr_cpumask_bits; in wg_cpumask_next_online()
|
D | peer.c | 43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
|
/Linux-v6.1/arch/x86/events/amd/ |
D | power.c | 232 if (target < nr_cpumask_bits) { in power_cpu_exit() 253 if (target >= nr_cpumask_bits) in power_cpu_init()
|
/Linux-v6.1/arch/x86/kernel/ |
D | setup_percpu.c | 126 NR_CPUS, nr_cpumask_bits, nr_cpu_ids, nr_node_ids); in setup_per_cpu_areas()
|
/Linux-v6.1/arch/x86/hyperv/ |
D | mmu.c | 111 if (cpu < nr_cpumask_bits && hv_cpu_number_to_vp_number(cpu) >= 64) in hyperv_flush_tlb_multi()
|
/Linux-v6.1/kernel/bpf/ |
D | cpumap.c | 578 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
|
/Linux-v6.1/kernel/sched/ |
D | fair.c | 6239 return nr_cpumask_bits; in wake_affine_idle() 6282 return this_eff_load < prev_eff_load ? this_cpu : nr_cpumask_bits; in wake_affine_weight() 6288 int target = nr_cpumask_bits; in wake_affine() 6293 if (sched_feat(WA_WEIGHT) && target == nr_cpumask_bits) in wake_affine() 6297 if (target == nr_cpumask_bits) in wake_affine() 6619 if ((unsigned int)i < nr_cpumask_bits) in select_idle_cpu() 6626 if ((unsigned int)idle_cpu < nr_cpumask_bits) in select_idle_cpu() 6771 return ((unsigned)i < nr_cpumask_bits) ? i : target; in select_idle_sibling() 6784 if ((unsigned int)i < nr_cpumask_bits) in select_idle_sibling() 6790 if ((unsigned)i < nr_cpumask_bits) in select_idle_sibling()
|
D | topology.c | 2360 for (i = nr_cpumask_bits-1; i >= 0; i--) { in build_sched_domains()
|
/Linux-v6.1/net/core/ |
D | net-sysfs.c | 848 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in store_rps_map() 1522 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in xps_cpus_store()
|
/Linux-v6.1/kernel/ |
D | padata.c | 885 nr_cpumask_bits); in store_cpumask()
|
D | workqueue.c | 3427 BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long), hash); in wqattrs_hash() 4706 pr_cont(" cpus=%*pbl", nr_cpumask_bits, pool->attrs->cpumask); in pr_cont_pool_info()
|
/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_init.c | 12511 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check() 12525 if (start_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check() 12561 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check() 12579 if (start_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check() 12652 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check() 12667 if (new_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check() 12678 if (start_cpu == nr_cpumask_bits) in lpfc_cpu_affinity_check()
|
/Linux-v6.1/drivers/hv/ |
D | vmbus_drv.c | 1775 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
|
/Linux-v6.1/arch/powerpc/xmon/ |
D | xmon.c | 1280 if (cpu == nr_cpumask_bits) in xmon_batch_next_cpu()
|