Lines Matching refs:event
428 struct virtio_vsock_event *event) in virtio_vsock_event_fill_one() argument
435 sg_init_one(&sg, event, sizeof(*event)); in virtio_vsock_event_fill_one()
437 return virtqueue_add_inbuf(vq, &sg, 1, event, GFP_KERNEL); in virtio_vsock_event_fill_one()
446 struct virtio_vsock_event *event = &vsock->event_list[i]; in virtio_vsock_event_fill() local
448 virtio_vsock_event_fill_one(vsock, event); in virtio_vsock_event_fill()
475 struct virtio_vsock_event *event) in virtio_vsock_event_handle() argument
477 switch (le32_to_cpu(event->id)) { in virtio_vsock_event_handle()
499 struct virtio_vsock_event *event; in virtio_transport_event_work() local
503 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
504 if (len == sizeof(*event)) in virtio_transport_event_work()
505 virtio_vsock_event_handle(vsock, event); in virtio_transport_event_work()
507 virtio_vsock_event_fill_one(vsock, event); in virtio_transport_event_work()