/Linux-v5.4/drivers/net/ethernet/cisco/enic/ |
D | enic_res.h | 44 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_ex() argument 65 vnic_wq_post(wq, os_buf, dma_addr, len, sop, eop, desc_skip_cnt, in enic_queue_wq_desc_ex() 70 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_cont() argument 73 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc_cont() 78 static inline void enic_queue_wq_desc(struct vnic_wq *wq, void *os_buf, in enic_queue_wq_desc() argument 82 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc() 89 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_csum() argument 93 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc_csum() 101 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_csum_l4() argument 105 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc_csum_l4() [all …]
|
D | vnic_rq.h | 71 void *os_buf; member 120 void *os_buf, unsigned int os_buf_index, in vnic_rq_post() argument 126 buf->os_buf = os_buf; in vnic_rq_post()
|
D | vnic_wq.h | 56 void *os_buf; member 132 void *os_buf, dma_addr_t dma_addr, in vnic_wq_post() argument 143 buf->os_buf = eop ? os_buf : NULL; in vnic_wq_post()
|
D | enic_main.c | 370 if (buf->os_buf) in enic_free_wq_buf() 371 dev_kfree_skb_any(buf->os_buf); in enic_free_wq_buf() 844 while (!buf->os_buf && (buf->next != wq->to_clean)) { in enic_queue_wq_skb() 1258 if (!buf->os_buf) in enic_free_rq_buf() 1263 dev_kfree_skb_any(buf->os_buf); in enic_free_rq_buf() 1264 buf->os_buf = NULL; in enic_free_rq_buf() 1277 if (buf->os_buf) { in enic_rq_alloc_buf() 1278 enic_queue_rq_desc(rq, buf->os_buf, os_buf_index, buf->dma_addr, in enic_rq_alloc_buf() 1349 skb = buf->os_buf; in enic_rq_indicate_buf() 1373 buf->os_buf = NULL; in enic_rq_indicate_buf() [all …]
|
/Linux-v5.4/drivers/scsi/snic/ |
D | snic_io.c | 41 SNIC_BUG_ON(buf->os_buf == NULL); in snic_wq_cmpl_frame_send() 46 buf->os_buf); in snic_wq_cmpl_frame_send() 49 ((ulong)(buf->os_buf) - sizeof(struct snic_req_info)), 0, 0, in snic_wq_cmpl_frame_send() 52 buf->os_buf = NULL; in snic_wq_cmpl_frame_send() 100 struct snic_host_req *req = buf->os_buf; in snic_free_wq_buf() 163 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) in snic_queue_wq_desc() argument 168 struct snic_host_req *req = (struct snic_host_req *) os_buf; in snic_queue_wq_desc() 173 snic_print_desc(__func__, os_buf, len); in snic_queue_wq_desc() 176 pa = dma_map_single(&snic->pdev->dev, os_buf, len, DMA_TO_DEVICE); in snic_queue_wq_desc() 199 snic_queue_wq_eth_desc(&snic->wq[q_num], os_buf, pa, len, 0, 0, 1); in snic_queue_wq_desc() [all …]
|
D | vnic_wq.h | 53 void *os_buf; member 103 void *os_buf, dma_addr_t dma_addr, in svnic_wq_post() argument 109 buf->os_buf = eop ? os_buf : NULL; in svnic_wq_post()
|
D | snic_res.h | 64 void *os_buf, in snic_queue_wq_eth_desc() argument 86 svnic_wq_post(wq, os_buf, dma_addr, len, 1, 1); in snic_queue_wq_eth_desc()
|
D | snic.h | 404 int snic_queue_wq_desc(struct snic *, void *os_buf, u16 len); 414 void snic_print_desc(const char *fn, char *os_buf, int len);
|
/Linux-v5.4/drivers/scsi/fnic/ |
D | vnic_wq.h | 72 void *os_buf; member 116 void *os_buf, dma_addr_t dma_addr, in vnic_wq_post() argument 122 buf->os_buf = eop ? os_buf : NULL; in vnic_wq_post()
|
D | fnic_res.h | 31 void *os_buf, dma_addr_t dma_addr, in fnic_queue_wq_desc() argument 51 vnic_wq_post(wq, os_buf, dma_addr, len, sop, eop); in fnic_queue_wq_desc() 55 void *os_buf, dma_addr_t dma_addr, in fnic_queue_wq_eth_desc() argument 76 vnic_wq_post(wq, os_buf, dma_addr, len, 1, 1); in fnic_queue_wq_eth_desc() 224 void *os_buf, dma_addr_t dma_addr, in fnic_queue_rq_desc() argument 234 vnic_rq_post(rq, os_buf, 0, dma_addr, len); in fnic_queue_rq_desc()
|
D | vnic_rq.h | 85 void *os_buf; member 133 void *os_buf, unsigned int os_buf_index, in vnic_rq_post() argument 138 buf->os_buf = os_buf; in vnic_rq_post()
|
D | fnic_fcs.c | 857 skb = buf->os_buf; in fnic_rq_cmpl_frame_recv() 859 buf->os_buf = NULL; in fnic_rq_cmpl_frame_recv() 1013 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf() 1020 buf->os_buf = NULL; in fnic_free_rq_buf() 1257 struct sk_buff *skb = buf->os_buf; in fnic_wq_complete_frame_send() 1264 buf->os_buf = NULL; in fnic_wq_complete_frame_send() 1301 struct fc_frame *fp = buf->os_buf; in fnic_free_wq_buf() 1308 buf->os_buf = NULL; in fnic_free_wq_buf()
|