Home
last modified time | relevance | path

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

/linux/drivers/vhost/
H A Dvhost.h147 u16 *nheads; member
250 u16 *nheads, unsigned count);
254 struct vring_used_elem *heads, u16 *nheads,
H A Dvhost.c505 kfree(vq->nheads); in vhost_vq_free_iovecs()
506 vq->nheads = NULL; in vhost_vq_free_iovecs()
520 vq->nheads = kmalloc_array(dev->iov_limit, sizeof(*vq->nheads), in vhost_dev_alloc_iovecs()
522 if (!vq->indirect || !vq->log || !vq->heads || !vq->nheads) in vhost_dev_alloc_iovecs()
614 vq->nheads = NULL; in vhost_dev_init()
2991 u16 nheads = 1; in vhost_add_used() local
2993 return vhost_add_used_n(vq, &heads, &nheads, 1); in vhost_add_used()
3049 const u16 *nheads, in vhost_add_used_n_in_order() argument
3056 if (!nheads) in vhost_add_used_n_in_order()
3067 start += nheads[i]; in vhost_add_used_n_in_order()
[all …]
H A Dnet.c469 vq->nheads, count); in vhost_net_signal_used()
489 vq->nheads[0] = nvq->done_idx; in vhost_tx_batch()
1046 u16 *nheads, in get_rx_bufs() argument
1118 nheads[0] = headcount; in get_rx_bufs()
1191 vq->nheads + count, in handle_rx()
/linux/arch/mips/include/asm/
H A Dsgiarcs.h343 unsigned short nheads; /* # of heads */ member