Lines Matching refs:event
298 struct virtio_vsock_event *event) in virtio_vsock_event_fill_one() argument
305 sg_init_one(&sg, event, sizeof(*event)); in virtio_vsock_event_fill_one()
307 return virtqueue_add_inbuf(vq, &sg, 1, event, GFP_KERNEL); in virtio_vsock_event_fill_one()
316 struct virtio_vsock_event *event = &vsock->event_list[i]; in virtio_vsock_event_fill() local
318 virtio_vsock_event_fill_one(vsock, event); in virtio_vsock_event_fill()
348 struct virtio_vsock_event *event) in virtio_vsock_event_handle() argument
350 switch (le32_to_cpu(event->id)) { in virtio_vsock_event_handle()
373 struct virtio_vsock_event *event; in virtio_transport_event_work() local
377 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
378 if (len == sizeof(*event)) in virtio_transport_event_work()
379 virtio_vsock_event_handle(vsock, event); in virtio_transport_event_work()
381 virtio_vsock_event_fill_one(vsock, event); in virtio_transport_event_work()