Searched refs:per_cpu_maps (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/bpf/map/ |
H A D | hash_map.rs | 103 per_cpu_maps: PerCpuVar<BpfHashMap>, field 109 .field("maps", &self.per_cpu_maps) in fmt() 121 let per_cpu_maps = PerCpuVar::new(data).ok_or(SystemError::EINVAL)?; in new() localVariable 122 Ok(PerCpuHashMap { per_cpu_maps }) in new() 127 self.per_cpu_maps.get_mut().lookup_elem(key) in lookup_elem() 130 self.per_cpu_maps.get_mut().update_elem(key, value, flags) in update_elem() 133 self.per_cpu_maps.get_mut().delete_elem(key) in delete_elem() 136 self.per_cpu_maps.get_mut().for_each_elem(cb, ctx, flags) in for_each_elem() 139 self.per_cpu_maps in lookup_and_delete_elem() 145 self.per_cpu_maps in lookup_percpu_elem() [all …]
|
H A D | lru.rs | 99 per_cpu_maps: PerCpuVar<LruMap>, field 105 .field("maps", &self.per_cpu_maps) in fmt() 118 let per_cpu_maps = PerCpuVar::new(data).ok_or(SystemError::EINVAL)?; in new() localVariable 119 Ok(PerCpuLruMap { per_cpu_maps }) in new() 125 self.per_cpu_maps.get_mut().lookup_elem(key) in lookup_elem() 128 self.per_cpu_maps.get_mut().update_elem(key, value, flags) in update_elem() 131 self.per_cpu_maps.get_mut().delete_elem(key) in delete_elem() 134 self.per_cpu_maps.get_mut().for_each_elem(cb, ctx, flags) in for_each_elem() 137 self.per_cpu_maps in lookup_and_delete_elem() 143 self.per_cpu_maps in lookup_percpu_elem() [all …]
|