Home
last modified time | relevance | path

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

1234

/linux-6.6.21/kernel/time/
Dtick-broadcast.c1207 zalloc_cpumask_var(&tick_broadcast_mask, GFP_NOWAIT); in tick_broadcast_init()
1208 zalloc_cpumask_var(&tick_broadcast_on, GFP_NOWAIT); in tick_broadcast_init()
1209 zalloc_cpumask_var(&tmpmask, GFP_NOWAIT); in tick_broadcast_init()
1211 zalloc_cpumask_var(&tick_broadcast_oneshot_mask, GFP_NOWAIT); in tick_broadcast_init()
1212 zalloc_cpumask_var(&tick_broadcast_pending_mask, GFP_NOWAIT); in tick_broadcast_init()
1213 zalloc_cpumask_var(&tick_broadcast_force_mask, GFP_NOWAIT); in tick_broadcast_init()
/linux-6.6.21/lib/
Dgroup_cpus.c55 if (!zalloc_cpumask_var(&masks[node], GFP_KERNEL)) in alloc_node_to_cpumask()
355 if (!zalloc_cpumask_var(&nmsk, GFP_KERNEL)) in group_cpus_evenly()
358 if (!zalloc_cpumask_var(&npresmsk, GFP_KERNEL)) in group_cpus_evenly()
Dcpu_rmap.c173 if (unlikely(!zalloc_cpumask_var(&update_mask, GFP_KERNEL))) in cpu_rmap_update()
/linux-6.6.21/kernel/sched/
Dmembarrier.c262 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_global_expedited()
351 if (cpu_id < 0 && !zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited()
451 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in sync_runqueues_membarrier_state()
Dcpupri.c286 if (!zalloc_cpumask_var(&vec->mask, GFP_KERNEL)) in cpupri_init()
Dtopology.c539 if (!zalloc_cpumask_var(&rd->span, GFP_KERNEL)) in init_rootdomain()
541 if (!zalloc_cpumask_var(&rd->online, GFP_KERNEL)) in init_rootdomain()
543 if (!zalloc_cpumask_var(&rd->dlo_mask, GFP_KERNEL)) in init_rootdomain()
545 if (!zalloc_cpumask_var(&rd->rto_mask, GFP_KERNEL)) in init_rootdomain()
2571 zalloc_cpumask_var(&sched_domains_tmpmask, GFP_KERNEL); in sched_init_domains()
2572 zalloc_cpumask_var(&sched_domains_tmpmask2, GFP_KERNEL); in sched_init_domains()
2573 zalloc_cpumask_var(&fallback_doms, GFP_KERNEL); in sched_init_domains()
Dcpudeadline.c276 if (!zalloc_cpumask_var(&cp->free_cpus, GFP_KERNEL)) { in cpudl_init()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Daffinity.c409 if (!zalloc_cpumask_var(&non_intr_cpus, GFP_KERNEL)) in _dev_comp_vect_mappings_create()
412 if (!zalloc_cpumask_var(&available_cpus, GFP_KERNEL)) { in _dev_comp_vect_mappings_create()
882 if (!zalloc_cpumask_var(&diff, GFP_KERNEL)) in get_irq_affinity()
1047 ret = zalloc_cpumask_var(&diff, GFP_KERNEL); in hfi1_get_proc_affinity()
1050 ret = zalloc_cpumask_var(&hw_thread_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1053 ret = zalloc_cpumask_var(&available_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
1056 ret = zalloc_cpumask_var(&intrs_mask, GFP_KERNEL); in hfi1_get_proc_affinity()
Dnetdev_rx.c171 if (!zalloc_cpumask_var(&node_cpu_mask, GFP_KERNEL)) { in hfi1_num_netdev_contexts()
/linux-6.6.21/drivers/md/
Ddm-ps-io-affinity.c66 if (!zalloc_cpumask_var(&pi->cpumask, GFP_KERNEL)) { in ioa_add_path()
124 if (!zalloc_cpumask_var(&s->path_mask, GFP_KERNEL)) in ioa_create()
/linux-6.6.21/kernel/irq/
Dproc.c89 if (!zalloc_cpumask_var(&mask, GFP_KERNEL)) in irq_affinity_hint_proc_show()
147 if (!zalloc_cpumask_var(&new_value, GFP_KERNEL)) in write_irq_affinity()
241 if (!zalloc_cpumask_var(&new_value, GFP_KERNEL)) in default_affinity_write()
/linux-6.6.21/arch/x86/kernel/
Dsmpboot.c1169 zalloc_cpumask_var(&per_cpu(cpu_sibling_map, i), GFP_KERNEL); in smp_prepare_cpus_common()
1170 zalloc_cpumask_var(&per_cpu(cpu_core_map, i), GFP_KERNEL); in smp_prepare_cpus_common()
1171 zalloc_cpumask_var(&per_cpu(cpu_die_map, i), GFP_KERNEL); in smp_prepare_cpus_common()
1172 zalloc_cpumask_var(&per_cpu(cpu_llc_shared_map, i), GFP_KERNEL); in smp_prepare_cpus_common()
1173 zalloc_cpumask_var(&per_cpu(cpu_l2c_shared_map, i), GFP_KERNEL); in smp_prepare_cpus_common()
/linux-6.6.21/drivers/virt/nitro_enclaves/
Dne_misc_dev.c189 if (!zalloc_cpumask_var(&cpu_pool, GFP_KERNEL)) in ne_setup_cpu_pool()
307 if (!zalloc_cpumask_var(&ne_cpu_pool.avail_threads_per_core[i], GFP_KERNEL)) { in ne_setup_cpu_pool()
1642 if (!zalloc_cpumask_var(&ne_enclave->threads_per_core[i], GFP_KERNEL)) { in ne_create_vm_ioctl()
1648 if (!zalloc_cpumask_var(&ne_enclave->vcpu_ids, GFP_KERNEL)) { in ne_create_vm_ioctl()
/linux-6.6.21/arch/x86/kernel/apic/
Dx2apic_cluster.c186 if (!zalloc_cpumask_var(&per_cpu(ipi_mask, cpu), GFP_KERNEL)) in x2apic_prepare_cpu()
/linux-6.6.21/arch/arm64/kernel/
Dtopology.c242 if (!zalloc_cpumask_var(&amu_fie_cpus, GFP_KERNEL)) in init_amu_fie()
/linux-6.6.21/kernel/
Dcompat.c155 if (!zalloc_cpumask_var(&mask, GFP_KERNEL)) in COMPAT_SYSCALL_DEFINE3()
Dprofile.c364 if (!zalloc_cpumask_var(&new_value, GFP_KERNEL)) in prof_cpu_mask_proc_write()
/linux-6.6.21/include/linux/
Dcpumask.h898 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var() function
929 static inline bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var() function
/linux-6.6.21/drivers/soc/fsl/dpio/
Ddpio-driver.c324 if (!zalloc_cpumask_var(&cpus_unused_mask, GFP_KERNEL)) in dpio_driver_init()
/linux-6.6.21/drivers/cpufreq/
Dscmi-cpufreq.c145 if (!zalloc_cpumask_var(&priv->opp_shared_cpus, GFP_KERNEL)) { in scmi_cpufreq_init()
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()
/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c462 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in rdtgroup_cpus_write()
464 if (!zalloc_cpumask_var(&newmask, GFP_KERNEL)) { in rdtgroup_cpus_write()
468 if (!zalloc_cpumask_var(&tmpmask1, GFP_KERNEL)) { in rdtgroup_cpus_write()
2137 if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL)) in set_cache_qos_cfg()
2640 if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL)) in reset_all_ctrls()
3484 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in rdtgroup_rmdir()
3624 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) { in rdtgroup_rename()
/linux-6.6.21/drivers/thermal/intel/
Dintel_hfi.c620 if (!zalloc_cpumask_var(&hfi_instance->cpus, GFP_KERNEL)) in intel_hfi_init()
/linux-6.6.21/drivers/hwmon/
Dfam15h_power.c163 ret = zalloc_cpumask_var(&mask, GFP_KERNEL); in read_registers()

1234