Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c348 unsigned int alloc_sz; in ppm_alloc_cpu_pool() local
360 alloc_sz = sizeof(*pools) + sizeof(unsigned long) * bmap; in ppm_alloc_cpu_pool()
361 pools = __alloc_percpu(alloc_sz, __alignof__(struct cxgbi_ppm_pool)); in ppm_alloc_cpu_pool()
369 memset(ppool, 0, alloc_sz); in ppm_alloc_cpu_pool()
392 unsigned int alloc_sz; in cxgbi_ppm_init() local
411 alloc_sz = sizeof(struct cxgbi_ppm) + in cxgbi_ppm_init()
415 ppm = vmalloc(alloc_sz); in cxgbi_ppm_init()
419 memset(ppm, 0, alloc_sz); in cxgbi_ppm_init()
/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c44 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local
114 alloc_sz = 1664; in recvbuf2recvframe()
116 alloc_sz = skb_len + 14; in recvbuf2recvframe()
118 alloc_sz = skb_len; in recvbuf2recvframe()
121 alloc_sz += 14; in recvbuf2recvframe()
124 pkt_copy = netdev_alloc_skb(adapt->pnetdev, alloc_sz); in recvbuf2recvframe()
129 precvframe->rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
146 precvframe->rx_end = pbuf + pattrib->drvinfo_sz + RXDESC_SIZE + alloc_sz; in recvbuf2recvframe()
Dxmit_linux.c67 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc() argument
71 pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
/drivers/staging/rtl8712/
Drtl8712_recv.c1030 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local
1080 alloc_sz = max_t(u16, tmp_len, 1658); in recvbuf2recvframe()
1082 alloc_sz = tmp_len; in recvbuf2recvframe()
1086 alloc_sz += 6; in recvbuf2recvframe()
1087 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe()
1096 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
1104 precvframe->u.hdr.rx_end = pbuf + alloc_sz; in recvbuf2recvframe()
/drivers/staging/rtl8188eu/include/
Dxmit_osdep.h43 struct xmit_buf *pxmitbuf, u32 alloc_sz);
Drtw_xmit.h203 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
1082 this_alloc = min(alloc_sz, bytes-bytes_allocd); in kbuf_alloc_2_sgl()
1088 alloc_sz = alloc_sz / 2; in kbuf_alloc_2_sgl()
1089 if (alloc_sz == 0) { in kbuf_alloc_2_sgl()
1144 "last (big) alloc_sz=%d\n", ioc->name, alloc_sz)); in kbuf_alloc_2_sgl()
Dmptbase.h634 u32 alloc_sz; member
Dmptbase.c2738 sz = ioc->alloc_sz; in mpt_adapter_disable()
2740 ioc->name, ioc->alloc, ioc->alloc_sz)); in mpt_adapter_disable()
4511 ioc->alloc_sz = total_size; in PrimeIocFifos()
4612 sz = ioc->alloc_sz; in PrimeIocFifos()