Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_recv.c58 precvpriv->pallocated_frame_buf = kzalloc(NR_RECVFRAME * in _r8712_init_recv_priv()
61 if (!precvpriv->pallocated_frame_buf) in _r8712_init_recv_priv()
63 kmemleak_not_leak(precvpriv->pallocated_frame_buf); in _r8712_init_recv_priv()
64 precvpriv->precv_frame_buf = precvpriv->pallocated_frame_buf + in _r8712_init_recv_priv()
66 ((addr_t)(precvpriv->pallocated_frame_buf) & in _r8712_init_recv_priv()
83 kfree(precvpriv->pallocated_frame_buf); in _r8712_free_recv_priv()
Drtl871x_xmit.c81 pxmitpriv->pallocated_frame_buf = in _r8712_init_xmit_priv()
84 if (!pxmitpriv->pallocated_frame_buf) { in _r8712_init_xmit_priv()
88 pxmitpriv->pxmit_frame_buf = pxmitpriv->pallocated_frame_buf + 4 - in _r8712_init_xmit_priv()
89 ((addr_t) (pxmitpriv->pallocated_frame_buf) & 3); in _r8712_init_xmit_priv()
172 kfree(pxmitpriv->pallocated_frame_buf); in _r8712_init_xmit_priv()
173 pxmitpriv->pallocated_frame_buf = NULL; in _r8712_init_xmit_priv()
196 kfree(pxmitpriv->pallocated_frame_buf); in _free_xmit_priv()
Drtl871x_recv.h86 u8 *pallocated_frame_buf; member
Drtl871x_xmit.h204 u8 *pallocated_frame_buf; member
/drivers/staging/rtl8188eu/include/
Drtw_recv.h159 void *pallocated_frame_buf; member
Drtw_xmit.h254 u8 *pallocated_frame_buf; member
/drivers/staging/rtl8723bs/core/
Drtw_recv.c49 …precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(union recv_frame) + RXFRAME_ALIGN_… in _rtw_init_recv_priv()
51 if (!precvpriv->pallocated_frame_buf) { in _rtw_init_recv_priv()
56 …precvpriv->precv_frame_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(precvpriv->pallocated_frame_buf), RX… in _rtw_init_recv_priv()
98 if (precvpriv->pallocated_frame_buf) in _rtw_free_recv_priv()
99 vfree(precvpriv->pallocated_frame_buf); in _rtw_free_recv_priv()
Drtw_xmit.c68 pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); in _rtw_init_xmit_priv()
70 if (!pxmitpriv->pallocated_frame_buf) { in _rtw_init_xmit_priv()
76 pxmitpriv->pxmit_frame_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_frame_buf), 4); in _rtw_init_xmit_priv()
293 if (pxmitpriv->pallocated_frame_buf) in _rtw_free_xmit_priv()
294 vfree(pxmitpriv->pallocated_frame_buf); in _rtw_free_xmit_priv()
/drivers/staging/rtl8723bs/include/
Drtw_recv.h221 u8 *pallocated_frame_buf; member
Drtw_xmit.h377 u8 *pallocated_frame_buf; member
/drivers/staging/rtl8188eu/core/
Drtw_recv.c51 …precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(struct recv_frame) + RXFRAME_ALIGN… in _rtw_init_recv_priv()
53 if (!precvpriv->pallocated_frame_buf) in _rtw_init_recv_priv()
56 precvframe = PTR_ALIGN(precvpriv->pallocated_frame_buf, RXFRAME_ALIGN_SZ); in _rtw_init_recv_priv()
87 vfree(precvpriv->pallocated_frame_buf); in _rtw_free_recv_priv()
Drtw_xmit.c71 pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); in _rtw_init_xmit_priv()
73 if (!pxmitpriv->pallocated_frame_buf) { in _rtw_init_xmit_priv()
79 pxmitpriv->pxmit_frame_buf = PTR_ALIGN(pxmitpriv->pallocated_frame_buf, 4); in _rtw_init_xmit_priv()
225 vfree(pxmitpriv->pallocated_frame_buf); in _rtw_free_xmit_priv()