Home
last modified time | relevance | path

Searched refs:map_meta (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/bpf/map/
H A Dmod.rs193 let map_meta = BpfMapMeta::try_from(attr)?; in bpf_map_create() localVariable
194 info!("The map attr is {:#?}", map_meta); in bpf_map_create()
195 let map: Box<dyn BpfMapCommonOps> = match map_meta.map_type { in bpf_map_create()
197 let array_map = ArrayMap::new(&map_meta)?; in bpf_map_create()
201 let per_cpu_array_map = PerCpuArrayMap::new(&map_meta)?; in bpf_map_create()
205 let perf_event_array_map = PerfEventArrayMap::new(&map_meta)?; in bpf_map_create()
212 error!("bpf map type {:?} not implemented", map_meta.map_type); in bpf_map_create()
216 let hash_map = hash_map::BpfHashMap::new(&map_meta)?; in bpf_map_create()
220 let per_cpu_hash_map = PerCpuHashMap::new(&map_meta)?; in bpf_map_create()
224 let queue_map = queue::QueueMap::new(&map_meta)?; in bpf_map_create()
[all …]
/DragonOS/docs/kernel/trace/
H A DeBPF.md164 error!("bpf map type {:?} not implemented", map_meta.map_type);