Home
last modified time | relevance | path

Searched refs:bpf_map_type (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/bpf/map/
H A Dmod.rs14 use crate::include::bindings::linux_bpf::{bpf_attr, bpf_map_type};
196 bpf_map_type::BPF_MAP_TYPE_ARRAY => { in bpf_map_create()
200 bpf_map_type::BPF_MAP_TYPE_PERCPU_ARRAY => { in bpf_map_create()
204 bpf_map_type::BPF_MAP_TYPE_PERF_EVENT_ARRAY => { in bpf_map_create()
209 bpf_map_type::BPF_MAP_TYPE_CPUMAP in bpf_map_create()
210 | bpf_map_type::BPF_MAP_TYPE_DEVMAP in bpf_map_create()
211 | bpf_map_type::BPF_MAP_TYPE_DEVMAP_HASH => { in bpf_map_create()
215 bpf_map_type::BPF_MAP_TYPE_HASH => { in bpf_map_create()
219 bpf_map_type::BPF_MAP_TYPE_PERCPU_HASH => { in bpf_map_create()
223 bpf_map_type::BPF_MAP_TYPE_QUEUE => { in bpf_map_create()
[all …]
H A Dutil.rs1 use crate::include::bindings::linux_bpf::{bpf_attr, bpf_map_type};
9 pub map_type: bpf_map_type,
29 let map_type = bpf_map_type::from_u32(u.map_type).ok_or(SystemError::EINVAL)?; in try_from()
/DragonOS/docs/kernel/trace/
H A DeBPF.md151 bpf_map_type::BPF_MAP_TYPE_ARRAY
152 bpf_map_type::BPF_MAP_TYPE_PERCPU_ARRAY
153 bpf_map_type::BPF_MAP_TYPE_PERF_EVENT_ARRAY
154 bpf_map_type::BPF_MAP_TYPE_HASH
155 bpf_map_type::BPF_MAP_TYPE_PERCPU_HASH
156 bpf_map_type::BPF_MAP_TYPE_QUEUE
157 bpf_map_type::BPF_MAP_TYPE_STACK
158 bpf_map_type::BPF_MAP_TYPE_LRU_HASH
159 bpf_map_type::BPF_MAP_TYPE_LRU_PERCPU_HASH
161 bpf_map_type::BPF_MAP_TYPE_CPUMAP
[all …]
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs285 impl bpf_map_type { impl
286 pub const BPF_MAP_TYPE_CGROUP_STORAGE: bpf_map_type =
287 bpf_map_type::BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED;
289 impl bpf_map_type { impl
290 pub const BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE: bpf_map_type =
291 bpf_map_type::BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED;
295 pub enum bpf_map_type { enum