Searched refs:DympoolType (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | dympool.h | 61 } 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 D | spunge.h | 95 DympoolType *msgPool; 138 DympoolType *netPool; 140 DympoolType *epitemPool; /* epitem */ 141 DympoolType *eventpollPool; /* eventpoll */
|
H A D | spunge_message.h | 96 void SpungeMsgPoolDestroy(DympoolType *msgPool);
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | dympool.c | 21 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 D | spunge_message.c | 905 void SpungeMsgPoolDestroy(DympoolType *msgPool) in SpungeMsgPoolDestroy()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | fillp_buf_item.c | 46 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 D | fillp_pcb.c | 267 initCacheSize = DYMP_GET_CUR_SIZE((DympoolType *)pcb->itemPool); in FillpInitSendpcb()
|