Searched refs:as_raw_fd (Results 1 – 3 of 3) sorted by relevance
/trusty/user/base/lib/tipc/rust/src/ |
D | handle.rs | 184 let rc = unsafe { trusty_sys::read_msg(self.as_raw_fd(), msg_info.id, 0, &mut msg) }; in recv_vectored() 234 let mut rc = unsafe { trusty_sys::send_msg(self.as_raw_fd(), &mut msg) }; in send_vectored() 258 rc = unsafe { trusty_sys::send_msg(self.as_raw_fd(), &mut msg) }; in send_vectored() 276 pub fn as_raw_fd(&self) -> i32 { in as_raw_fd() method 286 let rc = unsafe { trusty_sys::wait(self.as_raw_fd(), uevent.as_mut_ptr(), timeout) }; in wait() 312 let rc = trusty_sys::get_msg(self.as_raw_fd(), msg_info.as_mut_ptr()); in get_msg() 322 let put_msg_rc = unsafe { trusty_sys::put_msg(self.as_raw_fd(), msg_info.id) }; in get_msg() 356 unsafe { libc::mmap(core::ptr::null_mut(), size, prot, 0, self.as_raw_fd(), 0) }; in mmap() 370 let _ = trusty_sys::close(self.as_raw_fd()); in drop() 391 self.handles.try_push(Handle(handle.as_raw_fd())).or(Err(TipcError::AllocError)) in serialize_handle()
|
D | service.rs | 1162 let rc = unsafe { trusty_sys::accept(handle.as_raw_fd(), peer.as_mut_ptr()) as i32 }; in handle_connect()
|
/trusty/user/base/lib/tipc/rust/src/service/ |
D | handle_set.rs | 160 handle: channel.handle().as_raw_fd(), in do_set_ctrl() 168 let rc = unsafe { trusty_sys::handle_set_ctrl(self.handle.as_raw_fd(), cmd, &mut uevt) }; in do_set_ctrl()
|