Searched refs:cpumask_size (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/lib/ |
D | cpumask.c | 114 *mask = kmalloc_node(cpumask_size(), flags, node); in alloc_cpumask_var_node() 166 *mask = memblock_virt_alloc(cpumask_size(), 0); in alloc_bootmem_cpumask_var() 187 memblock_free_early(__pa(mask), cpumask_size()); in free_bootmem_cpumask_var()
|
/Linux-v4.19/kernel/ |
D | compat.c | 270 if (len < cpumask_size()) in compat_get_user_cpu_mask() 271 memset(new_mask, 0, cpumask_size()); in compat_get_user_cpu_mask() 272 else if (len > cpumask_size()) in compat_get_user_cpu_mask() 273 len = cpumask_size(); in compat_get_user_cpu_mask() 315 unsigned int retlen = min(len, cpumask_size()); in COMPAT_SYSCALL_DEFINE3()
|
D | fork.c | 2347 mm_size = sizeof(struct mm_struct) + cpumask_size(); in proc_caches_init()
|
/Linux-v4.19/drivers/cpuidle/ |
D | cpuidle-big_little.c | 146 cpumask = kzalloc(cpumask_size(), GFP_KERNEL); in bl_idle_driver_init()
|
/Linux-v4.19/drivers/powercap/ |
D | idle_inject.c | 292 ii_dev = kzalloc(sizeof(*ii_dev) + cpumask_size(), GFP_KERNEL); in idle_inject_register()
|
/Linux-v4.19/kernel/sched/ |
D | topology.c | 654 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain() 1416 struct cpumask *mask = kzalloc(cpumask_size(), GFP_KERNEL); in sched_init_numa() 1530 sd = kzalloc_node(sizeof(struct sched_domain) + cpumask_size(), in __sdt_alloc() 1544 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in __sdt_alloc() 1553 sgc = kzalloc_node(sizeof(struct sched_group_capacity) + cpumask_size(), in __sdt_alloc()
|
D | core.c | 4826 if (len < cpumask_size()) in get_user_cpu_mask() 4828 else if (len > cpumask_size()) in get_user_cpu_mask() 4829 len = cpumask_size(); in get_user_cpu_mask() 4910 unsigned int retlen = min(len, cpumask_size()); in SYSCALL_DEFINE3() 5946 cpumask_size(), GFP_KERNEL, cpu_to_node(i)); in sched_init() 5948 cpumask_size(), GFP_KERNEL, cpu_to_node(i)); in sched_init()
|
/Linux-v4.19/include/linux/ |
D | cpumask.h | 657 static inline unsigned int cpumask_size(void) in cpumask_size() function
|