void virtqueue_map(VirtQueueElement *elem)

{

    virtqueue_map_iovec(elem->in_sg, elem->in_addr, &elem->in_num,

                        VIRTQUEUE_MAX_SIZE, 1);

    virtqueue_map_iovec(elem->out_sg, elem->out_addr, &elem->out_num,

                        VIRTQUEUE_MAX_SIZE, 0);

}

void virtqueue_map(VirtQueueElement *elem)

{

    virtqueue_map_iovec(elem->in_sg, elem->in_addr, &elem->in_num,

                        VIRTQUEUE_MAX_SIZE, 1);

    virtqueue_map_iovec(elem->out_sg, elem->out_addr, &elem->out_num,

                        VIRTQUEUE_MAX_SIZE, 0);

}

void FUNC_0(VirtQueueElement *VAR_0)

{

    virtqueue_map_iovec(VAR_0->in_sg, VAR_0->in_addr, &VAR_0->in_num,

                        VIRTQUEUE_MAX_SIZE, 1);

    virtqueue_map_iovec(VAR_0->out_sg, VAR_0->out_addr, &VAR_0->out_num,

                        VIRTQUEUE_MAX_SIZE, 0);

}

void FUNC_0(VirtQueueElement *VAR_0)
{ virtqueue_map_iovec(VAR_0->in_sg, VAR_0->in_addr, &VAR_0->in_num,
VIRTQUEUE_MAX_SIZE, 1); virtqueue_map_iovec(VAR_0->out_sg, VAR_0->out_addr, &VAR_0->out_num,
VIRTQUEUE_MAX_SIZE, 0); }