Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/cisco/enic/
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 …]
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()
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()
Denic_main.c335 if (buf->os_buf) in enic_free_wq_buf()
336 dev_kfree_skb_any(buf->os_buf); in enic_free_wq_buf()
808 while (!buf->os_buf && (buf->next != wq->to_clean)) { in enic_queue_wq_skb()
1226 if (!buf->os_buf) in enic_free_rq_buf()
1231 dev_kfree_skb_any(buf->os_buf); in enic_free_rq_buf()
1232 buf->os_buf = NULL; in enic_free_rq_buf()
1245 if (buf->os_buf) { in enic_rq_alloc_buf()
1246 enic_queue_rq_desc(rq, buf->os_buf, os_buf_index, buf->dma_addr, in enic_rq_alloc_buf()
1317 skb = buf->os_buf; in enic_rq_indicate_buf()
1341 buf->os_buf = NULL; in enic_rq_indicate_buf()
[all …]
/linux-6.1.9/drivers/scsi/snic/
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 …]
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()
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()
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-6.1.9/drivers/scsi/fnic/
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()
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()
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()
Dfnic_fcs.c840 skb = buf->os_buf; in fnic_rq_cmpl_frame_recv()
842 buf->os_buf = NULL; in fnic_rq_cmpl_frame_recv()
994 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf()
1001 buf->os_buf = NULL; in fnic_free_rq_buf()
1238 struct sk_buff *skb = buf->os_buf; in fnic_wq_complete_frame_send()
1245 buf->os_buf = NULL; in fnic_wq_complete_frame_send()
1282 struct fc_frame *fp = buf->os_buf; in fnic_free_wq_buf()
1289 buf->os_buf = NULL; in fnic_free_wq_buf()