Home
last modified time | relevance | path

Searched defs:BpfCallBackFn (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/bpf/map/
H A Dlru.rs52 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem()
133 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem()
H A Dhash_map.rs54 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem()
135 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem()
H A Darray_map.rs113 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem()
199 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem()
263 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, _flags: u64) -> Result<u32> { in for_each_elem()
H A Dmod.rs35 pub type BpfCallBackFn = fn(key: &[u8], value: &[u8], ctx: *const u8) -> i32; typedef
60 fn for_each_elem(&mut self, _cb: BpfCallBackFn, _ctx: *const u8, _flags: u64) -> Result<u32> { in for_each_elem()
/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs188 let cb = *core::mem::transmute::<*const c_void, *const BpfCallBackFn>(cb); in raw_map_for_each_elem() constant
199 cb: BpfCallBackFn, in map_for_each_elem()