/linux-5.19.10/include/linux/ |
D | cpumask.h | 740 typedef struct cpumask *cpumask_var_t; typedef 745 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node); 746 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags); 747 bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node); 748 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags); 749 void alloc_bootmem_cpumask_var(cpumask_var_t *mask); 750 void free_cpumask_var(cpumask_var_t mask); 751 void free_bootmem_cpumask_var(cpumask_var_t mask); 753 static inline bool cpumask_available(cpumask_var_t mask) in cpumask_available() 759 typedef struct cpumask cpumask_var_t[1]; typedef [all …]
|
D | padata.h | 77 cpumask_var_t pcpu; 78 cpumask_var_t cbcpu; 194 cpumask_var_t cpumask);
|
D | tick.h | 179 extern cpumask_var_t tick_nohz_full_mask; 275 extern void __init tick_nohz_full_setup(cpumask_var_t cpumask); 299 static inline void tick_nohz_full_setup(cpumask_var_t cpumask) { } in tick_nohz_full_setup()
|
/linux-5.19.10/lib/ |
D | cpumask.c | 113 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in alloc_cpumask_var_node() 128 bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in zalloc_cpumask_var_node() 144 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var() 150 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var() 165 void __init alloc_bootmem_cpumask_var(cpumask_var_t *mask) in alloc_bootmem_cpumask_var() 179 void free_cpumask_var(cpumask_var_t mask) in free_cpumask_var() 189 void __init free_bootmem_cpumask_var(cpumask_var_t mask) in free_bootmem_cpumask_var()
|
/linux-5.19.10/arch/x86/include/asm/ |
D | cpumask.h | 7 extern cpumask_var_t cpu_callin_mask; 8 extern cpumask_var_t cpu_callout_mask; 9 extern cpumask_var_t cpu_initialized_mask; 10 extern cpumask_var_t cpu_sibling_setup_mask;
|
D | smp.h | 14 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map); 15 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map); 16 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_die_map); 18 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_llc_shared_map); 19 DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_l2c_shared_map);
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | smp.h | 36 DECLARE_PER_CPU(cpumask_var_t, thread_group_l1_cache_map); 37 DECLARE_PER_CPU(cpumask_var_t, thread_group_l2_cache_map); 38 DECLARE_PER_CPU(cpumask_var_t, thread_group_l3_cache_map); 107 DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map); 108 DECLARE_PER_CPU(cpumask_var_t, cpu_l2_cache_map); 109 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map); 110 DECLARE_PER_CPU(cpumask_var_t, cpu_smallcore_map);
|
D | mmzone.h | 34 extern cpumask_var_t node_to_cpumask_map[];
|
/linux-5.19.10/include/linux/sched/ |
D | topology.h | 171 cpumask_var_t doms_new[], 174 extern void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], 178 cpumask_var_t *alloc_sched_domains(unsigned int ndoms); 179 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms); 219 partition_sched_domains_locked(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains_locked() 225 partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains()
|
/linux-5.19.10/kernel/irq/ |
D | affinity.c | 43 static cpumask_var_t *alloc_node_to_cpumask(void) in alloc_node_to_cpumask() 45 cpumask_var_t *masks; in alloc_node_to_cpumask() 48 masks = kcalloc(nr_node_ids, sizeof(cpumask_var_t), GFP_KERNEL); in alloc_node_to_cpumask() 66 static void free_node_to_cpumask(cpumask_var_t *masks) in free_node_to_cpumask() 75 static void build_node_to_cpumask(cpumask_var_t *masks) in build_node_to_cpumask() 83 static int get_nodes_in_cpumask(cpumask_var_t *node_to_cpumask, in get_nodes_in_cpumask() 129 cpumask_var_t *node_to_cpumask, in alloc_nodes_vectors() 250 cpumask_var_t *node_to_cpumask, in __irq_build_affinity_masks() 344 cpumask_var_t *node_to_cpumask; in irq_build_affinity_masks() 345 cpumask_var_t nmsk, npresmsk; in irq_build_affinity_masks()
|
D | proc.c | 87 cpumask_var_t mask; in irq_affinity_hint_proc_show() 141 cpumask_var_t new_value; in write_irq_affinity() 238 cpumask_var_t new_value; in default_affinity_write()
|
/linux-5.19.10/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.h | 80 cpumask_var_t *threads_per_core; 81 cpumask_var_t vcpu_ids;
|
/linux-5.19.10/drivers/firmware/psci/ |
D | psci_checker.c | 140 static void free_cpu_groups(int num, cpumask_var_t **pcpu_groups) in free_cpu_groups() 143 cpumask_var_t *cpu_groups = *pcpu_groups; in free_cpu_groups() 150 static int alloc_init_cpu_groups(cpumask_var_t **pcpu_groups) in alloc_init_cpu_groups() 153 cpumask_var_t tmp, *cpu_groups; in alloc_init_cpu_groups() 189 cpumask_var_t offlined_cpus, *cpu_groups; in hotplug_tests()
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | smp.c | 82 DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map); 83 DEFINE_PER_CPU(cpumask_var_t, cpu_smallcore_map); 84 DEFINE_PER_CPU(cpumask_var_t, cpu_l2_cache_map); 85 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map); 86 static DEFINE_PER_CPU(cpumask_var_t, cpu_coregroup_map); 125 DEFINE_PER_CPU(cpumask_var_t, thread_group_l1_cache_map); 132 DEFINE_PER_CPU(cpumask_var_t, thread_group_l2_cache_map); 138 DEFINE_PER_CPU(cpumask_var_t, thread_group_l3_cache_map); 937 static int __init update_mask_from_threadgroup(cpumask_var_t *mask, struct thread_groups *tg, in update_mask_from_threadgroup() 965 cpumask_var_t *mask = NULL; in init_thread_group_cache_map() [all …]
|
/linux-5.19.10/kernel/sched/ |
D | isolation.c | 27 cpumask_var_t cpumasks[HK_TYPE_MAX]; 101 cpumask_var_t housekeeping_staging) in housekeeping_setup_type() 111 cpumask_var_t non_housekeeping_mask, housekeeping_staging; in housekeeping_setup()
|
D | membarrier.c | 247 cpumask_var_t tmpmask; in membarrier_global_expedited() 311 cpumask_var_t tmpmask; in membarrier_private_expedited() 428 cpumask_var_t tmpmask; in sync_runqueues_membarrier_state()
|
D | cpupri.h | 12 cpumask_var_t mask;
|
D | cpudeadline.h | 14 cpumask_var_t free_cpus;
|
/linux-5.19.10/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 62 static int cpu_mask_set_get_first(struct cpu_mask_set *set, cpumask_var_t diff) in cpu_mask_set_get_first() 243 static int per_cpu_affinity_get(cpumask_var_t possible_cpumask, in per_cpu_affinity_get() 283 static int per_cpu_affinity_put_max(cpumask_var_t possible_cpumask, in per_cpu_affinity_put_max() 322 cpumask_var_t non_intr_cpus, in _dev_comp_vect_cpu_get() 323 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get() 404 cpumask_var_t non_intr_cpus; in _dev_comp_vect_mappings_create() 405 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create() 836 cpumask_var_t diff; in get_irq_affinity() 963 static void find_hw_thread_mask(uint hw_thread_no, cpumask_var_t hw_thread_mask, in find_hw_thread_mask() 998 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity()
|
/linux-5.19.10/kernel/time/ |
D | tick-broadcast.c | 28 static cpumask_var_t tick_broadcast_mask __cpumask_var_read_mostly; 29 static cpumask_var_t tick_broadcast_on __cpumask_var_read_mostly; 30 static cpumask_var_t tmpmask __cpumask_var_read_mostly; 606 static cpumask_var_t tick_broadcast_oneshot_mask __cpumask_var_read_mostly; 607 static cpumask_var_t tick_broadcast_pending_mask __cpumask_var_read_mostly; 608 static cpumask_var_t tick_broadcast_force_mask __cpumask_var_read_mostly;
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | irq_affinity.c | 50 cpumask_var_t auto_mask; in irq_pool_request_irq() 197 cpumask_var_t req_mask; in mlx5_irq_affinity_irqs_request_auto()
|
/linux-5.19.10/drivers/md/ |
D | dm-ps-io-affinity.c | 16 cpumask_var_t cpumask; 23 cpumask_var_t path_mask;
|
/linux-5.19.10/arch/powerpc/platforms/pseries/ |
D | hotplug-cpu.c | 46 static cpumask_var_t node_recorded_ids_map[MAX_NUMNODES]; 153 cpumask_var_t *cpu_mask) in find_cpu_id_range() 155 cpumask_var_t candidate_mask; in find_cpu_id_range() 214 cpumask_var_t cpu_mask; in pseries_add_processor()
|
/linux-5.19.10/include/asm-generic/ |
D | numa.h | 17 extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES];
|
/linux-5.19.10/kernel/ |
D | compat.c | 128 cpumask_var_t new_mask; in COMPAT_SYSCALL_DEFINE3() 148 cpumask_var_t mask; in COMPAT_SYSCALL_DEFINE3()
|