Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 19 of 19) sorted by relevance

/mOS-networking-stack/core/src/
H A Dlogger.c17 EnqueueFreeBuffer(log_thread_context *ctx, log_buff *free_bp) in EnqueueFreeBuffer()
29 DequeueFreeBuffer(log_thread_context *ctx) in DequeueFreeBuffer()
45 EnqueueJobBuffer(log_thread_context *ctx, log_buff *working_bp) in EnqueueJobBuffer()
59 DequeueJobBuffer(log_thread_context *ctx) in DequeueJobBuffer()
77 InitLogThreadContext(struct log_thread_context *ctx, int cpu) in InitLogThreadContext()
114 log_thread_context* ctx = (log_thread_context *) arg; in ThreadLogMain() local
H A Dcore.c135 AttachDevice(struct mtcp_thread_context* ctx) in AttachDevice()
852 RunMainLoop(struct mtcp_thread_context *ctx) in RunMainLoop()
1079 InitializeMTCPManager(struct mtcp_thread_context* ctx) in InitializeMTCPManager()
1288 struct mtcp_thread_context *ctx; in MTCPRunThread() local
1471 struct mtcp_thread_context *ctx = g_pctx[mctx->cpu]; in mtcp_destroy_context() local
1487 struct mtcp_thread_context *ctx = g_pctx[mctx->cpu]; in mtcp_free_context() local
H A Dnetmap_module.c256 netmap_dev_ioctl(struct mtcp_thread_context *ctx, int nif, int cmd, void *argp) in netmap_dev_ioctl()
H A Ddpdk_module.c535 dpdk_dev_ioctl(struct mtcp_thread_context *ctx, int nif, int cmd, void *argp) in dpdk_dev_ioctl()
/mOS-networking-stack/samples/epwget/
H A Depwget-mp.c137 thread_context_t ctx; in CreateContext() local
155 DestroyContext(thread_context_t ctx) in DestroyContext()
162 CreateConnection(thread_context_t ctx) in CreateConnection()
212 CloseConnection(thread_context_t ctx, int sockid) in CloseConnection()
228 SendHTTPRequest(thread_context_t ctx, int sockid, struct wget_vars *wv) in SendHTTPRequest()
288 DownloadNext(thread_context_t ctx, int sockid, struct wget_vars *wv) in DownloadNext()
333 DownloadComplete(thread_context_t ctx, int sockid, struct wget_vars *wv) in DownloadComplete()
371 HandleReadEvent(thread_context_t ctx, int sockid, struct wget_vars *wv) in HandleReadEvent()
608 thread_context_t ctx; in InitWget() local
670 thread_context_t ctx = *app_ctx; in RunWget() local
H A Depwget.c138 thread_context_t ctx; in CreateContext() local
156 DestroyContext(thread_context_t ctx) in DestroyContext()
163 CreateConnection(thread_context_t ctx) in CreateConnection()
213 CloseConnection(thread_context_t ctx, int sockid) in CloseConnection()
229 SendHTTPRequest(thread_context_t ctx, int sockid, struct wget_vars *wv) in SendHTTPRequest()
289 DownloadNext(thread_context_t ctx, int sockid, struct wget_vars *wv) in DownloadNext()
334 DownloadComplete(thread_context_t ctx, int sockid, struct wget_vars *wv) in DownloadComplete()
372 HandleReadEvent(thread_context_t ctx, int sockid, struct wget_vars *wv) in HandleReadEvent()
610 thread_context_t ctx; in InitWget() local
672 thread_context_t ctx = *app_ctx; in RunWget() local
/mOS-networking-stack/samples/epserver/
H A Depserver-mp.c113 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() local
473 struct thread_context *ctx = (*app_ctx); in RunServer() local
H A Depserver.c114 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() local
474 struct thread_context *ctx = (*app_ctx); in RunServer() local
/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dconfigparser.y14 static void configparser_push(config_t *ctx, data_config *dc, int isnew) { in configparser_push()
30 static data_config *configparser_pop(config_t *ctx) { in configparser_pop()
37 static data_unset *configparser_get_variable(config_t *ctx, const buffer *key) { in configparser_get_variable()
H A Dconfigparser.c17 static void configparser_push(config_t *ctx, data_config *dc, int isnew) { in configparser_push()
33 static data_config *configparser_pop(config_t *ctx) { in configparser_pop()
40 static data_unset *configparser_get_variable(config_t *ctx, const buffer *key) { in configparser_get_variable()
H A Dfdevent.c132 fdevent_register(fdevents *ev, int fd, fdevent_handler handler, void *ctx) in fdevent_register()
H A Dfdevent.h93 void *ctx; member
H A Dhttp_auth.c462 li_MD5_CTX ctx, ctx1; in apr_md5_encode() local
H A Dmod_cgi.c623 static handler_t cgi_handle_fdevent(server *srv, void *ctx, int revents) { in cgi_handle_fdevent()
H A Dmod_proxy.c957 static handler_t proxy_handle_fdevent(server *srv, void *ctx, int revents) { in proxy_handle_fdevent()
H A Dmod_scgi.c2489 static handler_t scgi_handle_fdevent(server *srv, void *ctx, int revents) { in scgi_handle_fdevent()
H A Dmod_fastcgi.c3226 static handler_t fcgi_handle_fdevent(server *srv, void *ctx, int revents) { in fcgi_handle_fdevent()
/mOS-networking-stack/samples/simple_firewall/
H A Dsimple_firewall.c375 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() local
/mOS-networking-stack/core/src/include/
H A Dmtcp.h229 struct mtcp_thread_context* ctx; member