Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_rdma.c72 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()
[all …]
/Linux-v4.19/tools/perf/tests/
Dswitch-tracking.c199 struct event_node { struct
209 struct event_node *node; in add_event() argument
211 node = malloc(sizeof(struct event_node)); in add_event()
236 struct event_node *node; in free_event_nodes()
239 node = list_entry(events->next, struct event_node, list); in free_event_nodes()
247 const struct event_node *nodea = a; in compar()
248 const struct event_node *nodeb = b; in compar()
260 struct event_node *events_array, *node; in process_events()
279 events_array = calloc(cnt, sizeof(struct event_node)); in process_events()
290 qsort(events_array, cnt, sizeof(struct event_node), compar); in process_events()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_event.h85 struct event_node{ struct
96 struct event_node nodes[C2HEVENT_SZ]; argument
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_event.h89 struct event_node { struct
100 struct event_node nodes[C2HEVENT_SZ]; argument
/Linux-v4.19/drivers/scsi/
Dvirtio_scsi.c270 struct virtio_scsi_event_node *event_node) in virtscsi_kick_event() argument
276 INIT_WORK(&event_node->work, virtscsi_handle_event); in virtscsi_kick_event()
277 sg_init_one(&sg, &event_node->event, sizeof(struct virtio_scsi_event)); in virtscsi_kick_event()
281 err = virtqueue_add_inbuf(vscsi->event_vq.vq, &sg, 1, event_node, in virtscsi_kick_event()
370 struct virtio_scsi_event_node *event_node = in virtscsi_handle_event() local
372 struct virtio_scsi *vscsi = event_node->vscsi; in virtscsi_handle_event()
373 struct virtio_scsi_event *event = &event_node->event; in virtscsi_handle_event()
394 virtscsi_kick_event(vscsi, event_node); in virtscsi_handle_event()
399 struct virtio_scsi_event_node *event_node = buf; in virtscsi_complete_event() local
402 queue_work(system_freezable_wq, &event_node->work); in virtscsi_complete_event()