Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 8 of 8) sorted by relevance

/trusty/kernel/lib/ktipc/include/lib/ktipc/
Dktipc.h258 #define ktipc_send_handles(chan, handles, num_handles, buffers...) \ argument
259 ktipc_internal_send(chan, handles, num_handles, buffers, NULL, 0, NULL, 0, \
273 #define ktipc_send(chan, buffers...) ktipc_send_handles(chan, NULL, 0, buffers) argument
344 #define ktipc_recv_handles(chan, min_sz, handles, num_handles, buffers...) \ argument
345 ktipc_internal_recv(chan, min_sz, handles, num_handles, buffers, NULL, 0, \
364 #define ktipc_recv(chan, min_sz, buffers...) \ argument
365 ktipc_recv_handles(chan, min_sz, NULL, 0, buffers)
/trusty/user/base/lib/secure_fb/srv/
Dsecure_fb_server.c104 struct secure_fb_impl_buffers buffers; in handle_get_fbs_req() local
111 rc = ctx->ops->get_fbs(session, &buffers); in handle_get_fbs_req()
116 buffers.num_fbs = 0; in handle_get_fbs_req()
117 buffers.num_handles = 0; in handle_get_fbs_req()
123 args.num_fbs = buffers.num_fbs; in handle_get_fbs_req()
126 memcpy(fbs, buffers.fbs, fbs_len); in handle_get_fbs_req()
145 .num_handles = buffers.num_handles, in handle_get_fbs_req()
146 .handles = buffers.handles, in handle_get_fbs_req()
/trusty/user/base/lib/tipc/rust/src/
Dhandle.rs124 self.send_vectored(&serializer.buffers[..], &serializer.handles[..]) in send()
150 buffers: &mut [&mut [u8]], in recv_vectored()
158 if msg_info.len > buffers.iter().map(|b| b.len()).sum() { in recv_vectored()
163 assert!(buffers.len() <= MAX_MSG_IOVECS); in recv_vectored()
164 iovs.extend(buffers.iter_mut().map(|buf| trusty_sys::iovec { in recv_vectored()
209 pub fn send_vectored(&self, buffers: &[&[u8]], handles: &[Handle]) -> crate::Result<()> { in send_vectored()
211 assert!(buffers.len() <= MAX_MSG_IOVECS); in send_vectored()
213 buffers.iter().map(|buf| trusty_sys::iovec { in send_vectored()
218 let total_num_bytes = buffers.iter().map(|b| b.len()).sum(); in send_vectored()
378 buffers: arrayvec::ArrayVec<&'a [u8], MAX_SERIALIZED_SEGMENTS>, field
[all …]
/trusty/user/app/sample/secure_fb_mock_impl/
Dmain.cpp121 int GetFbs(struct secure_fb_impl_buffers* buffers) { in GetFbs() argument
122 *buffers = { in GetFbs()
157 struct secure_fb_impl_buffers* buffers) { in secure_fb_impl_get_fbs() argument
159 return sfb->GetFbs(buffers); in secure_fb_impl_get_fbs()
/trusty/user/base/lib/secure_fb/srv/include/lib/secure_fb/srv/
Ddev.h87 struct secure_fb_impl_buffers* buffers);
/trusty/user/app/confirmationui/src/
Dtrusty_operation.h58 std::initializer_list<teeui::ByteBufferProxy> buffers);
Dtrusty_operation.cpp49 std::initializer_list<ByteBufferProxy> buffers) { in hmac256() argument
56 for (auto& buffer : buffers) { in hmac256()
/trusty/vendor/google/aosp/scripts/
Dtest-map186 # stdcall test with shared memory buffers.