Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/fnic/
Dvnic_wq_copy.h26 return wq->ring.desc_avail; in vnic_wq_copy_desc_avail()
31 return wq->ring.desc_count - 1 - wq->ring.desc_avail; in vnic_wq_copy_desc_in_use()
45 wq->ring.desc_avail--; in vnic_wq_copy_post()
67 wq->ring.desc_avail += cnt; in vnic_wq_copy_desc_process()
84 wq->ring.desc_avail++; in vnic_wq_copy_service()
Dvnic_rq.h96 return rq->ring.desc_avail; in vnic_rq_desc_avail()
102 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()
133 rq->ring.desc_avail--; in vnic_rq_post()
160 rq->ring.desc_avail += count; in vnic_rq_return_descs()
185 rq->ring.desc_avail++; in vnic_rq_service()
Dvnic_wq.h89 return wq->ring.desc_avail; in vnic_wq_desc_avail()
95 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()
126 wq->ring.desc_avail--; in vnic_wq_post()
142 wq->ring.desc_avail++; in vnic_wq_service()
Dvnic_dev.h94 unsigned int desc_avail; member
Dvnic_rq.c168 rq->ring.desc_avail++; in vnic_rq_clean()
Dvnic_wq.c224 wq->ring.desc_avail++; in vnic_wq_clean()
Dvnic_dev.c229 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
Dfnic_scsi.c143 wq->ring.desc_avail += (fnic->fw_ack_index[0] in free_wq_copy_descs()
146 wq->ring.desc_avail += (wq->ring.desc_count in free_wq_copy_descs()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Dvnic_rq.h87 return rq->ring.desc_avail; in vnic_rq_desc_avail()
93 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()
121 rq->ring.desc_avail--; in vnic_rq_post()
143 rq->ring.desc_avail += count; in vnic_rq_return_descs()
168 rq->ring.desc_avail++; in vnic_rq_service()
Dvnic_wq.h93 return wq->ring.desc_avail; in vnic_wq_desc_avail()
99 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()
138 wq->ring.desc_avail -= desc_skip_cnt; in vnic_wq_post()
154 wq->ring.desc_avail++; in vnic_wq_service()
Dvnic_rq.c185 rq->ring.desc_avail = rq->ring.desc_count - 1; in vnic_rq_clean()
Dvnic_wq.c194 wq->ring.desc_avail++; in vnic_wq_clean()
Dvnic_dev.h57 unsigned int desc_avail; member
Dvnic_dev.c201 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
Denic_main.c810 wq->ring.desc_avail++; in enic_queue_wq_skb()
/linux-6.6.21/drivers/scsi/snic/
Dvnic_wq.h74 return wq->ring.desc_avail; in svnic_wq_desc_avail()
80 return wq->ring.desc_count - wq->ring.desc_avail - 1; in svnic_wq_desc_used()
111 wq->ring.desc_avail--; in svnic_wq_post()
127 wq->ring.desc_avail++; in svnic_wq_service()
Dsnic_io.c156 long desc_avail = 0; in snic_queue_wq_desc() local
174 desc_avail = snic_wqdesc_avail(snic, q_num, req->hdr.type); in snic_queue_wq_desc()
175 if (desc_avail <= 0) { in snic_queue_wq_desc()
Dvnic_dev.h50 unsigned int desc_avail; member
Dvnic_wq.c213 wq->ring.desc_avail++; in svnic_wq_clean()
Dvnic_dev.c231 ring->desc_avail = ring->desc_count - 1; in svnic_dev_alloc_desc_ring()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dsdma.h317 u16 desc_avail; member
884 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_progress()
885 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()
2305 sde->desc_avail -= tx->num_desc; in submit_tx()
2320 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()
2321 if (tx->num_desc <= sde->desc_avail) in sdma_check_progress()
2331 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()
2370 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txreq()
2447 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txlist()