Home
last modified time | relevance | path

Searched refs:XX_MallocSmart (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/ncsw/inc/
H A Dxx_ext.h71 #define XX_MallocSmart(sz, memt, al) \ macro
99 void * XX_MallocSmart(uint32_t size, int memPartitionId, uint32_t alignment);
/freebsd/sys/dev/dpaa/
H A Dif_dtsec_im.c101 buffer = XX_MallocSmart(FM_PORT_BUFFER_SIZE, 0, sizeof(void *)); in dtsec_im_fm_port_rx_get_buf()
243 buffer = XX_MallocSmart(length, 0, sizeof(void *)); in dtsec_im_if_start_locked()
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_prs.c143 p_TmpCode = (uint32_t *)XX_MallocSmart(ROUND_UP(sizeof(swPrsPatch),4), 0, sizeof(uint32_t)); in PrsInit()
377 p_TmpCode = (uint32_t *)XX_MallocSmart(ROUND_UP(p_SwPrs->size,4), 0, sizeof(uint32_t)); in FM_PCD_PrsLoadSw()
H A Dfm_manip.c1982 PTR_TO_UINT(XX_MallocSmart((uint32_t)(size * 64), p_Manip->reassmParams.dataMemId, 64)); in CreateReassCommonTable()
2147 … PTR_TO_UINT(XX_MallocSmart(autoLearnHashTblSize, p_Manip->reassmParams.dataMemId, setSize)); in CreateReassTable()
2172 … PTR_TO_UINT(XX_MallocSmart((uint32_t)(numOfSets * 4), p_Manip->reassmParams.dataMemId, 4)); in CreateReassTable()
3564 p_Manip->reassmParams.ip.h_Ipv4Ad = (t_Handle)XX_MallocSmart( in SetIpv4ReassmManip()
3585 p_Manip->reassmParams.ip.h_Ipv6Ad = (t_Handle)XX_MallocSmart( in SetIpv6ReassmManip()
4103 p_Manip->reassmParams.capwap.h_Ad = (t_Handle)XX_MallocSmart( in SetCapwapReassmManip()
/freebsd/sys/contrib/ncsw/etc/
H A Dncsw_mem.c484 XX_MallocSmart((uint32_t)((num * blockSize) + alignment), memPartitionId, 1);
518 XX_MallocSmart((uint32_t)(blockSize + alignment), memPartitionId, 1);
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port_im.c327 (t_FmImBd *)XX_MallocSmart((uint32_t)(sizeof(t_FmImBd)*p_FmPort->im.bdRingSize), in FmPortImInit()
405 …p_FmPort->im.p_BdRing = (t_FmImBd *)XX_MallocSmart((uint32_t)(sizeof(t_FmImBd)*p_FmPort->im.bdRing… in FmPortImInit()
/freebsd/sys/contrib/ncsw/user/env/
H A Dxx.c210 XX_MallocSmart(uint32_t size, int memPartitionId, uint32_t alignment) in XX_MallocSmart() function
/freebsd/sys/contrib/ncsw/Peripherals/FM/HC/
H A Dhc.c152 … p_FmHc->p_Frm[i] = (t_HcFrame *)XX_MallocSmart((sizeof(t_HcFrame) + (16 - (sizeof(t_FmHc) % 16))), in FillBufPool()
156 p_FmHc->p_Frm[i] = (t_HcFrame *)XX_MallocSmart(sizeof(t_HcFrame), in FillBufPool()
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dqm.c786 p_Qm->p_FqdBase = XX_MallocSmart(dsSize, (int)p_QmDriverParams->fqdMemPartitionId, dsSize); in QM_Init()
813 … p_Qm->p_PfdrBase = XX_MallocSmart(dsSize, (int)p_QmDriverParams->pfdrMemPartitionId, dsSize); in QM_Init()
H A Dqm_portal_fqr.c980 p_Fq = (struct qman_fq *)XX_MallocSmart(sizeof(struct qman_fq), 0, 64); in qm_new_fq()
1893 p_QmFqr = (t_QmFqr *)XX_MallocSmart(sizeof(t_QmFqr), 0, 64); in QM_FQR_Create()
1927 p_Fq = (struct qman_fq *)XX_MallocSmart(sizeof(struct qman_fq), 0, 64); in QM_FQR_Create()
/freebsd/sys/contrib/ncsw/Peripherals/BM/
H A Dbm.c546 …p_Bm->p_FbprBase = XX_MallocSmart(dsSize, (int)p_Bm->p_BmDriverParams->fbprMemPartitionId, dsSize); in BM_Init()