Home
last modified time | relevance | path

Searched refs:uevent (Results 1 – 25 of 30) sorted by relevance

12

/trusty/user/base/lib/trusty-sys/src/
Dlib.rs34 impl uevent { impl
47 dma_pmem, handle_t, iovec, ipc_msg, ipc_msg_info, uevent, uuid, IPC_CONNECT_ASYNC,
/trusty/user/base/lib/tipc/include/lib/tipc/
Dtipc.h150 void tipc_handle_port_errors(const struct uevent* ev);
163 void tipc_handle_chan_errors(const struct uevent* ev);
172 typedef void (*event_handler_proc_t)(const struct uevent* ev, void* priv);
/trusty/user/base/lib/libc-trusty/
Dipc.c48 int handle_set_ctrl(handle_t handle, uint32_t cmd, struct uevent* evt) { in handle_set_ctrl()
52 int wait(handle_t handle, struct uevent* event, uint32_t timeout_msecs) { in wait()
56 int wait_any(struct uevent* event, uint32_t timeout_msecs) { in wait_any()
/trusty/user/base/lib/tipc/rust/src/service/
Dhandle_set.rs70 trusty_sys::uevent::ALL_EVENTS,
92 self.do_set_ctrl(sys::HSET_ADD as u32, trusty_sys::uevent::ALL_EVENTS, &connection)?; in add_connection()
112 pub fn wait(&self, timeout: Option<u32>) -> Result<trusty_sys::uevent> { in wait() argument
151 self.do_set_ctrl(sys::HSET_MOD as u32, trusty_sys::uevent::ALL_EVENTS, &port) in unmask_all_ports()
159 let mut uevt = trusty_sys::uevent { in do_set_ctrl()
/trusty/kernel/lib/trusty/
Ductx.c495 struct uevent { struct
504 struct uevent uevent; in _wait_for_uevent() argument
512 memset(&uevent, 0, sizeof(uevent)); in _wait_for_uevent()
513 uevent.handle = result.id; in _wait_for_uevent()
514 uevent.event = result.emask; in _wait_for_uevent()
515 uevent.cookie = (user_addr_t)(uintptr_t)result.cookie; in _wait_for_uevent()
517 ret = copy_to_user(user_event, &uevent, sizeof(uevent)); in _wait_for_uevent()
798 struct uevent uevent; in sys_handle_set_ctrl() local
801 ret = copy_from_user(&uevent, user_event, sizeof(uevent)); in sys_handle_set_ctrl()
806 ret = _hset_ctrl_locked(hset_id, uevent.handle, cmd, uevent.event, in sys_handle_set_ctrl()
[all …]
/trusty/user/base/lib/tipc/
Dtipc.c164 void tipc_handle_port_errors(const struct uevent* ev) { in tipc_handle_port_errors()
178 void tipc_handle_chan_errors(const struct uevent* ev) { in tipc_handle_chan_errors()
231 struct uevent uevt = { in tipc_hset_add_entry()
253 struct uevent uevt = { in tipc_hset_mod_entry()
272 struct uevent uevt = { in tipc_hset_remove_entry()
287 struct uevent evt = UEVENT_INITIAL_VALUE(evt); in tipc_handle_event()
Dtipc_srv.c37 static void port_event_handler_proc(const struct uevent* ev, void* port_ctx);
38 static void chan_event_handler_proc(const struct uevent* ev, void* chan_ctx);
131 static void chan_event_handler_proc(const struct uevent* ev, void* chan_ctx) { in chan_event_handler_proc()
295 static void port_event_handler_proc(const struct uevent* ev, void* ctx) { in port_event_handler_proc()
/trusty/kernel/lib/trusty/include/
Dsyscall_table.h54 DEF_SYSCALL(0x16, handle_set_ctrl, long, 3, int32_t handle, uint32_t cmd, struct uevent *evt)
57 DEF_SYSCALL(0x18, wait, long, 3, int32_t handle, struct uevent *event, uint32_t timeout_msecs)
58 DEF_SYSCALL(0x19, wait_any, long, 2, struct uevent *event, uint32_t timeout_msecs)
/trusty/user/base/include/user/
Dtrusty_ipc.h113 typedef struct uevent { struct
131 int handle_set_ctrl(handle_t handle, uint32_t cmd, struct uevent* evt); argument
/trusty/user/base/lib/tipc/rust/src/
Dhandle.rs282 pub(crate) fn wait(&self, timeout: Option<u32>) -> crate::Result<trusty_sys::uevent> { in wait() argument
284 let mut uevent = MaybeUninit::zeroed(); in wait() localVariable
286 let rc = unsafe { trusty_sys::wait(self.as_raw_fd(), uevent.as_mut_ptr(), timeout) }; in wait()
292 let uevent = unsafe { uevent.assume_init() }; in wait() localVariable
293 Ok(uevent) in wait()
/trusty/user/base/lib/trusty-sys/
Drules.mk44 uevent \
/trusty/user/base/lib/secure_dpu/
Dsecure_dpu.c60 struct uevent evt; in handle_allocate_buffer_resp()
179 struct uevent evt; in handle_start_secure_display_resp()
228 struct uevent evt; in handle_stop_secure_display_resp()
/trusty/user/app/sample/memref-test/
Dmemref-test.c61 struct uevent evt; in lender_recv_handle()
106 struct uevent evt; in lender_read_bss()
138 struct uevent evt; in lender_write_bss()
/trusty/user/base/lib/hwwsk/
Dclient.c59 struct uevent evt; in handle_reply()
/trusty/user/app/sample/app-mgmt-test/port-waiter-srv/
Dmain.c35 struct uevent uevt; in main()
/trusty/user/app/storage/
Dipc.c194 static void handle_port(const struct uevent* ev, void* self) { in handle_port()
203 static void handle_channel(const struct uevent* ev, void* self) { in handle_channel()
283 struct uevent ev = UEVENT_INITIAL_VALUE(ev); in wait_to_send()
/trusty/user/base/app/cfi-test/
Dcfi-test.c56 struct uevent evt; in crasher_wait()
/trusty/user/base/lib/dlmalloc/test/
Ddlmalloc_test.c45 struct uevent evt; in dlmalloc_srv_rpc_expect()
/trusty/user/base/lib/unittest/
Dunittest.c54 struct uevent ev; in send_msg_wait()
/trusty/user/base/app/crash-test/
Dcrash-test.c40 struct uevent evt; in crasher_command()
/trusty/user/base/lib/spi/client/
Dclient.c72 struct uevent evt; in handle_shm_resp()
300 struct uevent evt; in handle_batch_resp()
/trusty/user/base/lib/scudo/test/
Dscudo_test.c72 struct uevent evt; in scudo_srv_rpc_memref()
/trusty/user/base/lib/secure_fb/
Dsecure_fb.c248 struct uevent evt; in handle_display_fb_resp()
/trusty/user/app/sample/app-mgmt-test/client/
Dmain.c275 struct uevent event; in recv_apploader_response()
383 struct uevent uevt; in TEST()
/trusty/user/base/lib/storage/
Dstorage.c204 struct uevent ev; in wait_to_send()

12