Lines Matching refs:ev
46 static void hwrng_port_handler(const uevent_t* ev, void* priv);
47 static void hwrng_chan_handler(const uevent_t* ev, void* priv);
181 static void hwrng_chan_handler(const uevent_t* ev, void* priv) { in hwrng_chan_handler() argument
185 assert(ev->handle == ctx->chan); in hwrng_chan_handler()
187 tipc_handle_chan_errors(ev); in hwrng_chan_handler()
189 if (ev->event & IPC_HANDLE_POLL_HUP) { in hwrng_chan_handler()
192 if (ev->event & IPC_HANDLE_POLL_SEND_UNBLOCKED) { in hwrng_chan_handler()
196 if (ev->event & IPC_HANDLE_POLL_MSG) { in hwrng_chan_handler()
211 static void hwrng_port_handler(const uevent_t* ev, void* priv) { in hwrng_port_handler() argument
214 tipc_handle_port_errors(ev); in hwrng_port_handler()
216 if (ev->event & IPC_HANDLE_POLL_READY) { in hwrng_port_handler()
220 int rc = accept(ev->handle, &peer_uuid); in hwrng_port_handler()
222 TLOGE("failed (%d) to accept on port %d\n", rc, ev->handle); in hwrng_port_handler()