Searched refs:thread_context (Results 1 – 5 of 5) sorted by relevance
| /mOS-networking-stack/samples/epserver/ |
| H A D | epserver-mp.c | 67 struct thread_context struct 113 CloseConnection(struct thread_context *ctx, int sockid, struct server_vars *sv) in CloseConnection() 120 SendUntilAvailable(struct thread_context *ctx, int sockid, struct server_vars *sv) in SendUntilAvailable() 173 HandleReadEvent(struct thread_context *ctx, int sockid, struct server_vars *sv) in HandleReadEvent() 270 AcceptConnection(struct thread_context *ctx, int listener) in AcceptConnection() 305 CreateListeningSocket(struct thread_context *ctx) in CreateListeningSocket() 434 struct thread_context *ctx; in InitServer() 436 ctx = (struct thread_context *)calloc(1, sizeof(struct thread_context)); in InitServer() 473 struct thread_context *ctx = (*app_ctx); in RunServer()
|
| H A D | epserver.c | 68 struct thread_context struct 114 CloseConnection(struct thread_context *ctx, int sockid, struct server_vars *sv) in CloseConnection() 121 SendUntilAvailable(struct thread_context *ctx, int sockid, struct server_vars *sv) in SendUntilAvailable() 174 HandleReadEvent(struct thread_context *ctx, int sockid, struct server_vars *sv) in HandleReadEvent() 271 AcceptConnection(struct thread_context *ctx, int listener) in AcceptConnection() 306 CreateListeningSocket(struct thread_context *ctx) in CreateListeningSocket() 435 struct thread_context *ctx; in InitServer() 437 ctx = (struct thread_context *)calloc(1, sizeof(struct thread_context)); in InitServer() 474 struct thread_context *ctx = (*app_ctx); in RunServer()
|
| /mOS-networking-stack/samples/simple_firewall/ |
| H A D | simple_firewall.c | 71 struct thread_context struct 375 CreateAndInitThreadContext(struct thread_context* ctx, in CreateAndInitThreadContext() 407 WaitAndCleanupThreadContext(struct thread_context* ctx) in WaitAndCleanupThreadContext() 426 struct thread_context ctx[MAX_CPUS] = {{0}}; /* init all fields to 0 */ in main()
|
| /mOS-networking-stack/samples/epwget/ |
| H A D | epwget.c | 92 struct thread_context struct 112 typedef struct thread_context* thread_context_t; argument 132 static struct thread_context *g_ctx[MAX_CPUS] = {0}; 140 ctx = (thread_context_t)calloc(1, sizeof(struct thread_context)); in CreateContext()
|
| H A D | epwget-mp.c | 91 struct thread_context struct 111 typedef struct thread_context* thread_context_t; argument 131 static struct thread_context *g_ctx[MAX_CPUS] = {0}; 139 ctx = (thread_context_t)calloc(1, sizeof(struct thread_context)); in CreateContext()
|