Searched refs:mbox (Results 1 - 8 of 8) sorted by relevance

/seL4-camkes-master/projects/lwip/test/unit/arch/
H A Dsys_arch.h50 #define sys_mbox_valid(mbox) ((mbox != NULL) && ((mbox)->sem != NULL) && ((mbox)->sem != (void*)-1))
51 #define sys_mbox_valid_val(mbox) (((mbox).sem != NULL) && ((mbox).sem != (void*)-1))
60 /* to implement doing something while blocking on an mbox or semaphore:
H A Dsys_arch.c209 sys_mbox_new(sys_mbox_t *mbox, int size) argument
212 LWIP_ASSERT("mbox != NULL", mbox != NULL);
217 mbox->head = mbox->tail = 0;
218 mbox->sem = mbox; /* just point to something for sys_mbox_valid() */
219 mbox->q_mem = (void**)malloc(sizeof(void*)*mboxsize);
220 mbox->size = mboxsize;
221 mbox
228 sys_mbox_free(sys_mbox_t *mbox) argument
241 sys_mbox_set_invalid(sys_mbox_t *mbox) argument
[all...]
/seL4-camkes-master/projects/lwip/src/include/lwip/
H A Dsys.h281 * @param mbox pointer to the mbox to create
282 * @param size (minimum) number of messages in this mbox
285 err_t sys_mbox_new(sys_mbox_t *mbox, int size);
288 * Post a message to an mbox - may not fail
291 * @param mbox mbox to posts the message
294 void sys_mbox_post(sys_mbox_t *mbox, void *msg);
297 * Try to post a message to an mbox - may fail if full.
301 * @param mbox mbo
[all...]
H A Dstats.h120 struct stats_syselem mbox; member in struct:stats_sys
/seL4-camkes-master/projects/lwip/src/core/
H A Dstats.c136 LWIP_PLATFORM_DIAG(("mbox.used: %"STAT_COUNTER_F"\n\t", sys->mbox.used));
137 LWIP_PLATFORM_DIAG(("mbox.max: %"STAT_COUNTER_F"\n\t", sys->mbox.max));
138 LWIP_PLATFORM_DIAG(("mbox.err: %"STAT_COUNTER_F"\n", sys->mbox.err));
/seL4-camkes-master/projects/lwip/src/api/
H A Dtcpip.c72 #define TCPIP_MBOX_FETCH(mbox, msg) sys_mbox_fetch(mbox, msg)
75 #define TCPIP_MBOX_FETCH(mbox, msg) tcpip_timeouts_mbox_fetch(mbox, msg)
77 * Wait (forever) for a message to arrive in an mbox.
80 * @param mbox the mbox to fetch the message from
84 tcpip_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg) argument
94 sys_arch_mbox_fetch(mbox, msg, 0);
99 /* We try again to fetch a message from the mbox
[all...]
H A Dapi_msg.c69 #define NETCONN_MBOX_VALID(conn, mbox) (sys_mbox_valid(mbox) && ((conn->flags & NETCONN_FLAG_MBOXINVALID) == 0))
71 #define NETCONN_MBOX_VALID(conn, mbox) sys_mbox_valid(mbox)
113 /** Translate an error to a unique void* passed via an mbox */
831 /* This runs when mbox and netconn are marked as closed,
897 /* Prevent new calls/threads from reading from the mbox */
/seL4-camkes-master/kernel/manual/parts/
H A Dobjects.tex182 % here, and that's ugly. But just suppressing hyphenation for it (with \mbox or

Completed in 98 milliseconds