Lines Matching refs:netbuf
63 qdf_nbuf_t netbuf; in destroy_htc_tx_ctrl_packet() local
65 netbuf = (qdf_nbuf_t) GET_HTC_PACKET_NET_BUF_CONTEXT(pPacket); in destroy_htc_tx_ctrl_packet()
66 if (netbuf) in destroy_htc_tx_ctrl_packet()
67 qdf_nbuf_free(netbuf); in destroy_htc_tx_ctrl_packet()
74 qdf_nbuf_t netbuf; in build_htc_tx_ctrl_packet() local
80 netbuf = qdf_nbuf_alloc(osdev, HTC_CONTROL_BUFFER_SIZE, in build_htc_tx_ctrl_packet()
82 if (!netbuf) { in build_htc_tx_ctrl_packet()
87 SET_HTC_PACKET_NET_BUF_CONTEXT(pPacket, netbuf); in build_htc_tx_ctrl_packet()
191 qdf_nbuf_t netbuf; in htc_cleanup() local
218 netbuf = GET_HTC_PACKET_NET_BUF_CONTEXT(pPacket); in htc_cleanup()
219 if (netbuf) in htc_cleanup()
220 qdf_nbuf_free(netbuf); in htc_cleanup()
233 netbuf = (qdf_nbuf_t) GET_HTC_PACKET_NET_BUF_CONTEXT(pPacket); in htc_cleanup()
234 if (netbuf) in htc_cleanup()
235 qdf_nbuf_free(netbuf); in htc_cleanup()
901 qdf_nbuf_t netbuf; in htc_start() local
923 netbuf = in htc_start()
926 qdf_nbuf_put_tail(netbuf, sizeof(HTC_SETUP_COMPLETE_EX_MSG)); in htc_start()
928 (HTC_SETUP_COMPLETE_EX_MSG *) qdf_nbuf_data(netbuf); in htc_start()
977 qdf_nbuf_t netbuf; in htc_flush_surprise_remove() local
994 while ((netbuf = qdf_nbuf_queue_remove(rx_sg_queue)) != NULL) in htc_flush_surprise_remove()
995 qdf_nbuf_free(netbuf); in htc_flush_surprise_remove()
1014 qdf_nbuf_t netbuf; in htc_stop() local
1046 while ((netbuf = qdf_nbuf_queue_remove(rx_sg_queue)) != NULL) in htc_stop()
1047 qdf_nbuf_free(netbuf); in htc_stop()