Home
last modified time | relevance | path

Searched refs:DympoolType (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Ddympool.h61 } DympoolType; typedef
63 DympoolType *DympCreatePool(int initSize, int maxSize, int itemSize, FILLP_BOOL autoExpand,
67 void DympDestroyPool(DympoolType *pool);
68 void DympSetConsSafe(DympoolType *pool, FILLP_BOOL safe);
69 void DympSetProdSafe(DympoolType *pool, FILLP_BOOL safe);
70 int DympAskMoreMemory(DympoolType *pool, int stepSize, int throttleGrow);
71 int DympAlloc(DympoolType *pool, void **data, int throttleGrow);
73 #define DYMP_GET_CUR_SIZE(_pool) (((DympoolType *)(_pool))->currentSize)
H A Dspunge.h95 DympoolType *msgPool;
138 DympoolType *netPool;
140 DympoolType *epitemPool; /* epitem */
141 DympoolType *eventpollPool; /* eventpoll */
H A Dspunge_message.h96 void SpungeMsgPoolDestroy(DympoolType *msgPool);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Ddympool.c21 DympoolType *DympCreatePool(int initSize, int maxSize, int itemSize, FILLP_BOOL autoExpand, in DympCreatePool()
24 DympoolType *pool = FILLP_NULL_PTR; in DympCreatePool()
30 pool = SpungeAlloc(1, sizeof(DympoolType), SPUNGE_ALLOC_TYPE_MALLOC); in DympCreatePool()
75 void DympDestroyPool(DympoolType *pool) in DympDestroyPool()
110 void DympSetConsSafe(DympoolType *pool, FILLP_BOOL safe) in DympSetConsSafe()
115 void DympSetProdSafe(DympoolType *pool, FILLP_BOOL safe) in DympSetProdSafe()
120 static int DympExpandMemory(DympoolType *pool, int stepSizeWork) in DympExpandMemory()
176 int DympAskMoreMemory(DympoolType *pool, int stepSize, int throttleGrow) in DympAskMoreMemory()
204 int DympAlloc(DympoolType *pool, void **data, int throttleGrow) in DympAlloc()
H A Dspunge_message.c905 void SpungeMsgPoolDestroy(DympoolType *msgPool) in SpungeMsgPoolDestroy()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dfillp_buf_item.c46 DympSetConsSafe((DympoolType *)pool, consSafe); in FillbufItemPoolSetConflictSafe()
47 DympSetProdSafe((DympoolType *)pool, prodSafe); in FillbufItemPoolSetConflictSafe()
52 return DympAlloc((DympoolType *)pool, data, throttleGrow); in FillpMallocBufItem()
57 return DympAskMoreMemory((DympoolType *)pool, stepSize, throttleGrow); in FillpAskMoreBufItem()
81 DympDestroyPool((DympoolType *)pool); in FillpDestroyBufItemPool()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_pcb.c267 initCacheSize = DYMP_GET_CUR_SIZE((DympoolType *)pcb->itemPool); in FillpInitSendpcb()