Searched refs:num_cpus (Results 1 – 3 of 3) sorted by relevance
178 let num_cpus = PerCpu::MAX_CPU_NUM; in new() localVariable179 let mut data = Vec::with_capacity(num_cpus as usize); in new()180 for _ in 0..num_cpus { in new()236 let num_cpus = smp_cpu_manager().possible_cpus_count(); in new() localVariable237 if attr.key_size != 4 || attr.value_size != 4 || attr.max_entries != num_cpus { in new()240 let fds = ArrayMapData::new(4, num_cpus); in new()265 let num_cpus = smp_cpu_manager().possible_cpus_count(); in for_each_elem() localVariable266 for i in 0..num_cpus { in for_each_elem()
112 let num_cpus = PerCpu::MAX_CPU_NUM; in new() localVariable113 let mut data = Vec::with_capacity(num_cpus as usize); in new()114 for _ in 0..num_cpus { in new()
115 let num_cpus = PerCpu::MAX_CPU_NUM; in new() localVariable116 let mut data = Vec::with_capacity(num_cpus as usize); in new()117 for _ in 0..num_cpus { in new()