/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | common.h | 45 int alloc_sz; member 66 qmem->alloc_sz = (qsize * entry_sz) + OTX2_ALIGN; in qmem_alloc() 67 qmem->base = dma_alloc_coherent(dev, qmem->alloc_sz, in qmem_alloc() 87 dma_free_coherent(dev, qmem->alloc_sz, in qmem_free()
|
/Linux-v5.10/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.c | 352 unsigned int alloc_sz; in ppm_alloc_cpu_pool() local 367 alloc_sz = sizeof(*pools) + sizeof(unsigned long) * bmap; in ppm_alloc_cpu_pool() 368 pools = __alloc_percpu(alloc_sz, __alignof__(struct cxgbi_ppm_pool)); in ppm_alloc_cpu_pool() 376 memset(ppool, 0, alloc_sz); in ppm_alloc_cpu_pool() 399 unsigned int alloc_sz; in cxgbi_ppm_init() local 440 alloc_sz = sizeof(struct cxgbi_ppm) + in cxgbi_ppm_init() 444 ppm = vzalloc(alloc_sz); in cxgbi_ppm_init()
|
/Linux-v5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 244 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local 303 alloc_sz = 1664; in rtl8723bs_recv_tasklet() 305 alloc_sz = skb_len + 14; in rtl8723bs_recv_tasklet() 307 alloc_sz = skb_len; in rtl8723bs_recv_tasklet() 310 alloc_sz += 14; in rtl8723bs_recv_tasklet() 313 pkt_copy = rtw_skb_alloc(alloc_sz); in rtl8723bs_recv_tasklet()
|
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/ |
D | xmit_linux.c | 49 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u… in rtw_os_xmit_resource_alloc() argument 51 if (alloc_sz > 0) { in rtw_os_xmit_resource_alloc() 52 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc()
|
/Linux-v5.10/drivers/staging/rtl8188eu/include/ |
D | xmit_osdep.h | 25 int rtw_os_xmit_resource_alloc(struct xmit_buf *pxmitbuf, u32 alloc_sz);
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 37 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local 109 alloc_sz = 1664; in recvbuf2recvframe() 111 alloc_sz = skb_len + 14; in recvbuf2recvframe() 113 alloc_sz = skb_len; in recvbuf2recvframe() 116 alloc_sz += 14; in recvbuf2recvframe() 119 pkt_copy = netdev_alloc_skb(adapt->pnetdev, alloc_sz); in recvbuf2recvframe()
|
D | xmit_linux.c | 17 int rtw_os_xmit_resource_alloc(struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc() argument 21 pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
|
/Linux-v5.10/drivers/staging/rtl8723bs/include/ |
D | xmit_osdep.h | 33 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u…
|
D | rtw_xmit.h | 261 u32 alloc_sz; member
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 977 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local 1027 alloc_sz = max_t(u16, tmp_len, 1658); in recvbuf2recvframe() 1029 alloc_sz = tmp_len; in recvbuf2recvframe() 1033 alloc_sz += 6; in recvbuf2recvframe() 1034 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe() 1044 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
|
/Linux-v5.10/drivers/dma/dw-edma/ |
D | dw-edma-core.h | 75 u32 alloc_sz; member
|
D | dw-edma-core.c | 312 residue = desc->alloc_sz - desc->xfer_sz; in dw_edma_device_tx_status() 401 desc->alloc_sz += burst->sz; in dw_edma_device_transfer()
|
/Linux-v5.10/drivers/message/fusion/ |
D | mptctl.c | 1017 int alloc_sz = min(bytes,MAX_KMALLOC_SZ); // avoid kernel warning msg! in kbuf_alloc_2_sgl() local 1065 this_alloc = min(alloc_sz, bytes-bytes_allocd); in kbuf_alloc_2_sgl() 1071 alloc_sz = alloc_sz / 2; in kbuf_alloc_2_sgl() 1072 if (alloc_sz == 0) { in kbuf_alloc_2_sgl() 1127 "last (big) alloc_sz=%d\n", ioc->name, alloc_sz)); in kbuf_alloc_2_sgl()
|
D | mptbase.h | 634 u32 alloc_sz; member
|
D | mptbase.c | 2741 sz = ioc->alloc_sz; in mpt_adapter_disable() 2743 ioc->name, ioc->alloc, ioc->alloc_sz)); in mpt_adapter_disable() 4515 ioc->alloc_sz = total_size; in PrimeIocFifos() 4616 sz = ioc->alloc_sz; in PrimeIocFifos()
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_xmit.c | 247 pxmitbuf->alloc_sz = MAX_CMDBUF_SZ+XMITBUF_ALIGN_SZ; in _rtw_init_xmit_priv()
|