Lines Matching defs:buf
107 struct vnic_wq_buf *buf = wq->to_use;
109 buf->sop = sop;
110 buf->os_buf = eop ? os_buf : NULL;
111 buf->dma_addr = dma_addr;
112 buf->len = len;
114 buf = buf->next;
122 iowrite32(buf->index, &wq->ctrl->posted_index);
124 wq->to_use = buf;
132 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque),
135 struct vnic_wq_buf *buf;
137 buf = wq->to_clean;
140 (*buf_service)(wq, cq_desc, buf, opaque);
144 wq->to_clean = buf->next;
146 if (buf->index == completed_index)
149 buf = wq->to_clean;
169 void (*buf_clean)(struct vnic_wq *wq, struct vnic_wq_buf *buf));