Home
last modified time | relevance | path

Searched refs:alloc_cpumask_var (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/firmware/psci/
H A Dpsci_checker.c155 if (!alloc_cpumask_var(&tmp, GFP_KERNEL)) in alloc_init_cpu_groups()
170 if (!alloc_cpumask_var(&cpu_groups[num_groups], GFP_KERNEL)) { in alloc_init_cpu_groups()
190 if (!alloc_cpumask_var(&offlined_cpus, GFP_KERNEL)) in hotplug_tests()
/linux/drivers/base/
H A Dtopology.c33 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) \
51 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) \
H A Dcpu.c254 if (!alloc_cpumask_var(&offline, GFP_KERNEL)) in print_cpus_offline()
290 if (!alloc_cpumask_var(&isolated, GFP_KERNEL)) in print_cpus_isolated()
H A Darch_topology.c440 if (!alloc_cpumask_var(&cpus_to_visit, GFP_KERNEL)) in register_cpufreq_notifier()
/linux/rust/helpers/
H A Dcpumask.c68 return alloc_cpumask_var(mask, flags); in rust_helper_free_cpumask_var()
/linux/kernel/trace/
H A Dpreemptirq_delay_test.c123 if (!alloc_cpumask_var(&cpu_mask, GFP_KERNEL)) in preemptirq_delay_run()
H A Dtrace_boot.c74 if (alloc_cpumask_var(&new_mask, GFP_KERNEL)) { in trace_boot_set_instance_options()
/linux/include/linux/
H A Dcpumask.h1051 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var() function
1059 return alloc_cpumask_var(mask, flags | __GFP_ZERO); in zalloc_cpumask_var()
1077 static __always_inline bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var() function
/linux/kernel/
H A Dcompat.c131 if (!alloc_cpumask_var(&new_mask, GFP_KERNEL)) in COMPAT_SYSCALL_DEFINE3()
H A Dtorture.c586 if (!alloc_cpumask_var(&shuffle_tmp_mask, GFP_KERNEL)) { in torture_shuffle_init()
H A Dworkqueue.c4832 if (!alloc_cpumask_var(&attrs->cpumask, GFP_KERNEL)) in alloc_workqueue_attrs_noprof()
4834 if (!alloc_cpumask_var(&attrs->__pod_cpumask, GFP_KERNEL)) in alloc_workqueue_attrs_noprof()
8138 BUG_ON(!alloc_cpumask_var(&wq_online_cpumask, GFP_KERNEL)); in workqueue_init_early()
8139 BUG_ON(!alloc_cpumask_var(&wq_unbound_cpumask, GFP_KERNEL)); in workqueue_init_early()
8140 BUG_ON(!alloc_cpumask_var(&wq_requested_unbound_cpumask, GFP_KERNEL)); in workqueue_init_early()
/linux/kernel/sched/
H A Dsyscalls.c1141 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) in __sched_setaffinity()
1144 if (!alloc_cpumask_var(&new_mask, GFP_KERNEL)) { in __sched_setaffinity()
1268 if (!alloc_cpumask_var(&new_mask, GFP_KERNEL)) in SYSCALL_DEFINE3()
/linux/arch/x86/mm/
H A Dmmio-mod.c374 !alloc_cpumask_var(&downed_cpus, GFP_KERNEL)) { in enter_uniprocessor()
/linux/kernel/sched/ext/
H A Didle.c684 BUG_ON(!alloc_cpumask_var(&scx_idle_global_masks.cpu, GFP_KERNEL)); in scx_idle_init_masks()
685 BUG_ON(!alloc_cpumask_var(&scx_idle_global_masks.smt, GFP_KERNEL)); in scx_idle_init_masks()
/linux/drivers/cpufreq/
H A Dcpufreq_ondemand.c393 if (!alloc_cpumask_var(&done, GFP_KERNEL)) in od_set_powersave_bias()
/linux/io_uring/
H A Dsqpoll.c497 if (!alloc_cpumask_var(&allowed_mask, GFP_KERNEL)) in io_sq_offload_create()
H A Dio-wq.c1276 if (!alloc_cpumask_var(&wq->cpu_mask, GFP_KERNEL)) in io_wq_create()
1462 if (!alloc_cpumask_var(&allowed_mask, GFP_KERNEL)) in io_wq_cpu_affinity()
H A Dregister.c321 if (!alloc_cpumask_var(&new_mask, GFP_KERNEL)) in io_register_iowq_aff()
/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-cpu.c227 if (!alloc_cpumask_var(&cpu_mask, GFP_KERNEL)) in pseries_add_processor()
/linux/drivers/pci/controller/
H A Dpcie-iproc-msi.c491 if (alloc_cpumask_var(&mask, GFP_KERNEL)) { in iproc_msi_irq_setup()
/linux/net/core/
H A Dsysctl_net_core.c226 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) in flow_limit_cpu_sysctl()
H A Dnet-sysfs.c1036 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) in store_rps_map()
1794 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) in xps_cpus_store()
/linux/drivers/virtio/
H A Dvirtio_pci_common.c145 if (!alloc_cpumask_var(&vp_dev->msix_affinity_masks[i], in vp_request_msix_vectors()
/linux/kernel/irq/
H A Dmanage.c526 if (!desc || !alloc_cpumask_var(&cpumask, GFP_KERNEL)) in irq_affinity_notify()
1036 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) { in irq_thread_check_affinity()
/linux/arch/x86/kernel/apic/
H A Dvector.c810 BUG_ON(!alloc_cpumask_var(&vector_searchmask, GFP_KERNEL)); in arch_early_irq_init()

12