Lines Matching refs:Result
1 use super::{BpfMapCommonOps, Result};
20 fn push(&mut self, value: BpfQueueValue, flags: BpfMapUpdateElemFlags) -> Result<()>; in push() argument
43 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
56 fn push(&mut self, value: BpfQueueValue, flags: BpfMapUpdateElemFlags) -> Result<()> { in push() argument
85 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new()
104 fn push(&mut self, value: BpfQueueValue, flags: BpfMapUpdateElemFlags) -> Result<()> { in push() argument
126 fn lookup_elem(&mut self, _key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem()
130 fn update_elem(&mut self, _key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() argument
135 fn lookup_and_delete_elem(&mut self, _key: &[u8], value: &mut [u8]) -> Result<()> { in lookup_and_delete_elem() argument
143 fn push_elem(&mut self, value: &[u8], flags: u64) -> Result<()> { in push_elem() argument
146 fn pop_elem(&mut self, value: &mut [u8]) -> Result<()> { in pop_elem() argument
149 fn peek_elem(&self, value: &mut [u8]) -> Result<()> { in peek_elem() argument