Searched refs:cpumask_size (Results 1 – 14 of 14) sorted by relevance
/linux/lib/ |
A D | cpumask.c | 115 *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(mask, cpumask_size()); in free_bootmem_cpumask_var()
|
/linux/kernel/ |
A D | compat.c | 115 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()
|
A D | fork.c | 2931 mm_size = sizeof(struct mm_struct) + cpumask_size(); in proc_caches_init()
|
/linux/drivers/cpuidle/ |
A D | cpuidle-big_little.c | 143 cpumask = kzalloc(cpumask_size(), GFP_KERNEL); in bl_idle_driver_init()
|
/linux/kernel/sched/ |
A D | topology.c | 920 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain() 1347 entry = kzalloc(sizeof(*entry) + cpumask_size(), GFP_KERNEL); in asym_cpu_capacity_update_data() 1844 struct cpumask *mask = kzalloc(cpumask_size(), GFP_KERNEL); in sched_init_numa() 2046 sd = kzalloc_node(sizeof(struct sched_domain) + cpumask_size(), in __sdt_alloc() 2060 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in __sdt_alloc() 2069 sgc = kzalloc_node(sizeof(struct sched_group_capacity) + cpumask_size(), in __sdt_alloc()
|
A D | core.c | 2529 dst->user_cpus_ptr = kmalloc_node(cpumask_size(), GFP_KERNEL, node); in dup_user_cpus_ptr() 2897 user_mask = kmalloc(cpumask_size(), GFP_KERNEL); in restrict_cpus_allowed_ptr() 8001 if (len < cpumask_size()) in get_user_cpu_mask() 8003 else if (len > cpumask_size()) in get_user_cpu_mask() 8004 len = cpumask_size(); in get_user_cpu_mask() 8085 unsigned int retlen = min(len, cpumask_size()); in SYSCALL_DEFINE3() 9308 cpumask_size(), GFP_KERNEL, cpu_to_node(i)); in sched_init() 9310 cpumask_size(), GFP_KERNEL, cpu_to_node(i)); in sched_init()
|
/linux/drivers/powercap/ |
A D | idle_inject.c | 305 ii_dev = kzalloc(sizeof(*ii_dev) + cpumask_size(), GFP_KERNEL); in idle_inject_register()
|
/linux/kernel/power/ |
A D | energy_model.c | 207 pd = kzalloc(sizeof(*pd) + cpumask_size(), GFP_KERNEL); in em_create_pd()
|
/linux/include/linux/ |
A D | cpumask.h | 668 static inline unsigned int cpumask_size(void) in cpumask_size() function
|
/linux/arch/s390/kernel/ |
A D | perf_cpum_cf.c | 1167 len = min_t(u64, start.cpumask_len, cpumask_size()); in cfset_ioctl_start()
|
/linux/drivers/soc/ti/ |
A D | knav_qmss_queue.c | 1255 cpumask_size(), GFP_KERNEL); in knav_setup_queue_range()
|
/linux/fs/ |
A D | io_uring.c | 10771 if (len > cpumask_size()) in io_register_iowq_aff() 10772 len = cpumask_size(); in io_register_iowq_aff()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_main.c | 4680 qv->mask = kzalloc(cpumask_size(), GFP_KERNEL); in mvpp2_irqs_init()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_init.c | 12607 tmp = kzalloc(cpumask_size(), GFP_KERNEL); in lpfc_cpuhp_get_eq()
|
Completed in 97 milliseconds