/vbox/src/VBox/Devices/Network/lwip-new/vbox/ |
H A D | sys_arch.c | 51 /** 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 D | sys_arch.c | 51 /** 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 D | sys_arch.h | 10 /** 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 D | sys.h | 170 /** 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 D | timers.h | 91 void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
|
H A D | stats.h | 110 struct stats_syselem mbox; member in struct:stats_sys
|
/vbox/src/VBox/Devices/Network/lwip/src/api/ |
H A D | tcpip.c | 49 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 D | api_msg.c | 186 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 D | api_lib.c | 212 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 D | tcpip.c | 56 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 D | sys.h | 120 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 D | api_msg.h | 80 sys_mbox_t mbox; member in union:api_msg_msg::__anon14881
|
H A D | stats.h | 84 struct stats_syselem mbox; member in struct:stats_sys
|
H A D | api.h | 90 sys_mbox_t mbox; member in struct:netconn
|
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ |
H A D | stats.c | 148 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 D | timers.c | 535 * 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 D | sys.c | 49 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 D | tg3_hw.c | 1825 u32 mbox = MAILBOX_SNDNIC_PROD_IDX_0 + TG3_64BIT_REG_LOW; local 1827 tw32_tx_mbox(mbox + i * 8, 0);
|