Home
last modified time | relevance | path

Searched refs:os_buf (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/cisco/enic/
H A Denic_res.h31 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_ex() argument
52 vnic_wq_post(wq, os_buf, dma_addr, len, sop, eop, desc_skip_cnt, in enic_queue_wq_desc_ex()
57 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_cont() argument
60 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc_cont()
65 static inline void enic_queue_wq_desc(struct vnic_wq *wq, void *os_buf, in enic_queue_wq_desc() argument
69 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc()
76 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_csum() argument
80 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc_csum()
88 void *os_buf, dma_addr_t dma_addr, unsigned int len, in enic_queue_wq_desc_csum_l4() argument
92 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, in enic_queue_wq_desc_csum_l4()
[all …]
H A Dvnic_wq.h43 void *os_buf; member
119 void *os_buf, dma_addr_t dma_addr, in vnic_wq_post() argument
130 buf->os_buf = eop ? os_buf : NULL; in vnic_wq_post()
H A Dvnic_rq.h58 void *os_buf; member
107 void *os_buf, unsigned int os_buf_index, in vnic_rq_post() argument
113 buf->os_buf = os_buf; in vnic_rq_post()
H A Denic_main.c336 if (buf->os_buf) in enic_free_wq_buf()
337 dev_kfree_skb_any(buf->os_buf); in enic_free_wq_buf()
841 while (!buf->os_buf && (buf->next != wq->to_clean)) { in enic_queue_wq_skb()
1289 if (!buf->os_buf) in enic_free_rq_buf()
1294 dev_kfree_skb_any(buf->os_buf); in enic_free_rq_buf()
1295 buf->os_buf = NULL; in enic_free_rq_buf()
1308 if (buf->os_buf) { in enic_rq_alloc_buf()
1309 enic_queue_rq_desc(rq, buf->os_buf, os_buf_index, buf->dma_addr, in enic_rq_alloc_buf()
1386 skb = buf->os_buf; in enic_rq_indicate_buf()
1410 buf->os_buf = NULL; in enic_rq_indicate_buf()
[all …]
/linux/drivers/scsi/snic/
H A Dsnic_io.c27 SNIC_BUG_ON(buf->os_buf == NULL); in snic_wq_cmpl_frame_send()
32 buf->os_buf); in snic_wq_cmpl_frame_send()
35 ((ulong)(buf->os_buf) - sizeof(struct snic_req_info)), 0, 0, in snic_wq_cmpl_frame_send()
38 buf->os_buf = NULL; in snic_wq_cmpl_frame_send()
86 struct snic_host_req *req = buf->os_buf; in snic_free_wq_buf()
149 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) in snic_queue_wq_desc() argument
154 struct snic_host_req *req = (struct snic_host_req *) os_buf; in snic_queue_wq_desc()
159 snic_print_desc(__func__, os_buf, len); in snic_queue_wq_desc()
162 pa = dma_map_single(&snic->pdev->dev, os_buf, len, DMA_TO_DEVICE); in snic_queue_wq_desc()
185 snic_queue_wq_eth_desc(&snic->wq[q_num], os_buf, pa, len, 0, 0, 1); in snic_queue_wq_desc()
[all …]
H A Dvnic_wq.h39 void *os_buf; member
89 void *os_buf, dma_addr_t dma_addr, in svnic_wq_post() argument
95 buf->os_buf = eop ? os_buf : NULL; in svnic_wq_post()
H A Dsnic_res.h50 void *os_buf, in snic_queue_wq_eth_desc() argument
72 svnic_wq_post(wq, os_buf, dma_addr, len, 1, 1); in snic_queue_wq_eth_desc()
H A Dsnic.h390 int snic_queue_wq_desc(struct snic *, void *os_buf, u16 len);
400 void snic_print_desc(const char *fn, char *os_buf, int len);
/linux/drivers/scsi/fnic/
H A Dvnic_wq.h60 void *os_buf; member
104 void *os_buf, dma_addr_t dma_addr, in vnic_wq_post() argument
110 buf->os_buf = eop ? os_buf : NULL; in vnic_wq_post()
H A Dfnic_res.h19 void *os_buf, dma_addr_t dma_addr, in fnic_queue_wq_desc() argument
39 vnic_wq_post(wq, os_buf, dma_addr, len, sop, eop); in fnic_queue_wq_desc()
43 void *os_buf, dma_addr_t dma_addr, in fnic_queue_wq_eth_desc() argument
64 vnic_wq_post(wq, os_buf, dma_addr, len, 1, 1); in fnic_queue_wq_eth_desc()
212 void *os_buf, dma_addr_t dma_addr, in fnic_queue_rq_desc() argument
222 vnic_rq_post(rq, os_buf, 0, dma_addr, len); in fnic_queue_rq_desc()
H A Dvnic_rq.h73 void *os_buf; member
121 void *os_buf, unsigned int os_buf_index, in vnic_rq_post() argument
126 buf->os_buf = os_buf; in vnic_rq_post()
H A Dfnic_fcs.c848 skb = buf->os_buf; in fnic_rq_cmpl_frame_recv()
850 buf->os_buf = NULL; in fnic_rq_cmpl_frame_recv()
1002 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf()
1009 buf->os_buf = NULL; in fnic_free_rq_buf()
1247 struct sk_buff *skb = buf->os_buf; in fnic_wq_complete_frame_send()
1254 buf->os_buf = NULL; in fnic_wq_complete_frame_send()
1291 struct fc_frame *fp = buf->os_buf; in fnic_free_wq_buf()
1298 buf->os_buf = NULL; in fnic_free_wq_buf()