Home
last modified time | relevance | path

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

/linux/drivers/scsi/fnic/
H A 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()
H A 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()
H A 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()
H A Dvnic_dev.h94 unsigned int desc_avail; member
H A Dvnic_rq.c168 rq->ring.desc_avail++; in vnic_rq_clean()
H A Dvnic_wq.c224 wq->ring.desc_avail++; in vnic_wq_clean()
H A Dvnic_dev.c233 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
H A Dfnic_scsi.c129 wq->ring.desc_avail += (fnic->fw_ack_index[hwq] in free_wq_copy_descs()
132 wq->ring.desc_avail += (wq->ring.desc_count in free_wq_copy_descs()
/linux/drivers/net/ethernet/cisco/enic/
H A 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()
H A 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()
H A Dvnic_wq.c194 wq->ring.desc_avail++; in vnic_wq_clean()
H A Dvnic_rq.c185 rq->ring.desc_avail = rq->ring.desc_count - 1; in vnic_rq_clean()
H A Dvnic_dev.h62 unsigned int desc_avail; member
H A Dvnic_dev.c197 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
H A Denic_main.c843 wq->ring.desc_avail++; in enic_queue_wq_skb()
/linux/drivers/scsi/snic/
H A 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()
H A 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()
H A Dvnic_dev.h50 unsigned int desc_avail; member
H A Dvnic_wq.c213 wq->ring.desc_avail++; in svnic_wq_clean()
H A Dvnic_dev.c231 ring->desc_avail = ring->desc_count - 1; in svnic_dev_alloc_desc_ring()
/linux/drivers/infiniband/hw/hfi1/
H A 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()
H A 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()