Home
last modified time | relevance | path

Searched refs:BpfMapMeta (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/bpf/map/
H A Dutil.rs8 pub struct BpfMapMeta { struct
17 impl TryFrom<&bpf_attr> for BpfMapMeta { argument
30 Ok(BpfMapMeta { in try_from()
H A Dqueue.rs2 use crate::bpf::map::util::{BpfMapMeta, BpfMapUpdateElemFlags};
43 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
85 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
H A Dlru.rs2 use crate::bpf::map::util::BpfMapMeta;
26 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
111 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
H A Dhash_map.rs3 use crate::bpf::map::{BpfCallBackFn, BpfMapCommonOps, BpfMapMeta};
26 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
114 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
H A Darray_map.rs8 use crate::bpf::map::{BpfCallBackFn, BpfMapCommonOps, BpfMapMeta};
69 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
177 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
235 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
H A Dmod.rs10 use crate::bpf::map::util::{BpfMapGetNextKeyArg, BpfMapMeta, BpfMapUpdateArg};
32 meta: BpfMapMeta,
113 pub fn new(map: Box<dyn BpfMapCommonOps>, meta: BpfMapMeta) -> Self { in new()
193 let map_meta = BpfMapMeta::try_from(attr)?; in bpf_map_create()