Home
last modified time | relevance | path

Searched refs:zalloc_cpumask_var (Results 1 – 25 of 65) sorted by relevance

123

/Linux-v5.4/kernel/sched/
Dmembarrier.c80 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_global_expedited()
159 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited()
220 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in sync_runqueues_membarrier_state()
Dcpupri.c207 if (!zalloc_cpumask_var(&vec->mask, GFP_KERNEL)) in cpupri_init()
Dtopology.c492 if (!zalloc_cpumask_var(&rd->span, GFP_KERNEL)) in init_rootdomain()
494 if (!zalloc_cpumask_var(&rd->online, GFP_KERNEL)) in init_rootdomain()
496 if (!zalloc_cpumask_var(&rd->dlo_mask, GFP_KERNEL)) in init_rootdomain()
498 if (!zalloc_cpumask_var(&rd->rto_mask, GFP_KERNEL)) in init_rootdomain()
2105 zalloc_cpumask_var(&sched_domains_tmpmask, GFP_KERNEL); in sched_init_domains()
2106 zalloc_cpumask_var(&sched_domains_tmpmask2, GFP_KERNEL); in sched_init_domains()
2107 zalloc_cpumask_var(&fallback_doms, GFP_KERNEL); in sched_init_domains()
Dcpudeadline.c253 if (!zalloc_cpumask_var(&cp->free_cpus, GFP_KERNEL)) { in cpudl_init()
/Linux-v5.4/arch/x86/xen/
Dsmp_pv.c253 zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()
254 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()
255 zalloc_cpumask_var(&per_cpu(cpu_die_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()
256 zalloc_cpumask_var(&per_cpu(cpu_llc_shared_map, i), GFP_KERNEL); in xen_pv_smp_prepare_cpus()
/Linux-v5.4/kernel/time/
Dtick-broadcast.c1007 zalloc_cpumask_var(&tick_broadcast_mask, GFP_NOWAIT); in tick_broadcast_init()
1008 zalloc_cpumask_var(&tick_broadcast_on, GFP_NOWAIT); in tick_broadcast_init()
1009 zalloc_cpumask_var(&tmpmask, GFP_NOWAIT); in tick_broadcast_init()
1011 zalloc_cpumask_var(&tick_broadcast_oneshot_mask, GFP_NOWAIT); in tick_broadcast_init()
1012 zalloc_cpumask_var(&tick_broadcast_pending_mask, GFP_NOWAIT); in tick_broadcast_init()
1013 zalloc_cpumask_var(&tick_broadcast_force_mask, GFP_NOWAIT); in tick_broadcast_init()
/Linux-v5.4/lib/
Dcpumask.c150 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var() function
154 EXPORT_SYMBOL(zalloc_cpumask_var);
Dcpu_rmap.c161 if (unlikely(!zalloc_cpumask_var(&update_mask, GFP_KERNEL))) in cpu_rmap_update()
/Linux-v5.4/kernel/irq/
Daffinity.c53 if (!zalloc_cpumask_var(&masks[node], GFP_KERNEL)) in alloc_node_to_cpumask()
347 if (!zalloc_cpumask_var(&nmsk, GFP_KERNEL)) in irq_build_affinity_masks()
350 if (!zalloc_cpumask_var(&npresmsk, GFP_KERNEL)) in irq_build_affinity_masks()
Dproc.c89 if (!zalloc_cpumask_var(&mask, GFP_KERNEL)) in irq_affinity_hint_proc_show()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Daffinity.c450 if (!zalloc_cpumask_var(&non_intr_cpus, GFP_KERNEL)) in _dev_comp_vect_mappings_create()
453 if (!zalloc_cpumask_var(&available_cpus, GFP_KERNEL)) { in _dev_comp_vect_mappings_create()
927 if (!zalloc_cpumask_var(&diff, GFP_KERNEL)) in get_irq_affinity()
1088 ret = zalloc_cpumask_var(&diff, GFP_KERNEL); in hfi1_get_proc_affinity()
1091 ret = zalloc_cpumask_var(&hw_thread_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1094 ret = zalloc_cpumask_var(&available_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1097 ret = zalloc_cpumask_var(&intrs_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
/Linux-v5.4/arch/x86/kernel/
Dsmpboot.c1324 zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL); in native_smp_prepare_cpus()
1325 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in native_smp_prepare_cpus()
1326 zalloc_cpumask_var(&per_cpu(cpu_die_map, i), GFP_KERNEL); in native_smp_prepare_cpus()
1327 zalloc_cpumask_var(&per_cpu(cpu_llc_shared_map, i), GFP_KERNEL); in native_smp_prepare_cpus()
/Linux-v5.4/arch/x86/kernel/apic/
Dx2apic_cluster.c150 if (!zalloc_cpumask_var(&per_cpu(ipi_mask, cpu), GFP_KERNEL)) in x2apic_prepare_cpu()
/Linux-v5.4/include/linux/
Dcpumask.h740 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags);
767 static inline bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var() function
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c254 zalloc_cpumask_var(&candidate_mask, GFP_KERNEL); in pseries_add_processor()
255 zalloc_cpumask_var(&tmp, GFP_KERNEL); in pseries_add_processor()
/Linux-v5.4/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c451 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in rdtgroup_cpus_write()
453 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) { in rdtgroup_cpus_write()
457 if (!zalloc_cpumask_var(&tmpmask1, GFP_KERNEL)) { in rdtgroup_cpus_write()
1744 if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL)) in set_cache_qos_cfg()
2118 if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL)) in reset_all_ctrls()
2972 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in rdtgroup_rmdir()
Dctrlmondata.c314 if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL)) in update_domains()
/Linux-v5.4/drivers/soc/fsl/dpio/
Ddpio-driver.c333 if (!zalloc_cpumask_var(&cpus_unused_mask, GFP_KERNEL)) in dpio_driver_init()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c181 if (!zalloc_cpumask_var(&irq->mask, GFP_KERNEL)) { in set_comp_irq_affinity_hint()
/Linux-v5.4/drivers/cpufreq/
De_powersaver.c63 if (!zalloc_cpumask_var(&eps_acpi_cpu_perf->shared_cpu_map, in eps_acpi_init()
Dspeedstep-centrino.c430 if (unlikely(!zalloc_cpumask_var(&covered_cpus, GFP_KERNEL))) in centrino_target()
Dcppc_cpufreq.c438 if (!zalloc_cpumask_var(&cpu->shared_cpu_map, GFP_KERNEL)) in cppc_cpufreq_init()
/Linux-v5.4/drivers/oprofile/
Dbuffer_sync.c158 if (!zalloc_cpumask_var(&marked_cpus, GFP_KERNEL)) in sync_start()
/Linux-v5.4/drivers/hwmon/
Dfam15h_power.c167 ret = zalloc_cpumask_var(&mask, GFP_KERNEL); in read_registers()
/Linux-v5.4/drivers/acpi/
Dacpi_processor.c379 if (!zalloc_cpumask_var(&pr->throttling.shared_cpu_map, GFP_KERNEL)) { in acpi_processor_add()

123