Home
last modified time | relevance | path

Searched refs:desc_avail (Results 1 – 22 of 22) sorted by relevance

/linux-5.19.10/drivers/scsi/fnic/
Dvnic_wq_copy.h38 return wq->ring.desc_avail; in vnic_wq_copy_desc_avail()
43 return wq->ring.desc_count - 1 - wq->ring.desc_avail; in vnic_wq_copy_desc_in_use()
57 wq->ring.desc_avail--; in vnic_wq_copy_post()
79 wq->ring.desc_avail += cnt; in vnic_wq_copy_desc_process()
96 wq->ring.desc_avail++; in vnic_wq_copy_service()
Dvnic_rq.h108 return rq->ring.desc_avail; in vnic_rq_desc_avail()
114 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()
145 rq->ring.desc_avail--; in vnic_rq_post()
172 rq->ring.desc_avail += count; in vnic_rq_return_descs()
197 rq->ring.desc_avail++; in vnic_rq_service()
Dvnic_wq.h101 return wq->ring.desc_avail; in vnic_wq_desc_avail()
107 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()
138 wq->ring.desc_avail--; in vnic_wq_post()
154 wq->ring.desc_avail++; in vnic_wq_service()
Dvnic_dev.h106 unsigned int desc_avail; member
Dvnic_rq.c180 rq->ring.desc_avail++; in vnic_rq_clean()
Dvnic_wq.c236 wq->ring.desc_avail++; in vnic_wq_clean()
Dvnic_dev.c241 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
Dfnic_scsi.c155 wq->ring.desc_avail += (fnic->fw_ack_index[0] in free_wq_copy_descs()
158 wq->ring.desc_avail += (wq->ring.desc_count in free_wq_copy_descs()
/linux-5.19.10/drivers/net/ethernet/cisco/enic/
Dvnic_rq.h100 return rq->ring.desc_avail; in vnic_rq_desc_avail()
106 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()
134 rq->ring.desc_avail--; in vnic_rq_post()
156 rq->ring.desc_avail += count; in vnic_rq_return_descs()
181 rq->ring.desc_avail++; in vnic_rq_service()
Dvnic_wq.h106 return wq->ring.desc_avail; in vnic_wq_desc_avail()
112 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()
151 wq->ring.desc_avail -= desc_skip_cnt; in vnic_wq_post()
167 wq->ring.desc_avail++; in vnic_wq_service()
Dvnic_wq.c207 wq->ring.desc_avail++; in vnic_wq_clean()
Dvnic_rq.c198 rq->ring.desc_avail = rq->ring.desc_count - 1; in vnic_rq_clean()
Dvnic_dev.h70 unsigned int desc_avail; member
Dvnic_dev.c214 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
Denic_main.c811 wq->ring.desc_avail++; in enic_queue_wq_skb()
/linux-5.19.10/drivers/scsi/snic/
Dvnic_wq.h88 return wq->ring.desc_avail; in svnic_wq_desc_avail()
94 return wq->ring.desc_count - wq->ring.desc_avail - 1; in svnic_wq_desc_used()
125 wq->ring.desc_avail--; in svnic_wq_post()
141 wq->ring.desc_avail++; in svnic_wq_service()
Dsnic_io.c170 long desc_avail = 0; in snic_queue_wq_desc() local
188 desc_avail = snic_wqdesc_avail(snic, q_num, req->hdr.type); in snic_queue_wq_desc()
189 if (desc_avail <= 0) { in snic_queue_wq_desc()
Dvnic_dev.h64 unsigned int desc_avail; member
Dvnic_wq.c227 wq->ring.desc_avail++; in svnic_wq_clean()
Dvnic_dev.c245 ring->desc_avail = ring->desc_count - 1; in svnic_dev_alloc_desc_ring()
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dsdma.h317 u16 desc_avail; member
861 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_progress()
862 if (tx->num_desc > sde->desc_avail) in sdma_progress()
Dsdma.c604 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_sw_clean_up_task()
1383 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_init()
2307 sde->desc_avail -= tx->num_desc; in submit_tx()
2322 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()
2323 if (tx->num_desc <= sde->desc_avail) in sdma_check_progress()
2333 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()
2372 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txreq()
2449 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txlist()