Home
last modified time | relevance | path

Searched refs:q_mem (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/test/unit/arch/
Dsys_arch.c219 mbox->q_mem = (void**)malloc(sizeof(void*)*mboxsize); in sys_mbox_new()
223 memset(mbox->q_mem, 0, sizeof(void*)*mboxsize); in sys_mbox_new()
234 LWIP_ASSERT("mbox->q_mem != NULL", mbox->q_mem != NULL); in sys_mbox_free()
236 free(mbox->q_mem); in sys_mbox_free()
237 mbox->q_mem = NULL; in sys_mbox_free()
244 LWIP_ASSERT("mbox->q_mem == NULL", mbox->q_mem == NULL); in sys_mbox_set_invalid()
246 mbox->q_mem = NULL; in sys_mbox_set_invalid()
254 LWIP_ASSERT("q->q_mem != NULL", q->q_mem != NULL); in sys_mbox_post()
260 q->q_mem[q->head] = msg; in sys_mbox_post()
274 LWIP_ASSERT("q->q_mem != NULL", q->q_mem != NULL); in sys_mbox_trypost()
[all …]
Dsys_arch.h43 void** q_mem; member