Home
last modified time | relevance | path

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

/openbmc/qemu/hw/virtio/
H A Dvirtio-nsm.c1534 g_autofree VirtQueueElement *in_elem = NULL; in handle_input() local
1554 in_elem = virtqueue_pop(vq, sizeof(VirtQueueElement)); in handle_input()
1555 if (!in_elem) { in handle_input()
1560 if (iov_size(in_elem->in_sg, in_elem->in_num) != NSM_RESPONSE_BUF_SIZE) { in handle_input()
1582 sz = iov_from_buf(in_elem->in_sg, in_elem->in_num, 0, res.iov_base, in handle_input()
1592 virtqueue_push(vq, in_elem, in_elem->in_sg->iov_len); in handle_input()
1602 if (in_elem) { in handle_input()
1603 virtqueue_detach_element(vq, in_elem, 0); in handle_input()