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

/linux-4.4.14/drivers/net/ethernet/cisco/enic/
H A Denic_res.h44 void *os_buf, dma_addr_t dma_addr, unsigned int len, enic_queue_wq_desc_ex()
65 vnic_wq_post(wq, os_buf, dma_addr, len, sop, eop, desc_skip_cnt, enic_queue_wq_desc_ex()
70 void *os_buf, dma_addr_t dma_addr, unsigned int len, enic_queue_wq_desc_cont()
73 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, enic_queue_wq_desc_cont()
78 static inline void enic_queue_wq_desc(struct vnic_wq *wq, void *os_buf, enic_queue_wq_desc() argument
82 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, enic_queue_wq_desc()
89 void *os_buf, dma_addr_t dma_addr, unsigned int len, enic_queue_wq_desc_csum()
93 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, enic_queue_wq_desc_csum()
101 void *os_buf, dma_addr_t dma_addr, unsigned int len, enic_queue_wq_desc_csum_l4()
105 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, enic_queue_wq_desc_csum_l4()
112 void *os_buf, dma_addr_t dma_addr, unsigned int len, enic_queue_wq_desc_tso()
116 enic_queue_wq_desc_ex(wq, os_buf, dma_addr, len, enic_queue_wq_desc_tso()
123 void *os_buf, unsigned int os_buf_index, enic_queue_rq_desc()
135 vnic_rq_post(rq, os_buf, os_buf_index, dma_addr, len, wrid); enic_queue_rq_desc()
43 enic_queue_wq_desc_ex(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, unsigned int mss_or_csum_offset, unsigned int hdr_len, int vlan_tag_insert, unsigned int vlan_tag, int offload_mode, int cq_entry, int sop, int eop, int loopback) enic_queue_wq_desc_ex() argument
69 enic_queue_wq_desc_cont(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, int eop, int loopback) enic_queue_wq_desc_cont() argument
88 enic_queue_wq_desc_csum(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, int ip_csum, int tcpudp_csum, int vlan_tag_insert, unsigned int vlan_tag, int eop, int loopback) enic_queue_wq_desc_csum() argument
100 enic_queue_wq_desc_csum_l4(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, unsigned int csum_offset, unsigned int hdr_len, int vlan_tag_insert, unsigned int vlan_tag, int eop, int loopback) enic_queue_wq_desc_csum_l4() argument
111 enic_queue_wq_desc_tso(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, unsigned int mss, unsigned int hdr_len, int vlan_tag_insert, unsigned int vlan_tag, int eop, int loopback) enic_queue_wq_desc_tso() argument
122 enic_queue_rq_desc(struct vnic_rq *rq, void *os_buf, unsigned int os_buf_index, dma_addr_t dma_addr, unsigned int len) enic_queue_rq_desc() argument
H A Dvnic_wq.h56 void *os_buf; member in struct:vnic_wq_buf
132 void *os_buf, dma_addr_t dma_addr, vnic_wq_post()
143 buf->os_buf = eop ? os_buf : NULL; vnic_wq_post()
131 vnic_wq_post(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, int sop, int eop, uint8_t desc_skip_cnt, uint8_t cq_entry, uint8_t compressed_send, uint64_t wrid) vnic_wq_post() argument
H A Dvnic_rq.h71 void *os_buf; member in struct:vnic_rq_buf
123 void *os_buf, unsigned int os_buf_index, vnic_rq_post()
129 buf->os_buf = os_buf; vnic_rq_post()
122 vnic_rq_post(struct vnic_rq *rq, void *os_buf, unsigned int os_buf_index, dma_addr_t dma_addr, unsigned int len, uint64_t wrid) vnic_rq_post() argument
H A Denic_main.c216 if (buf->os_buf) enic_free_wq_buf()
217 dev_kfree_skb_any(buf->os_buf); enic_free_wq_buf()
617 * For all non EOP bufs, os_buf is NULL. enic_queue_wq_skb()
619 while (!buf->os_buf && (buf->next != wq->to_clean)) { enic_queue_wq_skb()
1034 if (!buf->os_buf) enic_free_rq_buf()
1039 dev_kfree_skb_any(buf->os_buf); enic_free_rq_buf()
1040 buf->os_buf = NULL; enic_free_rq_buf()
1053 if (buf->os_buf) { enic_rq_alloc_buf()
1054 enic_queue_rq_desc(rq, buf->os_buf, os_buf_index, buf->dma_addr, enic_rq_alloc_buf()
1124 skb = buf->os_buf; enic_rq_indicate_buf()
1148 buf->os_buf = NULL; enic_rq_indicate_buf()
1159 buf->os_buf = NULL; enic_rq_indicate_buf()
1206 buf->os_buf = NULL; enic_rq_indicate_buf()
/linux-4.4.14/drivers/scsi/snic/
H A Dsnic_io.c41 SNIC_BUG_ON(buf->os_buf == NULL); snic_wq_cmpl_frame_send()
46 buf->os_buf); snic_wq_cmpl_frame_send()
49 ((ulong)(buf->os_buf) - sizeof(struct snic_req_info)), 0, 0, snic_wq_cmpl_frame_send()
52 buf->os_buf = NULL; snic_wq_cmpl_frame_send()
100 struct snic_host_req *req = buf->os_buf; snic_free_wq_buf()
141 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) snic_queue_wq_desc() argument
149 snic_print_desc(__func__, os_buf, len); snic_queue_wq_desc()
152 pa = pci_map_single(snic->pdev, os_buf, len, PCI_DMA_TODEVICE); snic_queue_wq_desc()
171 snic_queue_wq_eth_desc(&snic->wq[q_num], os_buf, pa, len, 0, 0, 1); snic_queue_wq_desc()
406 snic_dump_desc(const char *fn, char *os_buf, int len) snic_dump_desc() argument
408 struct snic_host_req *req = (struct snic_host_req *) os_buf; snic_dump_desc()
409 struct snic_fw_req *fwreq = (struct snic_fw_req *) os_buf; snic_dump_desc()
499 snic_hex_dump(cmd_str, os_buf, len); snic_dump_desc()
503 snic_print_desc(const char *fn, char *os_buf, int len) snic_print_desc() argument
506 snic_dump_desc(fn, os_buf, len); snic_print_desc()
H A Dvnic_wq.h53 void *os_buf; member in struct:vnic_wq_buf
103 void *os_buf, dma_addr_t dma_addr, svnic_wq_post()
109 buf->os_buf = eop ? os_buf : NULL; svnic_wq_post()
102 svnic_wq_post(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, int sop, int eop) svnic_wq_post() argument
H A Dsnic_res.h64 void *os_buf, snic_queue_wq_eth_desc()
86 svnic_wq_post(wq, os_buf, dma_addr, len, 1, 1); snic_queue_wq_eth_desc()
63 snic_queue_wq_eth_desc(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, int vlan_tag_insert, unsigned int vlan_tag, int cq_entry) snic_queue_wq_eth_desc() argument
H A Dsnic.h402 int snic_queue_wq_desc(struct snic *, void *os_buf, u16 len);
412 void snic_print_desc(const char *fn, char *os_buf, int len);
/linux-4.4.14/drivers/scsi/fnic/
H A Dvnic_wq.h70 void *os_buf; member in struct:vnic_wq_buf
114 void *os_buf, dma_addr_t dma_addr, vnic_wq_post()
120 buf->os_buf = eop ? os_buf : NULL; vnic_wq_post()
113 vnic_wq_post(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, int sop, int eop) vnic_wq_post() argument
H A Dfnic_res.h31 void *os_buf, dma_addr_t dma_addr, fnic_queue_wq_desc()
51 vnic_wq_post(wq, os_buf, dma_addr, len, sop, eop); fnic_queue_wq_desc()
55 void *os_buf, dma_addr_t dma_addr, fnic_queue_wq_eth_desc()
76 vnic_wq_post(wq, os_buf, dma_addr, len, 1, 1); fnic_queue_wq_eth_desc()
224 void *os_buf, dma_addr_t dma_addr, fnic_queue_rq_desc()
234 vnic_rq_post(rq, os_buf, 0, dma_addr, len); fnic_queue_rq_desc()
30 fnic_queue_wq_desc(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, unsigned int fc_eof, int vlan_tag_insert, unsigned int vlan_tag, int cq_entry, int sop, int eop) fnic_queue_wq_desc() argument
54 fnic_queue_wq_eth_desc(struct vnic_wq *wq, void *os_buf, dma_addr_t dma_addr, unsigned int len, int vlan_tag_insert, unsigned int vlan_tag, int cq_entry) fnic_queue_wq_eth_desc() argument
223 fnic_queue_rq_desc(struct vnic_rq *rq, void *os_buf, dma_addr_t dma_addr, u16 len) fnic_queue_rq_desc() argument
H A Dvnic_rq.h85 void *os_buf; member in struct:vnic_rq_buf
133 void *os_buf, unsigned int os_buf_index, vnic_rq_post()
138 buf->os_buf = os_buf; vnic_rq_post()
132 vnic_rq_post(struct vnic_rq *rq, void *os_buf, unsigned int os_buf_index, dma_addr_t dma_addr, unsigned int len) vnic_rq_post() argument
H A Dfnic_fcs.c816 skb = buf->os_buf; fnic_rq_cmpl_frame_recv()
818 buf->os_buf = NULL; fnic_rq_cmpl_frame_recv()
973 struct fc_frame *fp = buf->os_buf; fnic_free_rq_buf()
980 buf->os_buf = NULL; fnic_free_rq_buf()
1222 struct sk_buff *skb = buf->os_buf; fnic_wq_complete_frame_send()
1229 buf->os_buf = NULL; fnic_wq_complete_frame_send()
1266 struct fc_frame *fp = buf->os_buf; fnic_free_wq_buf()
1273 buf->os_buf = NULL; fnic_free_wq_buf()

Completed in 235 milliseconds