/linux-6.6.21/lib/ |
D | cpumask.c | 30 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()
|
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()
|
D | nmi_backtrace.c | 66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
|
/linux-6.6.21/include/linux/ |
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()
|
/linux-6.6.21/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-6.6.21/include/trace/stages/ |
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)
|
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))
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_trace.h | 80 __bitmask(irq_affinity, nr_cpumask_bits) 95 nr_cpumask_bits);
|
/linux-6.6.21/arch/x86/kernel/ |
D | setup_percpu.c | 123 NR_CPUS, nr_cpumask_bits, nr_cpu_ids, nr_node_ids); in setup_per_cpu_areas()
|
/linux-6.6.21/drivers/net/wireguard/ |
D | peer.c | 43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
|
/linux-6.6.21/arch/x86/hyperv/ |
D | mmu.c | 113 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/ |
D | intel_powerclamp.c | 173 nr_cpumask_bits); in cpumask_set() 205 nr_cpumask_bits); in cpumask_get()
|
/linux-6.6.21/kernel/bpf/ |
D | cpumap.c | 544 if (key_cpu >= nr_cpumask_bits || !cpu_possible(key_cpu)) in cpu_map_update_elem()
|
/linux-6.6.21/kernel/sched/ |
D | fair.c | 6929 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()
|
D | topology.c | 2473 for (i = nr_cpumask_bits-1; i >= 0; i--) { in build_sched_domains()
|
/linux-6.6.21/net/core/ |
D | net-sysfs.c | 899 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/ |
D | padata.c | 898 nr_cpumask_bits); in store_cpumask()
|
D | workqueue.c | 3776 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/ |
D | vmbus_drv.c | 1609 if (target_cpu >= nr_cpumask_bits) in target_cpu_store()
|