Lines Matching defs:Result
37 type Result<T> = core::result::Result<T, SystemError>; typedef
41 fn set_bpf_prog(&self, _bpf_prog: Arc<File>) -> Result<()> { in set_bpf_prog()
45 fn enable(&self) -> Result<()> { in enable()
49 fn disable(&self) -> Result<()> { in disable()
72 ) -> core::result::Result<(), SystemError> { in remove_epoll()
91 fn epoll_callback(&self) -> Result<()> { in epoll_callback()
107 fn mmap(&self, start: usize, len: usize, offset: usize) -> Result<()> { in mmap()
110 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open()
113 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<()> { in close()
149 fn resize(&self, _len: usize) -> Result<()> { in resize()
313 pub fn perf_event_output(_ctx: *mut c_void, fd: usize, _flags: u32, data: &[u8]) -> Result<()> { in perf_event_output()