Home
last modified time | relevance | path

Searched refs:data_len (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs1692 data_len: usize, field
1700 let (prog, data_len, data_cap) = match prog { in new()
1702 let data_len = prog.len(); in new() localVariable
1705 let slice = unsafe { core::slice::from_raw_parts(slice.as_ptr(), data_len) }; in new()
1706 (Some(slice), data_len, data_cap) in new()
1713 data_len, in new()
1719 self.data_len = prog.len(); in set_program()
1777 let _prog = Vec::from_raw_parts(ptr as *mut u8, self.data_len, self.data_cap); in drop()
/DragonOS/kernel/src/perf/
H A Dbpf.rs160 let data_len = data.len(); in write_any() localVariable
161 let end = (data_head + data_len) % data_region_len; in write_any()