Searched refs:headcount (Results 1 – 1 of 1) sorted by relevance
501 int headcount = 0; in get_rx_bufs() local505 while (datalen > 0 && headcount < quota) { in get_rx_bufs()527 heads[headcount].id = d; in get_rx_bufs()528 heads[headcount].len = iov_length(vq->iov + seg, in); in get_rx_bufs()529 datalen -= heads[headcount].len; in get_rx_bufs()530 ++headcount; in get_rx_bufs()533 heads[headcount - 1].len += datalen; in get_rx_bufs()537 return headcount; in get_rx_bufs()539 vhost_discard_vq_desc(vq, headcount); in get_rx_bufs()565 s16 headcount; in handle_rx() local[all …]