Searched refs:BpfCallBackFn (Results 1 – 6 of 6) sorted by relevance
/DragonOS/kernel/src/bpf/map/ |
H A D | lru.rs | 1 use super::{BpfCallBackFn, BpfMapCommonOps, Result}; 52 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() argument 133 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() argument
|
H A D | hash_map.rs | 3 use crate::bpf::map::{BpfCallBackFn, BpfMapCommonOps, BpfMapMeta}; 54 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() argument 135 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() argument
|
H A D | array_map.rs | 8 use crate::bpf::map::{BpfCallBackFn, BpfMapCommonOps, BpfMapMeta}; 113 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() argument 199 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() argument 263 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, _flags: u64) -> Result<u32> { in for_each_elem() argument
|
H A D | mod.rs | 35 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() argument
|
/DragonOS/kernel/src/bpf/helper/ |
H A D | mod.rs | 5 use crate::bpf::map::{BpfCallBackFn, BpfMap}; 188 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() argument
|
/DragonOS/docs/kernel/trace/ |
H A D | eBPF.md | 195 fn for_each_elem(&mut self, _cb: BpfCallBackFn, _ctx: *const u8, _flags: u64) -> Result<u32> {
|