Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/lib/
Dgroup_cpus.c45 static cpumask_var_t *alloc_node_to_cpumask(void) in alloc_node_to_cpumask()
47 cpumask_var_t *masks; in alloc_node_to_cpumask()
50 masks = kcalloc(nr_node_ids, sizeof(cpumask_var_t), GFP_KERNEL); in alloc_node_to_cpumask()
68 static void free_node_to_cpumask(cpumask_var_t *masks) in free_node_to_cpumask()
77 static void build_node_to_cpumask(cpumask_var_t *masks) in build_node_to_cpumask()
85 static int get_nodes_in_cpumask(cpumask_var_t *node_to_cpumask, in get_nodes_in_cpumask()
131 cpumask_var_t *node_to_cpumask, in alloc_nodes_groups()
250 cpumask_var_t *node_to_cpumask, in __group_cpus_evenly()
350 cpumask_var_t *node_to_cpumask; in group_cpus_evenly()
351 cpumask_var_t nmsk, npresmsk; in group_cpus_evenly()
Dcpumask.c59 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in alloc_cpumask_var_node()
83 void __init alloc_bootmem_cpumask_var(cpumask_var_t *mask) in alloc_bootmem_cpumask_var()
97 void free_cpumask_var(cpumask_var_t mask) in free_cpumask_var()
107 void __init free_bootmem_cpumask_var(cpumask_var_t mask) in free_bootmem_cpumask_var()
/linux-6.6.21/arch/powerpc/include/asm/
Dsmp.h37 DECLARE_PER_CPU(cpumask_var_t, thread_group_l1_cache_map);
38 DECLARE_PER_CPU(cpumask_var_t, thread_group_l2_cache_map);
39 DECLARE_PER_CPU(cpumask_var_t, thread_group_l3_cache_map);
108 DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map);
109 DECLARE_PER_CPU(cpumask_var_t, cpu_l2_cache_map);
110 DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
111 DECLARE_PER_CPU(cpumask_var_t, cpu_smallcore_map);
Dmmzone.h34 extern cpumask_var_t node_to_cpumask_map[];
/linux-6.6.21/include/linux/
Dcpumask.h868 typedef struct cpumask *cpumask_var_t; typedef
873 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node);
876 bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in zalloc_cpumask_var_node()
892 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var()
898 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var()
903 void alloc_bootmem_cpumask_var(cpumask_var_t *mask);
904 void free_cpumask_var(cpumask_var_t mask);
905 void free_bootmem_cpumask_var(cpumask_var_t mask);
907 static inline bool cpumask_available(cpumask_var_t mask) in cpumask_available()
913 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;
276 extern void __init tick_nohz_full_setup(cpumask_var_t cpumask);
301 static inline void tick_nohz_full_setup(cpumask_var_t cpumask) { } in tick_nohz_full_setup()
Dworkqueue.h157 cpumask_var_t cpumask;
169 cpumask_var_t __pod_cpumask;
494 int workqueue_set_unbound_cpumask(cpumask_var_t cpumask);
/linux-6.6.21/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-6.6.21/arch/x86/include/asm/
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-6.6.21/drivers/virt/nitro_enclaves/
Dne_misc_dev.h80 cpumask_var_t *threads_per_core;
81 cpumask_var_t vcpu_ids;
/linux-6.6.21/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-6.6.21/arch/powerpc/kernel/
Dsmp.c85 DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map);
86 DEFINE_PER_CPU(cpumask_var_t, cpu_smallcore_map);
87 DEFINE_PER_CPU(cpumask_var_t, cpu_l2_cache_map);
88 DEFINE_PER_CPU(cpumask_var_t, cpu_core_map);
89 static DEFINE_PER_CPU(cpumask_var_t, cpu_coregroup_map);
128 DEFINE_PER_CPU(cpumask_var_t, thread_group_l1_cache_map);
135 DEFINE_PER_CPU(cpumask_var_t, thread_group_l2_cache_map);
141 DEFINE_PER_CPU(cpumask_var_t, thread_group_l3_cache_map);
929 static int __init update_mask_from_threadgroup(cpumask_var_t *mask, struct thread_groups *tg, in update_mask_from_threadgroup()
957 cpumask_var_t *mask = NULL; in init_thread_group_cache_map()
[all …]
/linux-6.6.21/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-6.6.21/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.c251 cpumask_var_t tmpmask; in membarrier_global_expedited()
316 cpumask_var_t tmpmask; in membarrier_private_expedited()
434 cpumask_var_t tmpmask; in sync_runqueues_membarrier_state()
Dcpupri.h12 cpumask_var_t mask;
Dcpudeadline.h14 cpumask_var_t free_cpus;
/linux-6.6.21/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;
607 static cpumask_var_t tick_broadcast_oneshot_mask __cpumask_var_read_mostly;
608 static cpumask_var_t tick_broadcast_pending_mask __cpumask_var_read_mostly;
609 static cpumask_var_t tick_broadcast_force_mask __cpumask_var_read_mostly;
/linux-6.6.21/io_uring/
Dsqpoll.h30 int io_sqpoll_wq_cpu_affinity(struct io_ring_ctx *ctx, cpumask_var_t mask);
/linux-6.6.21/drivers/md/
Ddm-ps-io-affinity.c16 cpumask_var_t cpumask;
23 cpumask_var_t path_mask;
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c46 static cpumask_var_t node_recorded_ids_map[MAX_NUMNODES];
154 cpumask_var_t *cpu_mask) in find_cpu_id_range()
156 cpumask_var_t candidate_mask; in find_cpu_id_range()
215 cpumask_var_t cpu_mask; in pseries_add_processor()
/linux-6.6.21/include/asm-generic/
Dnuma.h17 extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES];
/linux-6.6.21/kernel/
Dcompat.c128 cpumask_var_t new_mask; in COMPAT_SYSCALL_DEFINE3()
148 cpumask_var_t mask; in COMPAT_SYSCALL_DEFINE3()
/linux-6.6.21/kernel/irq/
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()

1234567