Lines Matching refs:ev
40 static void keybox_port_handler(const uevent_t* ev, void* priv);
41 static void keybox_chan_handler(const uevent_t* ev, void* priv);
140 static void keybox_chan_handler(const uevent_t* ev, void* priv) { in keybox_chan_handler() argument
143 assert(ev->handle == ctx->chan); in keybox_chan_handler()
145 tipc_handle_chan_errors(ev); in keybox_chan_handler()
147 if (ev->event & IPC_HANDLE_POLL_MSG) { in keybox_chan_handler()
150 if (ev->event & IPC_HANDLE_POLL_HUP) { in keybox_chan_handler()
158 static void keybox_port_handler(const uevent_t* ev, void* priv) { in keybox_port_handler() argument
161 tipc_handle_port_errors(ev); in keybox_port_handler()
163 if (ev->event & IPC_HANDLE_POLL_READY) { in keybox_port_handler()
167 int rc = accept(ev->handle, &peer_uuid); in keybox_port_handler()
169 TLOGE("failed (%d) to accept on port %d\n", rc, ev->handle); in keybox_port_handler()