Searched refs:cpumask_size (Results 1 – 15 of 15) sorted by relevance
| /linux/kernel/ |
| H 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()
|
| H A D | smp.c | 846 kmalloc(cpumask_size(), GFP_KERNEL); in smp_task_ipi_mask_alloc() 1111 if (IS_ENABLED(CONFIG_PREEMPTION) && cpumask_size() <= sizeof(unsigned long)) in setup_nr_cpu_ids()
|
| H A D | fork.c | 3125 mm_size = sizeof(struct mm_struct) + cpumask_size() + mm_cid_size(); in mm_cache_init()
|
| /linux/kernel/sched/ |
| H A D | isolation.c | 128 trial = kmalloc(cpumask_size(), GFP_KERNEL); in housekeeping_update() 183 struct cpumask *omask, *nmask = kmalloc(cpumask_size(), GFP_KERNEL); in housekeeping_init() 205 memblock_free(pos, cpumask_size()); in housekeeping_setup() 213 struct cpumask *mask = memblock_alloc_or_panic(cpumask_size(), SMP_CACHE_BYTES); in housekeeping_setup()
|
| H A D | syscalls.c | 1246 if (len < cpumask_size()) in get_user_cpu_mask() 1248 else if (len > cpumask_size()) in get_user_cpu_mask() 1249 len = cpumask_size(); in get_user_cpu_mask() 1323 unsigned int retlen = min(len, cpumask_size()); in SYSCALL_DEFINE3()
|
| H A D | topology.c | 1244 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in build_group_from_child_sched_domain() 1735 entry = kzalloc(sizeof(*entry) + cpumask_size(), GFP_KERNEL); in asym_cpu_capacity_update_data() 2373 struct cpumask *mask = kzalloc(cpumask_size(), GFP_KERNEL); in sched_init_numa() 2684 sd = kzalloc_node(sizeof(struct sched_domain) + cpumask_size(), in __sdt_alloc() 2691 sg = kzalloc_node(sizeof(struct sched_group) + cpumask_size(), in __sdt_alloc() 2700 sgc = kzalloc_node(sizeof(struct sched_group_capacity) + cpumask_size(), in __sdt_alloc()
|
| H A D | sched.h | 2931 int size = max_t(int, cpumask_size(), sizeof(struct rcu_head)); in alloc_user_cpus_ptr()
|
| /linux/arch/riscv/kernel/ |
| H A D | sys_hwprobe.c | 401 if (cpusetsize > cpumask_size()) in hwprobe_get_values() 402 cpusetsize = cpumask_size(); in hwprobe_get_values() 452 if (cpusetsize > cpumask_size()) in hwprobe_get_cpus() 453 cpusetsize = cpumask_size(); in hwprobe_get_cpus()
|
| /linux/io_uring/ |
| H A D | register.c | 325 if (len > cpumask_size()) in io_register_iowq_aff() 326 len = cpumask_size(); in io_register_iowq_aff()
|
| /linux/kernel/power/ |
| H A D | energy_model.c | 436 pd = kzalloc(sizeof(*pd) + cpumask_size(), GFP_KERNEL); in em_create_pd()
|
| /linux/net/core/ |
| H A D | sysctl_net_core.c | 114 mask = kzalloc(cpumask_size(), GFP_KERNEL); in rps_default_mask_sysctl()
|
| /linux/include/linux/ |
| H A D | cpumask.h | 1019 static __always_inline unsigned int cpumask_size(void) in cpumask_size() function
|
| /linux/net/openvswitch/ |
| H A D | flow_table.c | 1195 + cpumask_size(), in ovs_flow_init()
|
| /linux/kernel/trace/ |
| H A D | trace_events_filter.c | 1883 pred->mask = kzalloc(cpumask_size(), GFP_KERNEL); in parse_pred()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_init.c | 12711 tmp = kzalloc(cpumask_size(), GFP_KERNEL); in lpfc_cpuhp_get_eq()
|