Home
last modified time | relevance | path

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

123456

/linux/include/linux/
A Dcpumask.h714 typedef struct cpumask *cpumask_var_t; typedef
720 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags);
722 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags);
723 void alloc_bootmem_cpumask_var(cpumask_var_t *mask);
724 void free_cpumask_var(cpumask_var_t mask);
725 void free_bootmem_cpumask_var(cpumask_var_t mask);
727 static inline bool cpumask_available(cpumask_var_t mask) in cpumask_available()
733 typedef struct cpumask cpumask_var_t[1]; typedef
766 static inline void free_cpumask_var(cpumask_var_t mask) in free_cpumask_var()
770 static inline void free_bootmem_cpumask_var(cpumask_var_t mask) in free_bootmem_cpumask_var()
[all …]
A Dpadata.h77 cpumask_var_t pcpu;
78 cpumask_var_t cbcpu;
194 cpumask_var_t cpumask);
A 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/lib/
A 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/arch/powerpc/include/asm/
A 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);
104 DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map);
105 DECLARE_PER_CPU(cpumask_var_t, cpu_l2_cache_map);
106 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
107 DECLARE_PER_CPU(cpumask_var_t, cpu_smallcore_map);
A Dmmzone.h34 extern cpumask_var_t node_to_cpumask_map[];
/linux/arch/x86/include/asm/
A 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;
A 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/kernel/irq/
A 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()
343 cpumask_var_t *node_to_cpumask; in irq_build_affinity_masks()
344 cpumask_var_t nmsk, npresmsk; in irq_build_affinity_masks()
A 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/include/linux/sched/
A Dtopology.h169 cpumask_var_t doms_new[],
172 extern void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[],
176 cpumask_var_t *alloc_sched_domains(unsigned int ndoms);
177 void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);
217 partition_sched_domains_locked(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains_locked()
223 partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], in partition_sched_domains()
/linux/arch/powerpc/kernel/
A Dsmp.c83 DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map);
84 DEFINE_PER_CPU(cpumask_var_t, cpu_smallcore_map);
85 DEFINE_PER_CPU(cpumask_var_t, cpu_l2_cache_map);
86 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map);
87 static DEFINE_PER_CPU(cpumask_var_t, cpu_coregroup_map);
126 DEFINE_PER_CPU(cpumask_var_t, thread_group_l1_cache_map);
133 DEFINE_PER_CPU(cpumask_var_t, thread_group_l2_cache_map);
139 DEFINE_PER_CPU(cpumask_var_t, thread_group_l3_cache_map);
926 cpumask_var_t *mask = NULL; in init_thread_group_cache_map()
1364 static bool update_mask_by_l2(int cpu, cpumask_var_t *mask) in update_mask_by_l2()
[all …]
/linux/drivers/firmware/psci/
A 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/kernel/sched/
A 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()
A 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()
A Dcpupri.h12 cpumask_var_t mask;
A Dcpudeadline.h14 cpumask_var_t free_cpus;
/linux/drivers/virt/nitro_enclaves/
A Dne_misc_dev.h80 cpumask_var_t *threads_per_core;
81 cpumask_var_t vcpu_ids;
/linux/drivers/infiniband/hw/hfi1/
A Daffinity.c63 static int cpu_mask_set_get_first(struct cpu_mask_set *set, cpumask_var_t diff) in cpu_mask_set_get_first()
244 static int per_cpu_affinity_get(cpumask_var_t possible_cpumask, in per_cpu_affinity_get()
284 static int per_cpu_affinity_put_max(cpumask_var_t possible_cpumask, in per_cpu_affinity_put_max()
323 cpumask_var_t non_intr_cpus, in _dev_comp_vect_cpu_get()
324 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get()
405 cpumask_var_t non_intr_cpus; in _dev_comp_vect_mappings_create()
406 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create()
837 cpumask_var_t diff; in get_irq_affinity()
964 static void find_hw_thread_mask(uint hw_thread_no, cpumask_var_t hw_thread_mask, in find_hw_thread_mask()
999 cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; in hfi1_get_proc_affinity()
/linux/kernel/time/
A 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/arch/powerpc/platforms/pseries/
A 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/drivers/md/
A Ddm-ps-io-affinity.c16 cpumask_var_t cpumask;
23 cpumask_var_t path_mask;
/linux/kernel/
A Dcompat.c128 cpumask_var_t new_mask; in COMPAT_SYSCALL_DEFINE3()
148 cpumask_var_t mask; in COMPAT_SYSCALL_DEFINE3()
/linux/kernel/cgroup/
A Dcpuset.c114 cpumask_var_t cpus_allowed;
118 cpumask_var_t effective_cpus;
129 cpumask_var_t subparts_cpus;
198 cpumask_var_t addmask, delmask; /* For partition root */
199 cpumask_var_t new_cpus; /* For update_cpumasks_hier() */
512 cpumask_var_t *pmask1, *pmask2, *pmask3; in alloc_cpumasks()
783 static int generate_sched_domains(cpumask_var_t **domains, in generate_sched_domains()
790 cpumask_var_t *doms; /* resulting partition; i.e. sched domains */ in generate_sched_domains()
1010 partition_and_rebuild_sched_domains(int ndoms_new, cpumask_var_t doms_new[], in partition_and_rebuild_sched_domains()
1034 cpumask_var_t *doms; in rebuild_sched_domains_locked()
[all …]
/linux/include/asm-generic/
A Dnuma.h17 extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES];

Completed in 44 milliseconds

123456