Linux Kernel
3.7.1
|
struct virtproc_info - virtual remote processor state : the virtio device : rx virtqueue : tx virtqueue : kernel address of rx buffers : kernel address of tx buffers : index of last tx buffer used : dma base addr of the buffers : protects svq, sbufs and sleepers, to allow concurrent senders. sending a message might require waking up a dozing remote processor, which involves sleeping, hence the mutex. : idr of local endpoints, allows fast retrieval : lock of the endpoints set : wait queue of sending contexts waiting for a tx buffers : number of senders that are waiting for a tx buffer : the bus's name service endpoint
This structure stores the rpmsg state of a given virtio remote processor device (there might be several virtio proc devices for each physical remote processor).
Definition at line 59 of file virtio_rpmsg_bus.c.
dma_addr_t bufs_dma |
Definition at line 64 of file virtio_rpmsg_bus.c.
Definition at line 66 of file virtio_rpmsg_bus.c.
Definition at line 67 of file virtio_rpmsg_bus.c.
int last_sbuf |
Definition at line 63 of file virtio_rpmsg_bus.c.
struct rpmsg_endpoint* ns_ept |
Definition at line 70 of file virtio_rpmsg_bus.c.
void* rbufs |
Definition at line 62 of file virtio_rpmsg_bus.c.
Definition at line 61 of file virtio_rpmsg_bus.c.
void * sbufs |
Definition at line 62 of file virtio_rpmsg_bus.c.
wait_queue_head_t sendq |
Definition at line 68 of file virtio_rpmsg_bus.c.
atomic_t sleepers |
Definition at line 69 of file virtio_rpmsg_bus.c.
Definition at line 61 of file virtio_rpmsg_bus.c.
Definition at line 65 of file virtio_rpmsg_bus.c.
struct virtio_device* vdev |
Definition at line 60 of file virtio_rpmsg_bus.c.