Lines Matching defs:head
124 struct pbuf *head; /* first pbuf address of this pbuf chain */
135 uint16_t tFreeHdr; /* head of Tx free desc entries list */
203 static void FreeTxEntry(struct VirtNetif *nic, uint16_t head)
209 idx = q->desc[head].next;
210 phead = nic->tbufRec[idx].head;
220 nic->tFreeHdr = head;
321 uint16_t head, tail, idx;
332 head = nic->tFreeHdr;
333 idx = head;
342 return head;
347 uint16_t add, idx, head, tmp;
363 head = GetTxFreeEntry(nic, add);
364 trans->desc[head].pAddr = u32_to_u64(VMM_TO_DMA_ADDR((PADDR_T)&nic->vnHdr));
365 trans->desc[head].len = sizeof(struct VirtnetHdr);
366 idx = trans->desc[head].next;
367 tmp = head;
376 nic->tbufRec[idx].head = p;
381 trans->avail->ring[trans->avail->index % trans->qsz] = head;