Searched refs:headcount (Results 1 – 1 of 1) sorted by relevance
1050 int headcount = 0; in get_rx_bufs() local1058 while (datalen > 0 && headcount < quota) { in get_rx_bufs()1084 heads[headcount].id = cpu_to_vhost32(vq, d); in get_rx_bufs()1086 heads[headcount].len = cpu_to_vhost32(vq, len); in get_rx_bufs()1088 ++headcount; in get_rx_bufs()1091 heads[headcount - 1].len = cpu_to_vhost32(vq, len + datalen); in get_rx_bufs()1101 return headcount; in get_rx_bufs()1103 vhost_discard_vq_desc(vq, headcount); in get_rx_bufs()1128 s16 headcount; in handle_rx() local1162 headcount = get_rx_bufs(vq, vq->heads + nvq->done_idx, in handle_rx()[all …]