Searched refs:flags (Results 1 - 25 of 85) sorted by relevance

1234

/tldk/lib/libtle_memtank/
H A Dtle_memtank.h41 * (can be specified by user via flags parameter).
56 /** generic memtank behavior flags */
69 uint32_t flags; /**< behavior flags */ member in struct:tle_memtank_prm
104 /** alloc flags */
112 * Note that depending on *alloc* behavior (flags) some new memory chunks
121 * @param flags
128 uint32_t flags);
134 * Note that depending on *alloc* behavior (flags) some new memory chunks
143 * @param flags
[all...]
H A Dtle_memtank_pub.h103 _fill_free(struct tle_memtank *t, uint32_t num, uint32_t flags) argument
108 k = tle_memtank_chunk_alloc(t, free, RTE_DIM(free), flags);
116 uint32_t flags)
123 if (n != num && flags != 0) {
124 n += tle_memtank_chunk_alloc(t, obj + n, num - n, flags);
128 _fill_free(t, t->min_free, flags);
136 uint32_t flags)
142 tle_memtank_chunk_free(t, obj + n, num - n, flags);
115 tle_memtank_alloc(struct tle_memtank *t, void *obj[], uint32_t num, uint32_t flags) argument
135 tle_memtank_free(struct tle_memtank *t, void * const obj[], uint32_t num, uint32_t flags) argument
H A Dmisc.c102 mchunk_list_dump(FILE *f, struct memtank *mt, uint32_t idx, uint32_t flags) argument
117 if (flags & TLE_MTANK_DUMP_CHUNK_STAT)
121 if (flags & TLE_MTANK_DUMP_CHUNK) {
133 if (flags & TLE_MTANK_DUMP_CHUNK_STAT)
208 tle_memtank_dump(FILE *f, const struct tle_memtank *t, uint32_t flags) argument
224 fprintf(f, "\tflags=%#x,\n", mt->flags);
227 if (flags & TLE_MTANK_DUMP_FREE_STAT) {
234 if (flags & (TLE_MTANK_DUMP_CHUNK | TLE_MTANK_DUMP_CHUNK_STAT)) {
237 mchunk_list_dump(f, mt, MC_FULL, flags);
241 mchunk_list_dump(f, mt, MC_USED, flags);
[all...]
H A Dmemtank.h66 uint32_t flags; /* behavior flags */ member in struct:memtank
/tldk/app/nginx/src/tldk/
H A Dtldk_event.c59 tldk_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
66 FE_TRACE("%s(ev=%p,event=%#lx,flags=%#lx): fd=%d;\n",
67 __func__, ev, event, flags, c->fd);
88 tldk_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
95 FE_TRACE("%s(ev=%p,event=%#lx,flags=%#lx): fd=%d;\n",
96 __func__, ev, event, flags, c->fd);
99 if ((flags & NGX_CLOSE_EVENT) != 0)
120 post_event(ngx_event_t *ev, ngx_queue_t *q, ngx_uint_t flags, uint32_t type) argument
125 if ((flags & NGX_POST_EVENTS) != 0) {
133 tldk_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
[all...]
/tldk/app/nginx/src/os/win32/
H A Dngx_udp_wsarecv.c17 u_long bytes, flags; local
24 flags = 0;
27 rc = WSARecv(c->fd, wsabuf, 1, &bytes, &flags, NULL, NULL);
58 u_long bytes, flags; local
109 flags = 0;
112 rc = WSARecv(c->fd, wsabuf, 1, &bytes, &flags, ovlp, NULL);
H A Dngx_wsarecv.c17 u_long bytes, flags; local
25 flags = 0;
28 rc = WSARecv(c->fd, wsabuf, 1, &bytes, &flags, NULL, NULL);
70 u_long bytes, flags; local
122 flags = 0;
125 rc = WSARecv(c->fd, wsabuf, 1, &bytes, &flags, ovlp, NULL);
H A Dngx_wsarecv_chain.c21 u_long bytes, flags; local
31 flags = 0;
78 rc = WSARecv(c->fd, vec.elts, vec.nelts, &bytes, &flags, NULL, NULL);
/tldk/app/nginx/src/event/modules/
H A Dngx_kqueue_module.c25 ngx_uint_t flags);
27 ngx_uint_t flags);
29 ngx_uint_t flags);
34 ngx_uint_t flags);
191 kev.flags = EV_ADD|EV_ENABLE;
238 notify_kev.flags = EV_ADD|EV_CLEAR;
251 notify_kev.flags = 0;
283 ngx_kqueue_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
293 ev->oneshot = (flags & NGX_ONESHOT_EVENT) ? 1 : 0;
301 if (change_list[ev->index].flags
339 ngx_kqueue_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
393 ngx_kqueue_set_event(ngx_event_t *ev, ngx_int_t filter, ngx_uint_t flags) argument
498 ngx_kqueue_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
[all...]
H A Dngx_devpoll_module.c41 ngx_uint_t flags);
43 ngx_uint_t flags);
45 ngx_uint_t flags);
47 ngx_msec_t timer, ngx_uint_t flags);
218 ngx_devpoll_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
241 ngx_devpoll_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
255 if (ngx_devpoll_set_event(ev, POLLREMOVE, flags) == NGX_ERROR) {
261 if (flags & NGX_CLOSE_EVENT) {
291 ngx_devpoll_set_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
299 "devpoll fd:%d ev:%04Xi fl:%04Xi", c->fd, event, flags);
340 ngx_devpoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
[all...]
H A Dngx_eventport_module.c112 int timer_settime(timer_t timerid, int flags, const struct itimerspec *value,
115 int timer_settime(timer_t timerid, int flags, const struct itimerspec *value, argument
140 ngx_uint_t flags);
142 ngx_uint_t flags);
145 ngx_msec_t timer, ngx_uint_t flags);
312 ngx_eventport_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
361 ngx_eventport_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
372 if (flags & NGX_CLOSE_EVENT) {
437 ngx_uint_t flags)
467 if (flags
436 ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
[all...]
H A Dngx_iocp_module.c19 static ngx_int_t ngx_iocp_del_connection(ngx_connection_t *c, ngx_uint_t flags);
21 ngx_uint_t flags);
217 ngx_iocp_del_connection(ngx_connection_t *c, ngx_uint_t flags) argument
220 if (flags & NGX_CLOSE_EVENT) {
236 ngx_uint_t flags)
263 if (flags & NGX_UPDATE_TIME) {
235 ngx_iocp_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
H A Dngx_poll_module.c16 ngx_uint_t flags);
18 ngx_uint_t flags);
20 ngx_uint_t flags);
114 ngx_poll_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
166 ngx_poll_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
239 ngx_poll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
266 if (flags & NGX_UPDATE_TIME || ngx_event_timer_alarm) {
H A Dngx_select_module.c16 ngx_uint_t flags);
18 ngx_uint_t flags);
20 ngx_uint_t flags);
125 ngx_select_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
171 ngx_select_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
212 ngx_uint_t flags)
267 if (flags & NGX_UPDATE_TIME || ngx_event_timer_alarm) {
211 ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
H A Dngx_win32_select_module.c16 ngx_uint_t flags);
18 ngx_uint_t flags);
20 ngx_uint_t flags);
127 ngx_select_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
180 ngx_select_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
219 ngx_uint_t flags)
273 if (flags & NGX_UPDATE_TIME) {
218 ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
H A Dngx_epoll_module.c114 ngx_uint_t flags);
116 ngx_uint_t flags);
119 ngx_uint_t flags);
124 ngx_uint_t flags);
579 ngx_epoll_add_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
615 if (flags & NGX_EXCLUSIVE_EVENT) {
620 ee.events = events | (uint32_t) flags;
635 ev->oneshot = (flags & NGX_ONESHOT_EVENT) ? 1 : 0;
643 ngx_epoll_del_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) argument
657 if (flags
725 ngx_epoll_del_connection(ngx_connection_t *c, ngx_uint_t flags) argument
784 ngx_epoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) argument
[all...]
/tldk/lib/libtle_l4p/
H A Dtcp_ctl.h33 if ((s->flags & TLE_CTX_FLAG_ST) == 0)
44 if ((s->flags & TLE_CTX_FLAG_ST) == 0)
57 if ((s->flags & TLE_CTX_FLAG_ST) == 0)
70 if ((s->flags & TLE_CTX_FLAG_ST) == 0)
83 if ((s->flags & TLE_CTX_FLAG_ST) == 0)
171 (s->flags & TLE_CTX_FLAG_ST) == 0);
/tldk/app/nginx/src/stream/
H A Dngx_stream_upstream.c113 var = ngx_stream_add_variable(cf, &v->name, v->flags);
433 if (!(uscf->flags & NGX_STREAM_UPSTREAM_WEIGHT)) {
448 if (!(uscf->flags & NGX_STREAM_UPSTREAM_MAX_CONNS)) {
463 if (!(uscf->flags & NGX_STREAM_UPSTREAM_MAX_FAILS)) {
478 if (!(uscf->flags & NGX_STREAM_UPSTREAM_FAIL_TIMEOUT)) {
496 if (!(uscf->flags & NGX_STREAM_UPSTREAM_BACKUP)) {
507 if (!(uscf->flags & NGX_STREAM_UPSTREAM_DOWN)) {
566 ngx_stream_upstream_add(ngx_conf_t *cf, ngx_url_t *u, ngx_uint_t flags) argument
573 if (!(flags & NGX_STREAM_UPSTREAM_CREATE)) {
598 if ((flags
[all...]
H A Dngx_stream_variables.h42 ngx_uint_t flags; member in struct:ngx_stream_variable_s
48 ngx_uint_t flags);
H A Dngx_stream_variables.c14 ngx_str_t *name, ngx_uint_t flags);
128 ngx_stream_add_variable(ngx_conf_t *cf, ngx_str_t *name, ngx_uint_t flags) argument
142 if (flags & NGX_STREAM_VAR_PREFIX) {
143 return ngx_stream_add_prefix_variable(cf, name, flags);
158 if (!(v->flags & NGX_STREAM_VAR_CHANGEABLE)) {
164 v->flags &= flags | ~NGX_STREAM_VAR_WEAK;
185 v->flags = flags;
206 ngx_uint_t flags)
205 ngx_stream_add_prefix_variable(ngx_conf_t *cf, ngx_str_t *name, ngx_uint_t flags) argument
[all...]
H A Dngx_stream_upstream.h77 ngx_uint_t flags; member in struct:ngx_stream_upstream_srv_conf_s
144 ngx_url_t *u, ngx_uint_t flags);
/tldk/app/nginx/src/event/
H A Dngx_event.h178 ngx_int_t (*add)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
179 ngx_int_t (*del)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
181 ngx_int_t (*enable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
182 ngx_int_t (*disable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
185 ngx_int_t (*del_conn)(ngx_connection_t *c, ngx_uint_t flags);
190 ngx_uint_t flags);
306 /* these flags have a meaning only for kqueue */
325 * NGX_CLOSE_EVENT, NGX_LOWAT_EVENT, and NGX_FLUSH_EVENT are the module flags
327 * that must not interfere with any existent and future kqueue flags.
515 ngx_int_t ngx_handle_read_event(ngx_event_t *rev, ngx_uint_t flags);
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_variables.h42 ngx_uint_t flags; member in struct:ngx_http_variable_s
48 ngx_uint_t flags);
/tldk/app/nginx/src/os/unix/
H A Dngx_freebsd_sendfile_chain.c35 int rc, flags; local
78 flags = 0;
184 flags = (aio && aio->preload_handler) ? SF_NODISKIO : 0;
188 file_size + header.size, &hdtr, &sent, flags);
300 if (flags == SF_NODISKIO) {
/tldk/lib/libtle_dring/
H A Dtle_dring.h70 uint32_t flags; member in struct:tle_dring
507 tle_dring_reset(struct tle_dring *dr, uint32_t flags) argument
512 dr->prod.single = ((flags & RING_F_SP_ENQ) != 0);
513 dr->cons.single = ((flags & RING_F_SC_DEQ) != 0);
514 dr->flags = flags;

Completed in 16 milliseconds

1234