Lines Matching refs:ev
43 static void hwkey_port_handler(const uevent_t* ev, void* priv);
44 static void hwkey_chan_handler(const uevent_t* ev, void* priv);
247 static void hwkey_chan_handler(const uevent_t* ev, void* priv) { in hwkey_chan_handler() argument
251 assert(ev->handle == ctx->chan); in hwkey_chan_handler()
253 tipc_handle_chan_errors(ev); in hwkey_chan_handler()
255 if (ev->event & IPC_HANDLE_POLL_HUP) { in hwkey_chan_handler()
261 if (ev->event & IPC_HANDLE_POLL_MSG) { in hwkey_chan_handler()
266 ev->handle); in hwkey_chan_handler()
275 static void hwkey_port_handler(const uevent_t* ev, void* priv) { in hwkey_port_handler() argument
278 tipc_handle_port_errors(ev); in hwkey_port_handler()
280 if (ev->event & IPC_HANDLE_POLL_READY) { in hwkey_port_handler()
282 int rc = accept(ev->handle, &peer_uuid); in hwkey_port_handler()
284 TLOGE("failed (%d) to accept on port %d\n", rc, ev->handle); in hwkey_port_handler()