/trusty/kernel/lib/trusty/include/lib/trusty/ |
D | handle.h | 70 void* cookie; member 118 void* cookie; member 175 static inline void handle_set_cookie(struct handle* handle, void* cookie) { in handle_set_cookie() argument 176 handle->cookie = cookie; in handle_set_cookie() 180 return handle->cookie; in handle_get_cookie()
|
D | handle_set.h | 43 void* cookie);
|
/trusty/kernel/lib/trusty/ |
D | uctx.c | 207 void* cookie, in _hset_add_handle() argument 223 ref->cookie = cookie; in _hset_add_handle() 426 out->cookie = NULL; in uctx_handle_get_tmp_ref() 432 out->cookie = ref->cookie; in uctx_handle_get_tmp_ref() 498 user_addr_t cookie; member 515 uevent.cookie = (user_addr_t)(uintptr_t)result.cookie; in _wait_for_uevent() 621 long __SYSCALL sys_set_cookie(uint32_t handle_id, user_addr_t cookie) { in sys_set_cookie() argument 627 (uint)cookie); in sys_set_cookie() 649 ref->cookie = (void*)(uintptr_t)cookie; in sys_set_cookie() 689 void* cookie) { in _hset_add_item() argument [all …]
|
D | tipc_dev_ql.c | 68 uint64_t cookie; member 98 uint64_t cookie; member 106 uint64_t cookie; member 137 uint64_t cookie) { in alloc_local_addr() argument 142 dev->epts[slot].cookie = cookie; in alloc_local_addr() 168 dev->epts[slot].cookie = 0; in free_local_addr() 366 local = alloc_local_addr(dev, chan, req.hdr.cookie); in dev_connect() 386 ref->cookie = ept_lookup(dev, local); in dev_connect() 521 evt->cookie = 0; in dev_get_event() 531 evt->cookie = ept->cookie; in dev_get_event() [all …]
|
D | handle_set.c | 257 void* cookie) { in handle_set_update_ref() argument 264 ref->cookie = cookie; in handle_set_update_ref() 297 out->cookie = ref->cookie; in _hset_do_poll() 383 out->cookie = in->cookie; in handle_ref_wait()
|
D | handle.c | 55 handle->cookie = NULL; in handle_init_etc()
|
/trusty/user/base/lib/tipc/rust/src/service/ |
D | handle_set.rs | 157 let cookie = Rc::downgrade(&channel).into_raw(); in do_set_ctrl() localVariable 162 cookie: cookie as *mut c_void, in do_set_ctrl() 183 drop(Weak::from_raw(cookie)); in do_set_ctrl() 188 drop(Weak::from_raw(cookie)); in do_set_ctrl()
|
/trusty/user/app/sample/hwcrypto/ |
D | main.c | 47 struct tipc_event_handler* handler = ev->cookie; in dispatch_event() 94 event.cookie = NULL; in main()
|
/trusty/user/base/lib/libc-trusty/ |
D | ipc.c | 40 int set_cookie(handle_t handle, void* cookie) { in set_cookie() argument 41 return _trusty_set_cookie(handle, cookie); in set_cookie()
|
/trusty/user/base/include/user/ |
D | trusty_ipc.h | 116 void* cookie; /* cookie aasociated with handle */ member 129 int set_cookie(handle_t handle, void* cookie);
|
/trusty/user/base/lib/tipc/ |
D | tipc.c | 234 .cookie = (void*)evt_handler, in tipc_hset_add_entry() 256 .cookie = (void*)evt_handler, in tipc_hset_mod_entry() 275 .cookie = NULL, in tipc_hset_remove_entry() 298 struct tipc_event_handler* handler = evt.cookie; in tipc_handle_event()
|
/trusty/user/base/lib/unittest/ |
D | unittest.c | 166 evt.cookie = test; in unittest_main() 179 test = evt.cookie; in unittest_main()
|
/trusty/user/base/lib/tipc/test/main/ |
D | main.c | 495 uintptr_t idx = (uintptr_t)event.cookie - COOKIE_BASE; in run_connect_close_by_peer_test() 513 uintptr_t idx = (uintptr_t)event.cookie - COOKIE_BASE; in run_connect_close_by_peer_test() 870 EXPECT_EQ(exp_cookie, event.cookie, "accept test"); in TEST() 902 EXPECT_EQ(exp_cookie, event.cookie, "accept test"); in TEST() 1508 .cookie = NULL, in TEST() 1544 .cookie = NULL, in TEST() 1581 .cookie = NULL, in TEST() 1624 .cookie = NULL, in TEST() 1685 .cookie = NULL, in TEST() 1725 .cookie = NULL, in TEST() [all …]
|
/trusty/user/base/lib/uirq/test/ |
D | main.c | 110 uevt.cookie = NULL; in TEST_F() 116 uevt.cookie = NULL; in TEST_F()
|
/trusty/kernel/lib/unittest/ |
D | unittest.c | 160 test = evt.cookie; in unittest_loop() 228 test->_href.cookie = test; in unittest_add_locked()
|
/trusty/hardware/nxp/app/hwcrypto/ |
D | main.c | 200 struct tipc_event_handler* handler = ev->cookie; in dispatch_event() 241 event.cookie = NULL; in main()
|
/trusty/user/app/sample/app-mgmt-test/port-start-srv/ |
D | main.c | 96 uevt.cookie = NULL; in prepare_port() 171 uevt.cookie = NULL; in main()
|
/trusty/kernel/lib/ktipc/ |
D | ktipc.c | 200 kchan->href.cookie = &kchan->evth; in handle_connect() 311 kport->href.cookie = &kport->evth; in ktipc_server_add_port() 351 struct ksrv_event_handler* evth = evt_ref.cookie; in ksrv_event_loop()
|
/trusty/user/base/lib/tipc/test/srv/ |
D | srv.c | 213 return containerof(ev->cookie, struct tipc_srv_state, handler); in get_srv_state() 632 echo_chan_state_t* st = containerof(ev->cookie, echo_chan_state_t, handler); in echo_handle_msg() 727 free(ev->cookie); in echo_handle_chan() 840 struct tipc_event_handler* handler = ev->cookie; in dispatch_event() 874 event.cookie = NULL; in main()
|
/trusty/kernel/lib/trusty/include/ |
D | syscall_table.h | 52 DEF_SYSCALL(0x14, set_cookie, long, 2, int32_t handle, void *cookie)
|
/trusty/kernel/app/uirqtest/ |
D | uevt_test.c | 263 _state->hevts_ref.cookie = NULL; in TEST_F() 270 _state->hevt1_ref.cookie = NULL; in TEST_F() 334 _state->hevts_ref.cookie = NULL; in TEST_F() 341 _state->hevt1_ref.cookie = NULL; in TEST_F() 348 _state->hevt2_ref.cookie = NULL; in TEST_F()
|
/trusty/user/app/avb/ipc/ |
D | avb_ipc.cpp | 297 event.cookie = nullptr; in main()
|
/trusty/user/app/gatekeeper/ipc/ |
D | gatekeeper_ipc.cpp | 306 event.cookie = NULL; in main()
|
/trusty/user/app/keymaster/ipc/ |
D | keymaster_ipc.cpp | 865 reinterpret_cast<tipc_event_handler*>(ev->cookie); in dispatch_event() 951 event.cookie = NULL; in main()
|
/trusty/user/base/lib/tipc/rust/src/ |
D | service.rs | 1099 let channel: Rc<Channel<D>> = unsafe { Channel::from_opaque_ptr(event.cookie) } in event_loop_inner()
|