Home
last modified time | relevance | path

Searched refs:alloc_sz (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcommon.h45 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H 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()
/kernel/linux/linux-6.6/tools/net/ynl/generated/
H A Dnetdev-user.c157 yds.alloc_sz = sizeof(struct netdev_dev_get_list); in netdev_dev_get_dump()
183 .alloc_sz = sizeof(struct netdev_dev_get_ntf),
189 .alloc_sz = sizeof(struct netdev_dev_get_ntf),
195 .alloc_sz = sizeof(struct netdev_dev_get_ntf),
H A Dethtool-user.c1659 yds.alloc_sz = sizeof(struct ethtool_strset_get_list); in ethtool_strset_get_dump()
1806 yds.alloc_sz = sizeof(struct ethtool_linkinfo_get_list); in ethtool_linkinfo_get_dump()
2026 yds.alloc_sz = sizeof(struct ethtool_linkmodes_get_list); in ethtool_linkmodes_get_dump()
2231 yds.alloc_sz = sizeof(struct ethtool_linkstate_get_list); in ethtool_linkstate_get_dump()
2360 yds.alloc_sz = sizeof(struct ethtool_debug_get_list); in ethtool_debug_get_dump()
2537 yds.alloc_sz = sizeof(struct ethtool_wol_get_list); in ethtool_wol_get_dump()
2740 yds.alloc_sz = sizeof(struct ethtool_features_get_list); in ethtool_features_get_dump()
3006 yds.alloc_sz = sizeof(struct ethtool_privflags_get_list); in ethtool_privflags_get_dump()
3237 yds.alloc_sz = sizeof(struct ethtool_rings_get_list); in ethtool_rings_get_dump()
3458 yds.alloc_sz in ethtool_channels_get_dump()
[all...]
H A Ddevlink-user.c554 yds.alloc_sz = sizeof(struct devlink_get_list); in devlink_get_dump()
735 yds.alloc_sz = sizeof(struct devlink_port_get_rsp_list); in devlink_port_get_dump()
877 yds.alloc_sz = sizeof(struct devlink_sb_get_list); in devlink_sb_get_dump()
1027 yds.alloc_sz = sizeof(struct devlink_sb_pool_get_list); in devlink_sb_pool_get_dump()
1188 yds.alloc_sz = sizeof(struct devlink_sb_port_pool_get_list); in devlink_sb_port_pool_get_dump()
1357 yds.alloc_sz = sizeof(struct devlink_sb_tc_pool_bind_get_list); in devlink_sb_tc_pool_bind_get_dump()
1509 yds.alloc_sz = sizeof(struct devlink_param_get_list); in devlink_param_get_dump()
1668 yds.alloc_sz = sizeof(struct devlink_region_get_list); in devlink_region_get_dump()
1912 yds.alloc_sz = sizeof(struct devlink_info_get_list); in devlink_info_get_dump()
2070 yds.alloc_sz in devlink_health_reporter_get_dump()
[all...]
H A Dhandshake-user.c320 .alloc_sz = sizeof(struct handshake_accept_ntf),
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/
H 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/libcxgb/
H 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_recv.c244 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local
300 /* modify alloc_sz for recvive crc error packet by thomas 2011-06-02 */ in rtl8723bs_recv_tasklet()
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()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_recv.c230 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local
283 /* modify alloc_sz for recvive crc error packet by thomas 2011-06-02 */ in rtl8723bs_recv_tasklet()
286 alloc_sz = 1664; in rtl8723bs_recv_tasklet()
288 alloc_sz = skb_len + 14; in rtl8723bs_recv_tasklet()
290 alloc_sz = skb_len; in rtl8723bs_recv_tasklet()
293 alloc_sz += 14; in rtl8723bs_recv_tasklet()
296 pkt_copy = rtw_skb_alloc(alloc_sz); in rtl8723bs_recv_tasklet()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c47 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u8 flag) in rtw_os_xmit_resource_alloc() argument
49 if (alloc_sz > 0) { in rtw_os_xmit_resource_alloc()
50 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc()
/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dynl.h217 size_t alloc_sz; member
225 size_t alloc_sz; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
H A Dxmit_osdep.h25 int rtw_os_xmit_resource_alloc(struct xmit_buf *pxmitbuf, u32 alloc_sz);
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c49 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u8 flag) 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
H A Dxmit_osdep.h33 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u8 flag);
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/
H A Dxmit_osdep.h33 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u8 flag);
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
H A Dusb_ops_linux.c37 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local
106 /* modify alloc_sz for recvive crc error packet by thomas 2011-06-02 */ in recvbuf2recvframe()
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()
H A Dxmit_linux.c17 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A Drtl8712_recv.c977 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()
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A Drtl8712_recv.c978 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local
1028 alloc_sz = max_t(u16, tmp_len, 1658); in recvbuf2recvframe()
1030 alloc_sz = tmp_len; in recvbuf2recvframe()
1034 alloc_sz += 6; in recvbuf2recvframe()
1035 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe()
1046 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
/kernel/linux/linux-5.10/drivers/dma/dw-edma/
H A Ddw-edma-core.h75 u32 alloc_sz; member
H A Ddw-edma-core.c317 residue = desc->alloc_sz - desc->xfer_sz; in dw_edma_device_tx_status()
406 desc->alloc_sz += burst->sz; in dw_edma_device_transfer()
/kernel/linux/linux-6.6/drivers/dma/dw-edma/
H A Ddw-edma-core.h70 u32 alloc_sz; member
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptctl.c1017 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()
/kernel/linux/linux-6.6/drivers/message/fusion/
H 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()

Completed in 28 milliseconds

12