Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/include/linux/
Dcpumask.h759 typedef struct cpumask *cpumask_var_t; typedef
764 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node);
765 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags);
766 bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node);
767 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags);
768 void alloc_bootmem_cpumask_var(cpumask_var_t *mask);
769 void free_cpumask_var(cpumask_var_t mask);
770 void free_bootmem_cpumask_var(cpumask_var_t mask);
772 static inline bool cpumask_available(cpumask_var_t mask) in cpumask_available()
778 typedef struct cpumask cpumask_var_t[1]; typedef
[all …]
Dpadata.h76 cpumask_var_t pcpu;
77 cpumask_var_t cbcpu;
193 cpumask_var_t cpumask);
Dtick.h178 extern cpumask_var_t tick_nohz_full_mask;
270 extern void __init tick_nohz_full_setup(cpumask_var_t cpumask);
294 static inline void tick_nohz_full_setup(cpumask_var_t cpumask) { } in tick_nohz_full_setup()
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/sched/
Dtopology.h162 cpumask_var_t doms_new[],
165 extern void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[],
169 cpumask_var_t *alloc_sched_domains(unsigned int ndoms);
170 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);
210 partition_sched_domains_locked(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains_locked()
216 partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains()
/kernel/linux/linux-5.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()
244 cpumask_var_t new_value; in default_affinity_write()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsmp.h114 DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map);
115 DECLARE_PER_CPU(cpumask_var_t, cpu_l2_cache_map);
116 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
117 DECLARE_PER_CPU(cpumask_var_t, cpu_smallcore_map);
Dmmzone.h34 extern cpumask_var_t node_to_cpumask_map[];
/kernel/linux/linux-5.10/drivers/virt/nitro_enclaves/
Dne_misc_dev.h80 cpumask_var_t *threads_per_core;
81 cpumask_var_t vcpu_ids;
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/kernel/sched/
Disolation.c14 static cpumask_var_t housekeeping_mask;
82 cpumask_var_t non_housekeeping_mask; in housekeeping_setup()
83 cpumask_var_t tmp; in housekeeping_setup()
Dmembarrier.c110 cpumask_var_t tmpmask; in membarrier_global_expedited()
178 cpumask_var_t tmpmask; in membarrier_private_expedited()
297 cpumask_var_t tmpmask; in sync_runqueues_membarrier_state()
Dcpupri.h12 cpumask_var_t mask;
Dcpudeadline.h14 cpumask_var_t free_cpus;
Dtopology.c10 static cpumask_var_t sched_domains_tmpmask;
11 static cpumask_var_t sched_domains_tmpmask2;
2165 static cpumask_var_t *doms_cur;
2178 static cpumask_var_t fallback_doms;
2190 cpumask_var_t *alloc_sched_domains(unsigned int ndoms) in alloc_sched_domains()
2193 cpumask_var_t *doms; in alloc_sched_domains()
2207 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) in free_sched_domains()
2300 void partition_sched_domains_locked(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains_locked()
2406 void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dtopology.c94 static cpumask_var_t amu_fie_cpus;
153 enable_policy_freq_counters(int cpu, cpumask_var_t valid_cpus) in enable_policy_freq_counters()
176 cpumask_var_t valid_cpus; in init_amu_fie()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Daffinity.c104 static int cpu_mask_set_get_first(struct cpu_mask_set *set, cpumask_var_t diff) in cpu_mask_set_get_first()
287 static int per_cpu_affinity_get(cpumask_var_t possible_cpumask, in per_cpu_affinity_get()
327 static int per_cpu_affinity_put_max(cpumask_var_t possible_cpumask, in per_cpu_affinity_put_max()
366 cpumask_var_t non_intr_cpus, in _dev_comp_vect_cpu_get()
367 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get()
448 cpumask_var_t non_intr_cpus; in _dev_comp_vect_mappings_create()
449 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create()
880 cpumask_var_t diff; in get_irq_affinity()
1007 static void find_hw_thread_mask(uint hw_thread_no, cpumask_var_t hw_thread_mask, in find_hw_thread_mask()
1042 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity()
/kernel/linux/linux-5.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;
525 static cpumask_var_t tick_broadcast_oneshot_mask __cpumask_var_read_mostly;
526 static cpumask_var_t tick_broadcast_pending_mask __cpumask_var_read_mostly;
527 static cpumask_var_t tick_broadcast_force_mask __cpumask_var_read_mostly;
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsmp.c81 DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map);
82 DEFINE_PER_CPU(cpumask_var_t, cpu_smallcore_map);
83 DEFINE_PER_CPU(cpumask_var_t, cpu_l2_cache_map);
84 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map);
85 DEFINE_PER_CPU(cpumask_var_t, cpu_coregroup_map);
114 DEFINE_PER_CPU(cpumask_var_t, cpu_l1_cache_map);
1289 static bool update_mask_by_l2(int cpu, cpumask_var_t *mask) in update_mask_by_l2()
1380 static void update_coregroup_mask(int cpu, cpumask_var_t *mask) in update_coregroup_mask()
1421 cpumask_var_t mask; in add_cpu_to_masks()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dnuma.h19 extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES];
/kernel/linux/linux-5.10/kernel/cgroup/
Dcpuset.c108 cpumask_var_t cpus_allowed;
109 cpumask_var_t cpus_requested;
113 cpumask_var_t effective_cpus;
124 cpumask_var_t subparts_cpus;
190 cpumask_var_t addmask, delmask; /* For partition root */
191 cpumask_var_t new_cpus; /* For update_cpumasks_hier() */
468 cpumask_var_t *pmask1, *pmask2, *pmask3, *pmask4; in alloc_cpumasks()
748 static int generate_sched_domains(cpumask_var_t **domains, in generate_sched_domains()
755 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains()
975 partition_and_rebuild_sched_domains(int ndoms_new, cpumask_var_t doms_new[], in partition_and_rebuild_sched_domains()
[all …]
/kernel/linux/linux-5.10/kernel/
Dcompat.c128 cpumask_var_t new_mask; in COMPAT_SYSCALL_DEFINE3()
148 cpumask_var_t mask; in COMPAT_SYSCALL_DEFINE3()

123456