Home
last modified time | relevance | path

Searched refs:tbufRec (Results 1 - 2 of 2) sorted by relevance

/device/qemu/riscv32_virt/liteos_m/board/driver/
H A Dvirtnet.c137 struct TbufRecord *tbufRec; member
187 nic->tbufRec = malloc(sizeof(struct TbufRecord) * nic->dev.vq[1].qsz); in InitTxFreelist()
188 if (nic->tbufRec == NULL) { in InitTxFreelist()
189 PRINT_ERR("alloc nic->tbufRec memory failed\n"); in InitTxFreelist()
210 phead = nic->tbufRec[idx].head; in FreeTxEntry()
211 count = nic->tbufRec[idx].count; in FreeTxEntry()
212 tail = nic->tbufRec[idx].tail; in FreeTxEntry()
376 nic->tbufRec[idx].head = p; in LowLevelOutput()
377 nic->tbufRec[idx].count = add; in LowLevelOutput()
378 nic->tbufRec[id in LowLevelOutput()
[all...]
/device/qemu/drivers/virtio/
H A Dvirtnet.c82 NetBuf* tbufRec[VIRTQ_TX_QSZ]; member
167 nb = nic->tbufRec[idx]; in FreeTxEntry()
250 nic->tbufRec[idx] = p; in LowLevelOutput()

Completed in 9 milliseconds