Home
last modified time | relevance | path

Searched refs:event_node (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/qlogic/qede/
Dqede_roce.c72 struct qede_roce_event_work *event_node; in qede_roce_cleanup_event() local
76 event_node = list_entry(head->next, struct qede_roce_event_work, in qede_roce_cleanup_event()
78 cancel_work_sync(&event_node->work); in qede_roce_cleanup_event()
79 list_del(&event_node->list); in qede_roce_cleanup_event()
80 kfree(event_node); in qede_roce_cleanup_event()
227 struct qede_roce_event_work *event_node = NULL; in qede_roce_get_free_event_node() local
232 event_node = list_entry(list_node, struct qede_roce_event_work, in qede_roce_get_free_event_node()
234 if (!work_pending(&event_node->work)) { in qede_roce_get_free_event_node()
241 event_node = kzalloc(sizeof(*event_node), GFP_KERNEL); in qede_roce_get_free_event_node()
242 if (!event_node) { in qede_roce_get_free_event_node()
[all …]
/drivers/staging/rtl8712/
Drtl871x_event.h89 struct event_node { struct
100 struct event_node nodes[C2HEVENT_SZ]; argument
/drivers/scsi/
Dvirtio_scsi.c277 struct virtio_scsi_event_node *event_node) in virtscsi_kick_event() argument
283 INIT_WORK(&event_node->work, virtscsi_handle_event); in virtscsi_kick_event()
284 sg_init_one(&sg, &event_node->event, sizeof(struct virtio_scsi_event)); in virtscsi_kick_event()
288 err = virtqueue_add_inbuf(vscsi->event_vq.vq, &sg, 1, event_node, in virtscsi_kick_event()
377 struct virtio_scsi_event_node *event_node = in virtscsi_handle_event() local
379 struct virtio_scsi *vscsi = event_node->vscsi; in virtscsi_handle_event()
380 struct virtio_scsi_event *event = &event_node->event; in virtscsi_handle_event()
401 virtscsi_kick_event(vscsi, event_node); in virtscsi_handle_event()
406 struct virtio_scsi_event_node *event_node = buf; in virtscsi_complete_event() local
409 queue_work(system_freezable_wq, &event_node->work); in virtscsi_complete_event()