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

/vbox/src/VBox/Devices/Network/lwip-new/vbox/
H A Dsys_arch.c51 /** Maximum number of mbox entries needed for reasonable performance. */
65 /** Actual declaration of the mbox type. */
175 * Create new mbox.
180 struct sys_mbox *mbox = NULL; local
184 mbox = RTMemAllocZ(sizeof(struct sys_mbox));
185 Assert(mbox != NULL);
186 if (!mbox)
188 rc = LWIPMutexCreate(&mbox->mutex);
192 RTMemFree(mbox);
195 rc = RTSemEventMultiCreate(&mbox
225 struct sys_mbox *mbox = NULL; local
242 struct sys_mbox *mbox = NULL; local
286 struct sys_mbox *mbox = NULL; local
328 struct sys_mbox *mbox = NULL; local
394 struct sys_mbox *mbox = NULL; local
430 struct sys_mbox *mbox = NULL; local
439 struct sys_mbox *mbox = NULL; local
[all...]
/vbox/src/VBox/Devices/Network/lwip/vbox/
H A Dsys_arch.c51 /** Maximum number of mbox entries needed for reasonable performance. */
63 /** Actual declaration of the mbox type. */
168 * Create new mbox.
173 struct sys_mbox *mbox; local
175 mbox = RTMemAllocZ(sizeof(*mbox));
176 Assert(mbox != NULL);
177 if (!mbox)
178 return mbox;
179 rc = LWIPMutexCreate(&mbox
212 sys_mbox_free(sys_mbox_t mbox) argument
224 sys_mbox_post(sys_mbox_t mbox, void *msg) argument
261 sys_arch_mbox_fetch(sys_mbox_t mbox, void **msg, u32_t timeout) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/vbox/include/arch/
H A Dsys_arch.h10 /** NULL value for a mbox. */
20 /** The opaque type of a mbox. */
31 /** Check if an mbox is valid/allocated: return 1 for valid, 0 for invalid */
32 int sys_mbox_valid(sys_mbox_t *mbox);
33 /** Set an mbox invalid so that sys_mbox_valid returns 0 */
34 void sys_mbox_set_invalid(sys_mbox_t *mbox);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dsys.h170 /** Create a new mbox of specified size
171 * @param mbox pointer to the mbox to create
172 * @param size (miminum) number of messages in this mbox
174 err_t sys_mbox_new(sys_mbox_t *mbox, int size);
175 /** Post a message to an mbox - may not fail
177 * @param mbox mbox to posts the message
179 void sys_mbox_post(sys_mbox_t *mbox, void *msg);
180 /** Try to post a message to an mbox
[all...]
H A Dtimers.h91 void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
H A Dstats.h110 struct stats_syselem mbox; member in struct:stats_sys
/vbox/src/VBox/Devices/Network/lwip/src/api/
H A Dtcpip.c49 static sys_mbox_t mbox; variable
117 sys_mbox_fetch(mbox, (void *)&msg);
164 sys_mbox_post(mbox, msg);
181 sys_mbox_post(mbox, msg);
196 sys_mbox_post(mbox, msg);
209 sys_mbox_post(mbox, msg);
218 mbox = sys_mbox_new();
H A Dapi_msg.c186 if (conn->mbox != SYS_MBOX_NULL) {
187 sys_mbox_post(conn->mbox, NULL);
216 sys_mbox_t mbox; local
226 mbox = conn->acceptmbox;
236 newconn->mbox = sys_mbox_new();
237 if (newconn->mbox == SYS_MBOX_NULL) {
245 sys_mbox_free(newconn->mbox);
266 sys_mbox_post(mbox, newconn);
278 sys_mbox_post(msg->conn->mbox, NULL);
333 sys_mbox_post(msg->conn->mbox, NUL
[all...]
H A Dapi_lib.c212 if ((conn->mbox = sys_mbox_new()) == SYS_MBOX_NULL) {
237 sys_mbox_fetch(conn->mbox, NULL);
280 sys_mbox_fetch(conn->mbox, NULL);
308 sys_mbox_free(conn->mbox);
309 conn->mbox = SYS_MBOX_NULL;
399 sys_mbox_fetch(conn->mbox, NULL);
430 sys_mbox_fetch(conn->mbox, NULL);
450 sys_mbox_fetch(conn->mbox, NULL);
478 sys_mbox_fetch(conn->mbox, NULL);
577 sys_mbox_fetch(conn->mbox, NUL
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dtcpip.c56 static sys_mbox_t mbox; variable
89 sys_timeouts_mbox_fetch(&mbox, (void **)&msg);
200 if (!sys_mbox_valid(&mbox)) {
211 if (sys_mbox_trypost(&mbox, msg) != ERR_OK) {
235 if (sys_mbox_valid(&mbox)) {
245 sys_mbox_post(&mbox, msg);
247 if (sys_mbox_trypost(&mbox, msg) != ERR_OK) {
271 if (sys_mbox_valid(&mbox)) {
281 sys_mbox_post(&mbox, msg);
300 if (sys_mbox_valid(&mbox)) {
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dsys.h120 void sys_mbox_post(sys_mbox_t mbox, void *msg);
121 u32_t sys_arch_mbox_fetch(sys_mbox_t mbox, void **msg, u32_t timeout);
122 void sys_mbox_free(sys_mbox_t mbox);
123 void sys_mbox_fetch(sys_mbox_t mbox, void **msg);
H A Dapi_msg.h80 sys_mbox_t mbox; member in union:api_msg_msg::__anon14881
H A Dstats.h84 struct stats_syselem mbox; member in struct:stats_sys
H A Dapi.h90 sys_mbox_t mbox; member in struct:netconn
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dstats.c148 LWIP_PLATFORM_DIAG(("mbox.used: %"U32_F"\n\t", (u32_t)sys->mbox.used));
149 LWIP_PLATFORM_DIAG(("mbox.max: %"U32_F"\n\t", (u32_t)sys->mbox.max));
150 LWIP_PLATFORM_DIAG(("mbox.err: %"U32_F"\n\t", (u32_t)sys->mbox.err));
H A Dtimers.c535 * Wait (forever) for a message to arrive in an mbox.
538 * @param mbox the mbox to fetch the message from
542 sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg) argument
551 time_needed = sys_arch_mbox_fetch(mbox, msg, 0);
554 time_needed = sys_arch_mbox_fetch(mbox, msg, next_timeout->time);
583 /* We try again to fetch a message from the mbox. */
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dsys.c49 sys_mbox_fetch(sys_mbox_t mbox, void **msg) argument
62 sys_arch_mbox_fetch(mbox, msg, 0);
65 time = sys_arch_mbox_fetch(mbox, msg, timeouts->next->time);
84 /* We try again to fetch a message from the mbox. */
140 /* We try again to fetch a message from the mbox. */
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/tg3/
H A Dtg3_hw.c1825 u32 mbox = MAILBOX_SNDNIC_PROD_IDX_0 + TG3_64BIT_REG_LOW; local
1827 tw32_tx_mbox(mbox + i * 8, 0);

Completed in 68 milliseconds