Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Dcommon.h41 int alloc_sz; member
62 qmem->alloc_sz = (qsize * entry_sz) + OTX2_ALIGN; in qmem_alloc()
63 qmem->base = dma_alloc_attrs(dev, qmem->alloc_sz, &qmem->iova, in qmem_alloc()
83 dma_free_attrs(dev, qmem->alloc_sz, in qmem_free()
/linux/drivers/net/ethernet/chelsio/libcxgb/
A Dlibcxgb_ppm.c352 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/drivers/staging/rtl8723bs/hal/
A Drtl8723bs_recv.c229 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local
285 alloc_sz = 1664; in rtl8723bs_recv_tasklet()
287 alloc_sz = skb_len + 14; in rtl8723bs_recv_tasklet()
289 alloc_sz = skb_len; in rtl8723bs_recv_tasklet()
292 alloc_sz += 14; in rtl8723bs_recv_tasklet()
295 pkt_copy = rtw_skb_alloc(alloc_sz); in rtl8723bs_recv_tasklet()
/linux/drivers/staging/rtl8723bs/os_dep/
A Dxmit_linux.c46 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u… in rtw_os_xmit_resource_alloc() argument
48 if (alloc_sz > 0) { in rtw_os_xmit_resource_alloc()
49 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc()
/linux/drivers/staging/rtl8723bs/include/
A Dxmit_osdep.h33 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u…
A Drtw_xmit.h244 u32 alloc_sz; member
/linux/drivers/staging/rtl8712/
A Drtl8712_recv.c973 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local
1023 alloc_sz = max_t(u16, tmp_len, 1658); in recvbuf2recvframe()
1025 alloc_sz = tmp_len; in recvbuf2recvframe()
1029 alloc_sz += 6; in recvbuf2recvframe()
1030 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe()
1041 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
/linux/tools/net/ynl/lib/
A Dynl-priv.h116 size_t alloc_sz; member
124 size_t alloc_sz; member
A Dynl.c804 rsp = calloc(1, info->alloc_sz); in ynl_ntf_parse()
926 obj = calloc(1, ds->alloc_sz); in ynl_dump_trampoline()
/linux/drivers/dma/dw-edma/
A Ddw-edma-core.h70 u32 alloc_sz; member
A Ddw-edma-core.c351 residue = desc->alloc_sz - desc->xfer_sz; in dw_edma_device_tx_status()
482 desc->alloc_sz += burst->sz; in dw_edma_device_transfer()
/linux/drivers/message/fusion/
A Dmptctl.c1013 int alloc_sz = min(bytes,MAX_KMALLOC_SZ); // avoid kernel warning msg! in kbuf_alloc_2_sgl() local
1062 this_alloc = min(alloc_sz, bytes-bytes_allocd); in kbuf_alloc_2_sgl()
1068 alloc_sz = alloc_sz / 2; in kbuf_alloc_2_sgl()
1069 if (alloc_sz == 0) { in kbuf_alloc_2_sgl()
1125 "last (big) alloc_sz=%d\n", ioc->name, alloc_sz)); in kbuf_alloc_2_sgl()
A Dmptbase.h634 u32 alloc_sz; member
A Dmptbase.c2728 sz = ioc->alloc_sz; in mpt_adapter_disable()
2730 ioc->name, ioc->alloc, ioc->alloc_sz)); in mpt_adapter_disable()
4502 ioc->alloc_sz = total_size; in PrimeIocFifos()
4603 sz = ioc->alloc_sz; in PrimeIocFifos()
/linux/drivers/staging/rtl8723bs/core/
A Drtw_xmit.c251 pxmitbuf->alloc_sz = MAX_CMDBUF_SZ+XMITBUF_ALIGN_SZ; in _rtw_init_xmit_priv()

Completed in 39 milliseconds