Home
last modified time | relevance | path

Searched refs:cpumask_var_t (Results 1 – 25 of 151) sorted by relevance

1234567

/linux-5.19.10/include/linux/
Dcpumask.h740 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 …]
Dpadata.h77 cpumask_var_t pcpu;
78 cpumask_var_t cbcpu;
194 cpumask_var_t cpumask);
Dtick.h179 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/
Dcpumask.c113 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/
Dcpumask.h7 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;
Dsmp.h14 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/
Dsmp.h36 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);
Dmmzone.h34 extern cpumask_var_t node_to_cpumask_map[];
/linux-5.19.10/include/linux/sched/
Dtopology.h171 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/
Daffinity.c43 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()
Dproc.c87 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/
Dne_misc_dev.h80 cpumask_var_t *threads_per_core;
81 cpumask_var_t vcpu_ids;
/linux-5.19.10/drivers/firmware/psci/
Dpsci_checker.c140 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/
Dsmp.c82 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/
Disolation.c27 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()
Dmembarrier.c247 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()
Dcpupri.h12 cpumask_var_t mask;
Dcpudeadline.h14 cpumask_var_t free_cpus;
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Daffinity.c62 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/
Dtick-broadcast.c28 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/
Dirq_affinity.c50 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/
Ddm-ps-io-affinity.c16 cpumask_var_t cpumask;
23 cpumask_var_t path_mask;
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c46 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/
Dnuma.h17 extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES];
/linux-5.19.10/kernel/
Dcompat.c128 cpumask_var_t new_mask; in COMPAT_SYSCALL_DEFINE3()
148 cpumask_var_t mask; in COMPAT_SYSCALL_DEFINE3()

1234567