Home
last modified time | relevance | path

Searched defs:chan (Results 1 – 25 of 75) sorted by relevance

123

/trusty/user/base/lib/secure_dpu/
Dsecure_dpu.c40 handle_t* chan; member
56 static int handle_allocate_buffer_resp(handle_t chan, in handle_allocate_buffer_resp()
133 int secure_dpu_allocate_buffer(handle_t chan, in secure_dpu_allocate_buffer()
177 static int handle_start_secure_display_resp(handle_t chan) { in handle_start_secure_display_resp()
206 int secure_dpu_start_secure_display(handle_t chan) { in secure_dpu_start_secure_display()
226 static int handle_stop_secure_display_resp(handle_t chan) { in handle_stop_secure_display_resp()
255 int secure_dpu_stop_secure_display(handle_t chan) { in secure_dpu_stop_secure_display()
277 handle_t chan, in secure_dpu_on_message()
284 handle_t chan, in secure_dpu_on_connect()
308 handle_t chan, in secure_dpu_on_disconnect()
[all …]
/trusty/user/base/app/crash-test/
Dcrash-test.c34 static int crasher_connect(handle_t* chan) { in crasher_connect()
38 static int crasher_command(handle_t chan, enum crasher_command cmd) { in crasher_command()
76 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
121 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
131 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
141 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
150 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
159 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
168 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
177 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
/trusty/kernel/lib/ktipc/test/main/
Dmain.c37 static void send_cmd(struct handle* chan, in send_cmd()
51 static void wait_for_hup(struct handle* chan) { in wait_for_hup()
79 struct handle* chan = NULL; in TEST() local
98 struct handle* chan = NULL; in TEST() local
120 struct handle* chan[NUM_TEST_CONNECTIONS] = { in TEST() local
166 struct handle* chan = NULL; in TEST() local
225 struct handle* chan = NULL; in TEST() local
303 struct handle* chan = NULL; in TEST() local
/trusty/user/app/sample/memref-test/
Dmemref-test.c43 static int lender_connect(handle_t* chan) { in lender_connect()
47 static int lender_command(handle_t chan, enum lender_command cmd) { in lender_command()
60 static int lender_recv_handle(handle_t chan, handle_t* out) { in lender_recv_handle()
85 static int lender_lend_bss(handle_t chan, handle_t* memref) { in lender_lend_bss()
94 int lender_read_bss(handle_t chan, size_t offset, size_t size, char* buf) { in lender_read_bss()
120 int lender_write_bss(handle_t chan, in lender_write_bss()
146 int lender_suicide(handle_t chan) { in lender_suicide()
237 handle_t chan = INVALID_IPC_HANDLE; in test_recv_ref() local
297 handle_t chan = INVALID_IPC_HANDLE; in TEST() local
/trusty/user/base/lib/coverage/common/
Dipc.c24 int coverage_send(handle_t chan, void* msg, size_t msg_len, handle_t* h) { in coverage_send()
49 int coverage_recv(handle_t chan, void* msg, size_t msg_len, handle_t* h) { in coverage_recv()
85 int coverage_rpc(handle_t chan, in coverage_rpc()
116 int coverage_aggregator_rpc(handle_t chan, in coverage_aggregator_rpc()
135 int coverage_client_rpc(handle_t chan, in coverage_client_rpc()
/trusty/user/base/app/coverage/
Daggregator.c31 static int handle_register(handle_t chan, in handle_register()
52 static int handle_get_record(handle_t chan, in handle_get_record()
75 handle_t chan, in on_connect()
105 static int on_message(const struct tipc_port* port, handle_t chan, void* ctx) { in on_message()
Dclient.c40 static int handle_open(handle_t chan, in handle_open()
68 static int handle_share_record(handle_t chan, in handle_share_record()
96 handle_t chan, in on_connect()
110 static int on_message(const struct tipc_port* port, handle_t chan, void* _ctx) { in on_message()
/trusty/user/base/app/line-coverage/
Daggregator.c31 static int handle_register(handle_t chan, in handle_register()
53 static int handle_get_record(handle_t chan, in handle_get_record()
77 handle_t chan, in on_connect()
107 static int on_message(const struct tipc_port* port, handle_t chan, void* ctx) { in on_message()
Dclient.c42 static int handle_send_list(handle_t chan, in handle_send_list()
86 static int handle_open(handle_t chan, in handle_open()
116 static int handle_share_record(handle_t chan, in handle_share_record()
144 handle_t chan, in on_connect()
160 static int on_message(const struct tipc_port* port, handle_t chan, void* _ctx) { in on_message()
/trusty/user/base/experimental/lib/tidl/
Dipc.cpp36 int send(handle_t chan, in send()
54 int recv(handle_t chan, in recv()
88 int send(handle_t chan, in send()
114 int recv(handle_t chan, in recv()
156 int send(handle_t chan, in send()
188 int recv(handle_t chan, in recv()
236 int wait_for_msg(handle_t chan) { in wait_for_msg()
/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c28 static int recv_resp(handle_t chan, in recv_resp()
94 static int sign_data(handle_t chan, in sign_data()
189 static int get_bcc(handle_t chan, in get_bcc()
231 handle_t chan; in hwbcc_get_protected_data() local
262 handle_t chan; in hwbcc_get_dice_artifacts() local
303 handle_t chan; in hwbcc_ns_deprivilege() local
/trusty/user/app/sample/memref-test/lender/
Dlender.c89 static int lender_lend(handle_t chan, enum lender_command cmd) { in lender_lend()
131 static int lender_read_bss(handle_t chan, struct lender_region* region) { in lender_read_bss()
144 static int lender_write_bss(handle_t chan, in lender_write_bss()
157 handle_t chan, in lender_on_message()
/trusty/kernel/lib/metrics/
Dmetrics.c84 struct handle* chan; member
92 static int recv_resp(struct handle* chan, uint32_t cmd) { in recv_resp()
139 static int send_req(struct handle* chan, in send_req()
156 static int report_crash(struct handle* chan, in report_crash()
196 static int report_exit(struct handle* chan, in report_exit()
236 static int report_event_drop(struct handle* chan) { in report_event_drop()
/trusty/user/base/lib/hwbcc/srv/
Dsrv.c112 handle_t chan, in on_connect()
136 handle_t chan, in handle_sign_data()
170 handle_t chan, in handle_get_bcc()
200 handle_t chan, in handle_get_dice_artifacts()
231 static int handle_ns_deprivilege(hwbcc_session_t s, handle_t chan) { in handle_ns_deprivilege()
258 static int on_message(const struct tipc_port* port, handle_t chan, void* ctx) { in on_message()
/trusty/user/base/lib/spi/srv/tipc/
Dtipc.c75 static int recv_msg(handle_t chan, in recv_msg()
116 static int handle_msg_shm_map_req(handle_t chan, in handle_msg_shm_map_req()
156 static int handle_msg_batch_req(handle_t chan, in handle_msg_batch_req()
197 handle_t chan, in on_connect()
213 handle_t chan, in on_message()
251 handle_t chan, in on_disconnect()
/trusty/hardware/nxp/app/hwcrypto/
Dmain.c81 int tipc_send_single_buf(handle_t chan, const void* buf, size_t len) { in tipc_send_single_buf()
97 int tipc_recv_single_buf(handle_t chan, void* buf, size_t len) { in tipc_recv_single_buf()
127 int tipc_send_two_segments(handle_t chan, in tipc_send_two_segments()
152 int tipc_recv_two_segments(handle_t chan, in tipc_recv_two_segments()
/trusty/kernel/lib/ktipc/test/srv/
Dsrv.c65 struct handle* chan, in test_handle_msg()
124 struct handle* chan, in test_handle_connect()
155 struct handle* chan, in test_handle_send_unblocked()
183 struct handle* chan, in connecterr_handle_connect()
191 struct handle* chan, in nop_handle_msg()
/trusty/kernel/lib/trusty/
Dipc.c95 struct ipc_chan* chan; in ipc_connection_waiting_for_port() local
112 struct ipc_chan *chan, *temp; in ipc_remove_connection_waiting_for_port() local
499 struct ipc_chan* chan = containerof(ref, struct ipc_chan, refobj); in __chan_destroy_refobj() local
517 static inline void chan_add_ref(struct ipc_chan* chan, struct obj_ref* ref) { in chan_add_ref()
525 static inline void chan_del_ref(struct ipc_chan* chan, struct obj_ref* ref) { in chan_del_ref()
539 static inline struct handle* chan_handle_init(struct ipc_chan* chan) { in chan_handle_init()
549 struct ipc_chan* chan; in chan_alloc() local
581 static void chan_shutdown_locked(struct ipc_chan* chan) { in chan_shutdown_locked()
618 static void chan_shutdown(struct ipc_chan* chan) { in chan_shutdown()
646 struct ipc_chan* chan = containerof(chandle, struct ipc_chan, handle); in chan_handle_destroy() local
[all …]
/trusty/kernel/services/hwrng/
Dhwrng_service.c44 struct handle* chan; member
118 struct handle* chan, in hwrng_handle_msg()
152 struct handle* chan, in hwrng_handle_connect()
178 struct handle* chan, in hwrng_handle_send_unblocked()
/trusty/kernel/services/apploader/
Dapploader_service.c101 static int apploader_service_send_response(struct handle* chan, in apploader_service_send_response()
124 struct handle* chan, in apploader_service_handle_cmd_get_memory()
190 struct handle* chan, in apploader_service_handle_cmd_load_application()
298 struct handle* chan, in apploader_service_handle_msg()
357 struct handle* chan, in apploader_service_handle_connect()
/trusty/user/app/confirmationui/src/
Dmain.cpp81 static int confirmationui_recv(handle_t chan, in confirmationui_recv()
123 static int handle_init(handle_t chan, in handle_init()
177 static int handle_msg(handle_t chan, uint32_t req_len, struct chan_ctx* ctx) { in handle_msg()
214 handle_t chan, in on_connect()
262 static int on_message(const struct tipc_port* port, handle_t chan, void* _ctx) { in on_message()
/trusty/user/base/app/cfi-test/
Dcfi-test.c31 static int crasher_command(handle_t chan, enum crasher_command cmd) { in crasher_command()
54 static int crasher_wait(handle_t chan) { in crasher_wait()
94 handle_t chan; member
/trusty/user/base/lib/secure_fb/srv/
Dsecure_fb_server.c72 handle_t chan, in secure_fb_on_connect()
102 static int handle_get_fbs_req(handle_t chan, struct secure_fb_ctx* ctx) { in handle_get_fbs_req()
159 static int handle_display_fb(handle_t chan, in handle_display_fb()
189 handle_t chan, in secure_fb_on_message()
/trusty/user/app/gatekeeper/ipc/
Dgatekeeper_ipc.cpp121 static gatekeeper_error_t send_response(handle_t chan, in send_response()
144 static gatekeeper_error_t send_error_response(handle_t chan, in send_error_response()
161 static gatekeeper_error_t handle_msg(handle_t chan) { in handle_msg()
254 handle_t chan = ev->handle; in gatekeeper_handle_channel() local
/trusty/user/base/app/metrics/
Dconsumer.c45 handle_t chan, in on_connect()
62 static int on_message(const struct tipc_port* port, handle_t chan, void* ctx) { in on_message()

123