Home
last modified time | relevance | path

Searched refs:SpungeAlloc (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dspunge_mem.h29 void *SpungeAlloc(size_t blockNum, size_t blockSize, FILLP_INT allocType);
H A Dqueue.h100 q = (FillpQueue *)SpungeAlloc(1, FillpQueueCalMemSize(size), allocType); in FillpQueueCreate()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dspunge_mem.c22 void *SpungeAlloc(size_t blockNum, size_t blockSize, FILLP_INT allocType) in SpungeAlloc() function
H A Ddympool.c30 pool = SpungeAlloc(1, sizeof(DympoolType), SPUNGE_ALLOC_TYPE_MALLOC); in DympCreatePool()
133 …mem = (DympMemory *)SpungeAlloc(1, (FILLP_SIZE_T)((FILLP_UINT)askSize), (FILLP_INT)SPUNGE_ALLOC_TY… in DympExpandMemory()
H A Dsocket_common.c228 sock = (struct FtSocket *)SpungeAlloc(1, sizeof(struct FtSocket), SPUNGE_ALLOC_TYPE_CALLOC); in SpungeAllocFtSock()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_flow_control_alg0.c87 alg = SpungeAlloc(1, sizeof(struct FillpFlowControlAlg0), SPUNGE_ALLOC_TYPE_CALLOC); in FillpAlg0FcInit()
92 alg->historyMaxRecvRate.rateSample = SpungeAlloc(FILLP_FC0_PROBE_HISTORY_PACK_MAX_RATE_NUM, in FillpAlg0FcInit()
H A Dfillp_pcb.c65 … (struct Hlist *)SpungeAlloc(pcb->unackList.size, sizeof(struct Hlist), SPUNGE_ALLOC_TYPE_CALLOC); in FillpInitSendpcbUnackList()
101 … (struct Hlist *)SpungeAlloc(pcb->pktSeqMap.size, sizeof(struct Hlist), SPUNGE_ALLOC_TYPE_CALLOC); in FillpInitSendpcbPktSeqMap()
187 …pcb->retryNackQueue = SpungeAlloc(fpcb->statistics.nack.historyNackQueueLen, sizeof(struct FillpPk… in InitSimplePcbPar()
H A Dfillp_common.c477 nack = SpungeAlloc(1, sizeof(struct FillpPktNack), SPUNGE_ALLOC_TYPE_CALLOC); in FillpSendNack()
516 … (struct FillpNackNode *)SpungeAlloc(1, sizeof(struct FillpNackNode), SPUNGE_ALLOC_TYPE_CALLOC); in FillpAddNodeAtDelayNackListTail()
575 …newNackNode = (struct FillpNackNode *)SpungeAlloc(1, sizeof(struct FillpNackNode), SPUNGE_ALLOC_TY… in FillpCheckAndUpdateDelayNackList()
H A Dfillp_frame.c53 frameItem = SpungeAlloc(1, sizeof(struct FillpFrameItem), SPUNGE_ALLOC_TYPE_CALLOC); in FillpFrameItemAlloc()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dspunge_core.c190 …table = (struct FtSocketTable *)SpungeAlloc(1, sizeof(struct FtSocketTable), SPUNGE_ALLOC_TYPE_CAL… in SpungeCreateSockTable()
207 …(struct FtSocket **)SpungeAlloc(maxSock, (FILLP_SIZE_T)sizeof(struct FtSocket *), SPUNGE_ALLOC_TYP… in SpungeCreateSockTable()
307SpungeAlloc(FILLP_UNSEND_BOX_LOOP_CHECK_BURST, sizeof(struct FillpPcbItem *), SPUNGE_ALLOC_TYPE_CA… in SpungeInstSendInit()
314 …inst->tmpBuf[i] = SpungeAlloc(1, (sizeof(FILLP_CHAR) * FILLP_MAX_PKT_SIZE), SPUNGE_ALLOC_TYPE_MALL… in SpungeInstSendInit()
617 …g_spunge->instPool = (struct SpungeInstance *)SpungeAlloc(g_spunge->insNum, sizeof(struct SpungeIn… in FtInitGlobalInstPool()
767 g_spunge = (struct Spunge *)SpungeAlloc(1, sizeof(struct Spunge), SPUNGE_ALLOC_TYPE_MALLOC); in FtInit()
H A Dsysio_udp.c291 SysIoUdpSock *udpSock = (SysIoUdpSock *)SpungeAlloc(1, sockSize, SPUNGE_ALLOC_TYPE_CALLOC); in SysioCreateSocketUdp()
316 udpSock->pcbHash = (struct SpungePcbhashbucket *)SpungeAlloc(UDP_HASH_TABLE_SIZE, in SysioCreateSocketUdp()
H A Dpcb.c208 …struct SpungePcb *pcb = (struct SpungePcb *)SpungeAlloc(1, sizeof(struct SpungePcb), SPUNGE_ALLOC_… in SpungePcbNew()
H A Dspunge_stack.c34 …osSock = (struct SockOsSocket *)SpungeAlloc(1, sizeof(struct SockOsSocket), SPUNGE_ALLOC_TYPE_CALL… in SpungeAllocSystemSocket()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_stack_app_config_in.c681 … (struct NackDelayCfg *)SpungeAlloc(1, sizeof(struct NackDelayCfg), SPUNGE_ALLOC_TYPE_MALLOC); in FtAppConfigInitNackDelayCfg()