Lines Matching refs:ev
55 void tipc_handle_port_errors(const uevent_t* ev) { in tipc_handle_port_errors() argument
56 if ((ev->event & IPC_HANDLE_POLL_ERROR) || in tipc_handle_port_errors()
57 (ev->event & IPC_HANDLE_POLL_HUP) || in tipc_handle_port_errors()
58 (ev->event & IPC_HANDLE_POLL_MSG) || in tipc_handle_port_errors()
59 (ev->event & IPC_HANDLE_POLL_SEND_UNBLOCKED)) { in tipc_handle_port_errors()
61 TLOGE("error event (0x%x) for port (%d)\n", ev->event, ev->handle); in tipc_handle_port_errors()
69 void tipc_handle_chan_errors(const uevent_t* ev) { in tipc_handle_chan_errors() argument
70 if ((ev->event & IPC_HANDLE_POLL_ERROR) || in tipc_handle_chan_errors()
71 (ev->event & IPC_HANDLE_POLL_READY)) { in tipc_handle_chan_errors()
73 TLOGE("error event (0x%x) for chan (%d)\n", ev->event, ev->handle); in tipc_handle_chan_errors()
190 static void dispatch_event(const uevent_t* ev) { in dispatch_event() argument
191 assert(ev); in dispatch_event()
193 if (ev->event == IPC_HANDLE_POLL_NONE) { in dispatch_event()
200 struct tipc_event_handler* handler = ev->cookie; in dispatch_event()
203 handler->proc(ev, handler->priv); in dispatch_event()
208 TLOGE("no handler for event (0x%x) with handle %d\n", ev->event, in dispatch_event()
209 ev->handle); in dispatch_event()
211 close(ev->handle); in dispatch_event()