Home
last modified time | relevance | path

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

/trusty/kernel/lib/trusty/include/lib/trusty/
Dhandle.h70 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()
Dhandle_set.h43 void* cookie);
/trusty/kernel/lib/trusty/
Ductx.c207 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 …]
Dtipc_dev_ql.c68 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 …]
Dhandle_set.c257 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()
Dhandle.c55 handle->cookie = NULL; in handle_init_etc()
/trusty/user/base/lib/tipc/rust/src/service/
Dhandle_set.rs157 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/
Dmain.c47 struct tipc_event_handler* handler = ev->cookie; in dispatch_event()
94 event.cookie = NULL; in main()
/trusty/user/base/lib/libc-trusty/
Dipc.c40 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/
Dtrusty_ipc.h116 void* cookie; /* cookie aasociated with handle */ member
129 int set_cookie(handle_t handle, void* cookie);
/trusty/user/base/lib/tipc/
Dtipc.c234 .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/
Dunittest.c166 evt.cookie = test; in unittest_main()
179 test = evt.cookie; in unittest_main()
/trusty/user/base/lib/tipc/test/main/
Dmain.c495 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/
Dmain.c110 uevt.cookie = NULL; in TEST_F()
116 uevt.cookie = NULL; in TEST_F()
/trusty/kernel/lib/unittest/
Dunittest.c160 test = evt.cookie; in unittest_loop()
228 test->_href.cookie = test; in unittest_add_locked()
/trusty/hardware/nxp/app/hwcrypto/
Dmain.c200 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/
Dmain.c96 uevt.cookie = NULL; in prepare_port()
171 uevt.cookie = NULL; in main()
/trusty/kernel/lib/ktipc/
Dktipc.c200 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/
Dsrv.c213 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/
Dsyscall_table.h52 DEF_SYSCALL(0x14, set_cookie, long, 2, int32_t handle, void *cookie)
/trusty/kernel/app/uirqtest/
Duevt_test.c263 _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/
Davb_ipc.cpp297 event.cookie = nullptr; in main()
/trusty/user/app/gatekeeper/ipc/
Dgatekeeper_ipc.cpp306 event.cookie = NULL; in main()
/trusty/user/app/keymaster/ipc/
Dkeymaster_ipc.cpp865 reinterpret_cast<tipc_event_handler*>(ev->cookie); in dispatch_event()
951 event.cookie = NULL; in main()
/trusty/user/base/lib/tipc/rust/src/
Dservice.rs1099 let channel: Rc<Channel<D>> = unsafe { Channel::from_opaque_ptr(event.cookie) } in event_loop_inner()