Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c48 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local
118 alloc_sz = 1664; in recvbuf2recvframe()
120 alloc_sz = skb_len + 14; in recvbuf2recvframe()
122 alloc_sz = skb_len; in recvbuf2recvframe()
125 alloc_sz += 14; in recvbuf2recvframe()
128 pkt_copy = netdev_alloc_skb(adapt->pnetdev, alloc_sz); in recvbuf2recvframe()
133 precvframe->rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
150 precvframe->rx_end = pbuf + pattrib->drvinfo_sz + RXDESC_SIZE + alloc_sz; in recvbuf2recvframe()
Dxmit_linux.c78 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc() argument
82 pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
/drivers/staging/rtl8723au/hal/
Dusb_ops_linux.c352 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local
427 alloc_sz = 1664; in recvbuf2recvframe()
429 alloc_sz = skb_len + 14; in recvbuf2recvframe()
431 alloc_sz = skb_len; in recvbuf2recvframe()
434 alloc_sz += 14; in recvbuf2recvframe()
437 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe()
/drivers/staging/rtl8723au/os_dep/
Dxmit_linux.c28 struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc23a() argument
32 pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc23a()
/drivers/staging/rtl8712/
Drtl8712_recv.c1025 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local
1072 alloc_sz = max_t(u16, tmp_len, 1658); in recvbuf2recvframe()
1074 alloc_sz = tmp_len; in recvbuf2recvframe()
1077 alloc_sz += 6; in recvbuf2recvframe()
1078 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe()
1087 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
1095 precvframe->u.hdr.rx_end = pbuf + alloc_sz; in recvbuf2recvframe()
/drivers/staging/rtl8723au/include/
Dxmit_osdep.h29 struct xmit_buf *pxmitbuf, u32 alloc_sz);
Drtw_xmit.h211 u32 alloc_sz; member
/drivers/staging/rtl8188eu/include/
Dxmit_osdep.h48 struct xmit_buf *pxmitbuf, u32 alloc_sz);
Drtw_xmit.h210 u32 alloc_sz; member
/drivers/message/fusion/
Dmptctl.c1034 int alloc_sz = min(bytes,MAX_KMALLOC_SZ); // avoid kernel warning msg! in kbuf_alloc_2_sgl() local
1078 this_alloc = min(alloc_sz, bytes-bytes_allocd); in kbuf_alloc_2_sgl()
1084 alloc_sz = alloc_sz / 2; in kbuf_alloc_2_sgl()
1085 if (alloc_sz == 0) { in kbuf_alloc_2_sgl()
1140 "last (big) alloc_sz=%d\n", ioc->name, alloc_sz)); in kbuf_alloc_2_sgl()
Dmptbase.h634 u32 alloc_sz; member
Dmptbase.c2715 sz = ioc->alloc_sz; in mpt_adapter_disable()
2717 ioc->name, ioc->alloc, ioc->alloc_sz)); in mpt_adapter_disable()
4495 ioc->alloc_sz = total_size; in PrimeIocFifos()
4609 sz = ioc->alloc_sz; in PrimeIocFifos()