Lines Matching refs:event_node

72 	struct qede_rdma_event_work *event_node;  in qede_rdma_cleanup_event()  local
76 event_node = list_entry(head->next, struct qede_rdma_event_work, in qede_rdma_cleanup_event()
78 cancel_work_sync(&event_node->work); in qede_rdma_cleanup_event()
79 list_del(&event_node->list); in qede_rdma_cleanup_event()
80 kfree(event_node); in qede_rdma_cleanup_event()
227 struct qede_rdma_event_work *event_node = NULL; in qede_rdma_get_free_event_node() local
232 event_node = list_entry(list_node, struct qede_rdma_event_work, in qede_rdma_get_free_event_node()
234 if (!work_pending(&event_node->work)) { in qede_rdma_get_free_event_node()
241 event_node = kzalloc(sizeof(*event_node), GFP_ATOMIC); in qede_rdma_get_free_event_node()
242 if (!event_node) { in qede_rdma_get_free_event_node()
247 list_add_tail(&event_node->list, in qede_rdma_get_free_event_node()
251 return event_node; in qede_rdma_get_free_event_node()
256 struct qede_rdma_event_work *event_node; in qede_rdma_handle_event() local
260 event_node = container_of(work, struct qede_rdma_event_work, work); in qede_rdma_handle_event()
261 event = event_node->event; in qede_rdma_handle_event()
262 edev = event_node->ptr; in qede_rdma_handle_event()
285 struct qede_rdma_event_work *event_node; in qede_rdma_add_event() local
290 event_node = qede_rdma_get_free_event_node(edev); in qede_rdma_add_event()
291 if (!event_node) in qede_rdma_add_event()
294 event_node->event = event; in qede_rdma_add_event()
295 event_node->ptr = edev; in qede_rdma_add_event()
297 INIT_WORK(&event_node->work, qede_rdma_handle_event); in qede_rdma_add_event()
298 queue_work(edev->rdma_info.rdma_wq, &event_node->work); in qede_rdma_add_event()