Home
last modified time | relevance | path

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

/DragonOS/kernel/src/bpf/map/
H A Dlru.rs1 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 Dhash_map.rs3 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 Darray_map.rs8 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 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() argument
/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs5 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 DeBPF.md195 fn for_each_elem(&mut self, _cb: BpfCallBackFn, _ctx: *const u8, _flags: u64) -> Result<u32> {