Home
last modified time | relevance | path

Searched refs:BpfProg (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs21 pub struct BpfProg { struct
26 impl BpfProg { impl
47 impl IndexNode for BpfProg { implementation
100 impl Drop for BpfProg { implementation
117 let prog = BpfProg::new(args); in bpf_prog_load()
H A Dverifier.rs4 use crate::bpf::prog::BpfProg;
20 prog: BpfProg,
26 pub fn new(prog: BpfProg, log_level: VerifierLogLevel, log_buf: &'a mut [u8]) -> Self { in new() argument
127 pub fn verify(mut self, fd_table: &Arc<RwLock<FileDescriptorVec>>) -> Result<BpfProg> { in verify() argument
/DragonOS/kernel/src/perf/
H A Dkprobe.rs5 use crate::bpf::prog::BpfProg;
39 .downcast_arc::<BpfProg>() in do_set_bpf_prog()
55 _bpf_prog_file: Arc<BpfProg>,
60 fn new(bpf_prog_file: Arc<BpfProg>, vm: EbpfVmRawOwned) -> Self { in new() argument