Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 9 of 9) sorted by relevance

/trusty/kernel/app/busytest/
Dbusytest.c61 struct handle* phandle = arg; in busy_test_server() local
68 ret = handle_wait(phandle, &event, INFINITE_TIME); in busy_test_server()
76 ret = ipc_port_accept(phandle, &chandle, &unused_uuid_p); in busy_test_server()
89 struct handle* phandle; in busy_test_init() local
92 IPC_PORT_ALLOW_NS_CONNECT, &phandle); in busy_test_init()
97 ret = ipc_port_publish(phandle); in busy_test_init()
102 thread = thread_create("busy-test-server", busy_test_server, phandle, in busy_test_init()
112 handle_close(phandle); in busy_test_init()
114 handle_close(phandle); in busy_test_init()
/trusty/user/app/sample/app-mgmt-test/never-start-srv/
Dmain.c30 handle_t phandle; in main() local
41 phandle = (handle_t)rc; in main()
43 rc = wait(phandle, &uevt, -1); in main()
46 phandle); in main()
/trusty/user/app/sample/app-mgmt-test/port-start-fail-srv/
Dmain.c30 handle_t phandle; in main() local
49 phandle = (handle_t)rc; in main()
51 rc = wait(phandle, &uevt, -1); in main()
54 phandle); in main()
/trusty/user/app/sample/app-mgmt-test/boot-start-srv/
Dmain.c31 handle_t phandle; in main() local
41 phandle = (handle_t)rc; in main()
44 rc = wait(phandle, &uevt, INFINITE_TIME); in main()
47 phandle); in main()
/trusty/user/app/sample/app-mgmt-test/port-waiter-srv/
Dmain.c33 handle_t phandle = INVALID_IPC_HANDLE; in main() local
50 phandle = (handle_t)rc; in main()
52 rc = wait(phandle, &uevt, INFINITE_TIME); in main()
55 phandle); in main()
101 close(phandle); in main()
114 close(phandle); in main()
/trusty/kernel/lib/unittest/
Dunittest.c203 struct handle* phandle; in unittest_add_locked() local
216 &phandle); in unittest_add_locked()
221 ret = ipc_port_publish(phandle); in unittest_add_locked()
225 handle_incref(phandle); in unittest_add_locked()
226 test->_href.handle = phandle; in unittest_add_locked()
250 handle_decref(phandle); in unittest_add_locked()
252 handle_close(phandle); in unittest_add_locked()
/trusty/kernel/lib/trusty/
Dipc.c248 static void port_shutdown(struct handle* phandle) { in port_shutdown() argument
251 ASSERT(phandle); in port_shutdown()
252 ASSERT(ipc_is_port(phandle)); in port_shutdown()
254 struct ipc_port* port = containerof(phandle, struct ipc_port, handle); in port_shutdown()
342 static void port_handle_destroy(struct handle* phandle) { in port_handle_destroy() argument
343 ASSERT(phandle); in port_handle_destroy()
344 ASSERT(ipc_is_port(phandle)); in port_handle_destroy()
347 port_shutdown(phandle); in port_handle_destroy()
349 struct ipc_port* port = containerof(phandle, struct ipc_port, handle); in port_handle_destroy()
365 int ipc_port_publish(struct handle* phandle) { in ipc_port_publish() argument
[all …]
/trusty/device/arm/generic-arm64/project/hafnium/
Dtos_fw_config.dts23 phandle = <0x8004>;
33 phandle = <0x8001>;
39 phandle = <0x8002>;
45 phandle = <0x8003>;
/trusty/kernel/lib/trusty/include/lib/trusty/
Dipc.h138 int ipc_port_publish(struct handle* phandle);
141 int ipc_port_accept(struct handle* phandle,