Home
last modified time | relevance | path

Searched refs:to_clean (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/snic/
Dvnic_cq_fw.h36 cq->ring.desc_size * cq->to_clean); in vnic_cq_fw_service()
44 cq->to_clean++; in vnic_cq_fw_service()
45 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_fw_service()
46 cq->to_clean = 0; in vnic_cq_fw_service()
51 cq->ring.desc_size * cq->to_clean); in vnic_cq_fw_service()
Dvnic_cq.h56 unsigned int to_clean; member
72 cq->ring.desc_size * cq->to_clean); in svnic_cq_service()
82 cq->to_clean++; in svnic_cq_service()
83 if (cq->to_clean == cq->ring.desc_count) { in svnic_cq_service()
84 cq->to_clean = 0; in svnic_cq_service()
89 cq->ring.desc_size * cq->to_clean); in svnic_cq_service()
Dvnic_wq.c76 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs()
172 wq->to_use = wq->to_clean = in vnic_wq_init_start()
220 buf = wq->to_clean; in svnic_wq_clean()
226 buf = wq->to_clean = buf->next; in svnic_wq_clean()
230 wq->to_use = wq->to_clean = wq->bufs[0]; in svnic_wq_clean()
Dvnic_wq.h81 struct vnic_wq_buf *to_clean; member
136 buf = wq->to_clean; in svnic_wq_service()
143 wq->to_clean = buf->next; in svnic_wq_service()
148 buf = wq->to_clean; in svnic_wq_service()
Dvnic_cq.c72 cq->to_clean = 0; in svnic_cq_clean()
/drivers/scsi/fnic/
Dvnic_cq_copy.h36 cq->ring.desc_size * cq->to_clean); in vnic_cq_copy_service()
44 cq->to_clean++; in vnic_cq_copy_service()
45 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_copy_service()
46 cq->to_clean = 0; in vnic_cq_copy_service()
51 cq->ring.desc_size * cq->to_clean); in vnic_cq_copy_service()
Dvnic_cq.h66 unsigned int to_clean; member
82 cq->ring.desc_size * cq->to_clean); in vnic_cq_service()
92 cq->to_clean++; in vnic_cq_service()
93 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service()
94 cq->to_clean = 0; in vnic_cq_service()
99 cq->ring.desc_size * cq->to_clean); in vnic_cq_service()
Dvnic_rq.c59 rq->to_use = rq->to_clean = rq->bufs[0]; in vnic_rq_alloc_bufs()
129 rq->to_use = rq->to_clean = in vnic_rq_init()
173 buf = rq->to_clean; in vnic_rq_clean()
179 buf = rq->to_clean = buf->next; in vnic_rq_clean()
185 rq->to_use = rq->to_clean = in vnic_rq_clean()
Dvnic_wq.h94 struct vnic_wq_buf *to_clean; member
149 buf = wq->to_clean; in vnic_wq_service()
156 wq->to_clean = buf->next; in vnic_wq_service()
161 buf = wq->to_clean; in vnic_wq_service()
Dvnic_wq.c79 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs()
171 wq->to_use = wq->to_clean = in vnic_wq_init_start()
229 buf = wq->to_clean; in vnic_wq_clean()
235 buf = wq->to_clean = buf->next; in vnic_wq_clean()
239 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_clean()
Dvnic_rq.h99 struct vnic_rq_buf *to_clean; member
189 buf = rq->to_clean; in vnic_rq_service()
199 rq->to_clean = buf->next; in vnic_rq_service()
204 buf = rq->to_clean; in vnic_rq_service()
Dvnic_cq.c77 cq->to_clean = 0; in vnic_cq_clean()
/drivers/net/ethernet/cisco/enic/
Dvnic_cq.h63 unsigned int to_clean; member
84 cq->ring.desc_size * cq->to_clean); in vnic_cq_service()
94 cq->to_clean++; in vnic_cq_service()
95 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service()
96 cq->to_clean = 0; in vnic_cq_service()
101 cq->ring.desc_size * cq->to_clean); in vnic_cq_service()
Dvnic_wq.c64 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs()
152 wq->to_use = wq->to_clean = in enic_wq_init_start()
200 buf = wq->to_clean; in vnic_wq_clean()
206 buf = wq->to_clean = buf->next; in vnic_wq_clean()
210 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_clean()
Dvnic_rq.h92 struct vnic_rq_buf *to_clean; member
173 buf = rq->to_clean; in vnic_rq_service()
183 rq->to_clean = buf->next; in vnic_rq_service()
188 buf = rq->to_clean; in vnic_rq_service()
Dvnic_wq.h87 struct vnic_wq_buf *to_clean; member
162 buf = wq->to_clean; in vnic_wq_service()
169 wq->to_clean = buf->next; in vnic_wq_service()
174 buf = wq->to_clean; in vnic_wq_service()
Dvnic_rq.c61 rq->to_use = rq->to_clean = rq->bufs[0]; in vnic_rq_alloc_bufs()
133 rq->to_use = rq->to_clean = in vnic_rq_init_start()
192 buf = rq->to_clean; in vnic_rq_clean()
207 rq->to_use = rq->to_clean = in vnic_rq_clean()
Dvnic_cq.c78 cq->to_clean = 0; in vnic_cq_clean()
Denic_main.c809 while (!buf->os_buf && (buf->next != wq->to_clean)) { in enic_queue_wq_skb()
/drivers/net/ethernet/marvell/
Dskge.c933 ring->to_use = ring->to_clean = ring->start; in skge_ring_alloc()
1032 ring->to_clean = ring->start; in skge_rx_fill()
2603 skge_qset(skge, rxqaddr[port], skge->rx_ring.to_clean); in skge_up()
2605 BUG_ON(skge->tx_ring.to_use != skge->tx_ring.to_clean); in skge_up()
2732 return ((ring->to_clean > ring->to_use) ? 0 : ring->count) in skge_avail()
2733 + (ring->to_clean - ring->to_use) - 1; in skge_avail()
2874 for (e = skge->tx_ring.to_clean; e != skge->tx_ring.to_use; e = e->next) { in skge_tx_clean()
2885 skge->tx_ring.to_clean = e; in skge_tx_clean()
3156 for (e = ring->to_clean; e != ring->to_use; e = e->next) { in skge_tx_done()
3176 skge->tx_ring.to_clean = e; in skge_tx_done()
[all …]
Dskge.h2397 struct skge_element *to_clean; member