Home
last modified time | relevance | path

Searched refs:cpumask_size (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/lib/
H A Dcpumask.c115 *mask = kmalloc_node(cpumask_size(), flags, node); in alloc_cpumask_var_node()
167 *mask = memblock_alloc(cpumask_size(), SMP_CACHE_BYTES); in alloc_bootmem_cpumask_var()
170 cpumask_size()); in alloc_bootmem_cpumask_var()
191 memblock_free_early(__pa(mask), cpumask_size()); in free_bootmem_cpumask_var()
/OK3568_Linux_fs/kernel/kernel/
H A Dcompat.c115 if (len < cpumask_size()) in compat_get_user_cpu_mask()
116 memset(new_mask, 0, cpumask_size()); in compat_get_user_cpu_mask()
117 else if (len > cpumask_size()) in compat_get_user_cpu_mask()
118 len = cpumask_size(); in compat_get_user_cpu_mask()
160 unsigned int retlen = min(len, cpumask_size()); in COMPAT_SYSCALL_DEFINE3()
H A Dfork.c2908 mm_size = sizeof(struct mm_struct) + cpumask_size(); in proc_caches_init()
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Dcpuidle-big_little.c143 cpumask = kzalloc(cpumask_size(), GFP_KERNEL); in bl_idle_driver_init()
/OK3568_Linux_fs/kernel/drivers/powercap/
H A Didle_inject.c305 ii_dev = kzalloc(sizeof(*ii_dev) + cpumask_size(), GFP_KERNEL); in idle_inject_register()
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dtopology.c887 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain()
1628 struct cpumask *mask = kzalloc(cpumask_size(), GFP_KERNEL); in sched_init_numa()
1767 sd = kzalloc_node(sizeof(struct sched_domain) + cpumask_size(), in __sdt_alloc()
1781 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in __sdt_alloc()
1790 sgc = kzalloc_node(sizeof(struct sched_group_capacity) + cpumask_size(), in __sdt_alloc()
H A Dcore.c6268 if (len < cpumask_size()) in get_user_cpu_mask()
6270 else if (len > cpumask_size()) in get_user_cpu_mask()
6271 len = cpumask_size(); in get_user_cpu_mask()
6352 unsigned int retlen = min(len, cpumask_size()); in SYSCALL_DEFINE3()
7516 cpumask_size(), GFP_KERNEL, cpu_to_node(i)); in sched_init()
7518 cpumask_size(), GFP_KERNEL, cpu_to_node(i)); in sched_init()
/OK3568_Linux_fs/kernel/kernel/power/
H A Denergy_model.c190 pd = kzalloc(sizeof(*pd) + cpumask_size(), GFP_KERNEL); in em_create_pd()
/OK3568_Linux_fs/kernel/include/linux/
H A Dcpumask.h691 static inline unsigned int cpumask_size(void) in cpumask_size() function
/OK3568_Linux_fs/kernel/drivers/soc/ti/
H A Dknav_qmss_queue.c1253 cpumask_size(), GFP_KERNEL); in knav_setup_queue_range()
/OK3568_Linux_fs/kernel/io_uring/
H A Dio_uring.c10568 if (len > cpumask_size()) in io_register_iowq_aff()
10569 len = cpumask_size(); in io_register_iowq_aff()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c4322 qv->mask = kzalloc(cpumask_size(), GFP_KERNEL); in mvpp2_irqs_init()
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_init.c11241 tmp = kzalloc(cpumask_size(), GFP_KERNEL); in lpfc_cpuhp_get_eq()