Home
last modified time | relevance | path

Searched refs:unsendBox (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dspunge_stack.c342 FillpQueue *unsendBox = FILLP_NULL_PTR; in SpungeConnCheckUnsendBoxEmpty() local
348 unsendBox = conn->pcb->fpcb.send.unsendBox; in SpungeConnCheckUnsendBoxEmpty()
350 if (unsendBox == FILLP_NULL_PTR) { in SpungeConnCheckUnsendBoxEmpty()
354 con = unsendBox->ring.cons.head + 1; in SpungeConnCheckUnsendBoxEmpty()
355 prod = unsendBox->ring.prod.tail; in SpungeConnCheckUnsendBoxEmpty()
358 data = unsendBox->ring.ringCache[con % unsendBox->ring.size]; in SpungeConnCheckUnsendBoxEmpty()
512 return inst->unsendBox[0]; in SpungeAllocUnsendBox()
H A Dspunge_core.c323 inst->unsendBox[i] = FillpQueueCreate("socket_send_box", FILLP_INST_UNSEND_BOX_SIZE, SPUNGE_ALLOC_TYPE_MALLOC); in SpungeInstSendInit()
324 if (inst->unsendBox[i] == FILLP_NULL_PTR) { in SpungeInstSendInit()
325 FILLP_LOGERR("inst->unsendBox[%d] is NULL", i); in SpungeInstSendInit()
329 FillpQueueSetConsSafe(inst->unsendBox[i], FILLP_FALSE); in SpungeInstSendInit()
330 FillpQueueSetProdSafe(inst->unsendBox[i], FILLP_TRUE); in SpungeInstSendInit()
515 if (inst->unsendBox[j] != FILLP_NULL_PTR) { in SpungeFreeInstSendRecv()
516 FillpQueueDestroy(inst->unsendBox[j]); in SpungeFreeInstSendRecv()
517 inst->unsendBox[j] = FILLP_NULL_PTR; in SpungeFreeInstSendRecv()
924 FillpQueue *boxQueue = inst->unsendBox[0]; in SpungeLoopCheckUnsendBox()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dspunge.h101 FillpQueue *unsendBox[FILLP_INST_UNSEND_BOX_NUM]; member
H A Dsockets.h157 #define SOCK_GET_SENDBOX(_sock) ((_sock)->netconn->pcb->fpcb.send.unsendBox)
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_pcb.h130 FillpQueue *unsendBox; /* data pkt wait to send APP will fill pkt to it */ member
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_pcb.c162 pcb->unsendBox = FILLP_NULL_PTR; in InitSendPcbSimplePar()
244 pcb->unsendBox = SpungeAllocUnsendBox(fpcb->pcbInst); in InitItemPool()
245 if (pcb->unsendBox == FILLP_NULL_PTR) { in InitItemPool()
247 FILLP_LOGERR("Can't get pcb unsendBox"); in InitItemPool()

Completed in 7 milliseconds