Searched refs:head (Results 1 - 21 of 21) sorted by relevance

/tldk/lib/libtle_l4p/
H A Dtcp_txq.h26 uint32_t cnt, head, mask, sz, tail; local
32 head = r->cons.head & mask;
35 cnt = (tail >= head) ? tail - head : sz - head;
38 return (struct rte_mbuf **)(_rte_ring_get_data(r) + head);
44 uint32_t cnt, head, mask, sz, tail; local
50 head = r->prod.tail & mask;
53 cnt = (head >
[all...]
H A Dtcp_rxq.h152 uint32_t n, head, sz; local
161 head = (r->cons.head - n) & _rte_ring_get_mask(r);
163 obj[0].mb = (struct rte_mbuf **)(_rte_ring_get_data(r) + head);
166 if (head + n <= sz) {
171 obj[0].num = sz - head;
172 obj[1].num = n + head - sz;
H A Dtle_event.h43 struct tle_evq *head; member in struct:tle_event
128 q = ev->head;
153 q = ev->head;
180 q = ev->head;
207 q = ev->head;
H A Devent.c49 evq->events[i].head = evq;
97 q = ev->head;
H A Dstream.h91 put_stream(struct tle_ctx *ctx, struct tle_stream *s, int32_t head) argument
95 if (head != 0)
H A Dtcp_ctl.h110 s->tx.q->cons.head = s->tx.q->cons.tail;
/tldk/lib/libtle_dring/
H A Dtle_dring.h73 volatile uint32_t head; /**< producer head */ member in struct:tle_dring::__anon1
79 volatile uint32_t head; /**< consumer head */ member in struct:tle_dring::__anon2
123 __tle_dring_enqueue(struct tle_dring *dr, uint32_t head, argument
135 n = head - pb->start;
148 pb->start = head + i;
191 uint32_t head, next; local
198 head = dr->prod.head;
246 uint32_t head, next; local
301 __tle_dring_dequeue(struct tle_dring *dr, uint32_t head, const void *objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t nb_drb) argument
373 uint32_t head, next, num, tail; local
438 uint32_t head, next, num, tail; local
[all...]
H A Ddring.c82 fprintf(f, "\t\thead=%u,\n", dr->prod.head);
89 fprintf(f, "\t\thead=%u,\n", dr->cons.head);
/tldk/lib/libtle_misc/
H A Dtle_dpdk_wrapper.h189 uint32_t n, end, head, tail; local
194 head = r->cons.head;
198 if (head != tail) {
203 n = end - head;
208 rc = rte_atomic32_cmpset(&r->cons.head, head, head + n);
217 uint32_t n, head, tail; local
219 head
[all...]
/tldk/lib/libtle_timer/
H A Dtimer.c62 LIST_HEAD(, tle_timer_elmt) head;
94 e = LIST_FIRST(&list->head);
109 e = LIST_FIRST(&list->head);
124 LIST_INSERT_HEAD(&list->head, te[i], link);
133 LIST_INSERT_HEAD(&list->head, e, link);
188 LIST_INIT(&tw->free.head);
189 LIST_INIT(&tw->expired.head);
198 LIST_INIT(&tw->w[i][j].head);
330 LIST_INIT(&ts->head);
342 LIST_INIT(&ts->head);
[all...]
/tldk/app/nginx/src/tldk/
H A Dtldk_sock.h71 LIST_HEAD(, tldk_sock) head; member in struct:tldk_sock_list
H A Dtldk_sock.c66 for (i = 0, s = LIST_FIRST(&list->head);
74 LIST_INIT(&list->head);
76 LIST_FIRST(&list->head) = s;
99 LIST_INSERT_HEAD(&list->head, fs[i], link);
231 LIST_INIT(&stbl.lstn.head);
232 LIST_INIT(&stbl.free.head);
233 LIST_INIT(&stbl.use.head);
/tldk/app/nginx/src/core/
H A Dngx_log.c467 ngx_log_get_file_log(ngx_log_t *head) argument
471 for (log = head; log; log = log->next) {
556 ngx_log_set_log(ngx_conf_t *cf, ngx_log_t **head) argument
562 if (*head != NULL && (*head)->log_level == 0) {
563 new_log = *head;
572 if (*head == NULL) {
573 *head = new_log;
671 if (*head != new_log) {
672 ngx_log_insert(*head, new_lo
[all...]
H A Dngx_log.h237 ngx_log_t *ngx_log_get_file_log(ngx_log_t *head);
238 char *ngx_log_set_log(ngx_conf_t *cf, ngx_log_t **head);
/tldk/app/nginx/src/http/modules/
H A Dngx_http_autoindex_module.c444 "<head><title>Index of "
448 "</title></head>" CRLF
847 static u_char head[] = "<?xml version=\"1.0\"?>" CRLF "<list>" CRLF; local
850 len = sizeof(head) - 1 + sizeof(tail) - 1;
872 b->last = ngx_cpymem(b->last, head, sizeof(head) - 1);
H A Dngx_http_proxy_module.c116 unsigned head:1; member in struct:__anon205
1189 ctx->head = 1;
1888 || ctx->head
1936 u->headers_in.status_n, ctx->head, u->headers_in.chunked,
1943 || ctx->head)
/tldk/examples/l4fwd/
H A Dcommon.h93 for (i = 0, s = LIST_FIRST(&list->head);
101 LIST_INIT(&list->head);
103 LIST_FIRST(&list->head) = s;
136 LIST_INSERT_HEAD(&list->head, fs[i], link);
H A Dnetbe.h228 LIST_HEAD(, netfe_stream) head; member in struct:netfe_stream_list
H A Dudp.h132 LIST_INIT(&fe->free.head);
133 LIST_INIT(&fe->use.head);
H A Dtcp.h161 LIST_INIT(&fe->free.head);
162 LIST_INIT(&fe->use.head);
/tldk/app/nginx/src/http/v2/
H A Dngx_http_v2.c751 uint32_t head; local
758 head = ngx_http_v2_parse_uint32(pos);
760 h2c->state.length = ngx_http_v2_parse_length(head);
767 type = ngx_http_v2_parse_type(head);
1717 uint32_t head; local
1737 head = ngx_http_v2_parse_uint32(p);
1739 if (ngx_http_v2_parse_type(head) != NGX_HTTP_V2_CONTINUATION_FRAME) {
1760 len = ngx_http_v2_parse_length(head);

Completed in 22 milliseconds