Home
last modified time | relevance | path

Searched refs:elts (Results 1 – 25 of 126) sorted by relevance

123456

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rxtx_vec_neon.h52 pkts[pos] = elts[pos]; in rxq_copy_mbuf_v()
72 struct rte_mbuf **elts) in rxq_cq_decompress_v() argument
254 elts[pos]->hash.fdir.hi = in rxq_cq_decompress_v()
292 elts[pos]->packet_type = in rxq_cq_decompress_v()
295 elts[pos + 1]->packet_type = in rxq_cq_decompress_v()
305 elts[pos]->packet_type |= in rxq_cq_decompress_v()
331 elts[pos]->hash.rss = 0; in rxq_cq_decompress_v()
332 elts[pos + 1]->hash.rss = 0; in rxq_cq_decompress_v()
333 elts[pos + 2]->hash.rss = 0; in rxq_cq_decompress_v()
334 elts[pos + 3]->hash.rss = 0; in rxq_cq_decompress_v()
[all …]
H A Dmlx5_rxtx_vec.c93 struct rte_mbuf **elts = &(*rxq->elts)[elts_idx]; in mlx5_rx_replenish_bulk_mbuf() local
150 struct rte_mbuf **elts = &(*rxq->elts)[elts_idx]; in mlx5_rx_mprq_replenish_bulk_mbuf() local
198 struct rte_mbuf **elts = &(*rxq->elts)[elts_idx]; in rxq_copy_mprq_mbuf_v() local
217 if (!elts[i]->pkt_len) { in rxq_copy_mprq_mbuf_v()
227 rxq_code = mprq_buf_to_pkt(rxq, elts[i], elts[i]->pkt_len, in rxq_copy_mprq_mbuf_v()
288 struct rte_mbuf **elts; in rxq_burst_v() local
315 elts = &(*rxq->elts)[elts_idx]; in rxq_burst_v()
343 &elts[nocmp_n]); in rxq_burst_v()
428 struct rte_mbuf **elts; in rxq_burst_mprq_v() local
453 elts = &(*rxq->elts)[elts_idx]; in rxq_burst_mprq_v()
[all …]
H A Dmlx5_rxtx_vec_sse.h54 pkts[pos] = elts[pos]; in rxq_copy_mbuf_v()
74 struct rte_mbuf **elts) in rxq_cq_decompress_v() argument
239 elts[pos]->hash.fdir.hi = in rxq_cq_decompress_v()
278 elts[pos]->packet_type = in rxq_cq_decompress_v()
291 elts[pos]->packet_type |= in rxq_cq_decompress_v()
313 elts[pos]->ol_flags = in rxq_cq_decompress_v()
315 elts[pos + 1]->ol_flags = in rxq_cq_decompress_v()
317 elts[pos + 2]->ol_flags = in rxq_cq_decompress_v()
319 elts[pos + 3]->ol_flags = in rxq_cq_decompress_v()
321 elts[pos]->hash.rss = 0; in rxq_cq_decompress_v()
[all …]
H A Dmlx5_rxtx_vec_altivec.h53 (signed int const *)&elts[pos]); in rxq_copy_mbuf_v()
57 pkts[pos] = elts[pos]; in rxq_copy_mbuf_v()
77 struct rte_mbuf **elts) in rxq_cq_decompress_v() argument
353 elts[pos]->hash.fdir.hi = in rxq_cq_decompress_v()
407 elts[pos]->packet_type = in rxq_cq_decompress_v()
420 elts[pos]->packet_type |= in rxq_cq_decompress_v()
456 elts[pos]->ol_flags = in rxq_cq_decompress_v()
458 elts[pos + 1]->ol_flags = in rxq_cq_decompress_v()
460 elts[pos + 2]->ol_flags = in rxq_cq_decompress_v()
462 elts[pos + 3]->ol_flags = in rxq_cq_decompress_v()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_regex.c204 re = a->elts; in ngx_regex_exec_array()
260 ngx_regex_elt_t *elts; in ngx_pcre_free_studies() local
263 elts = part->elts; in ngx_pcre_free_studies()
273 elts = part->elts; in ngx_pcre_free_studies()
277 if (elts[i].regex->extra != NULL) { in ngx_pcre_free_studies()
293 ngx_regex_elt_t *elts; in ngx_regex_module_init() local
327 elts = part->elts; in ngx_regex_module_init()
337 elts = part->elts; in ngx_regex_module_init()
341 elts[i].regex->extra = pcre_study(elts[i].regex->code, opt, &errstr); in ngx_regex_module_init()
354 n = pcre_fullinfo(elts[i].regex->code, elts[i].regex->extra, in ngx_regex_module_init()
[all …]
H A Dngx_array.c37 if ((u_char *) a->elts + a->size * a->nalloc == p->d.last) { in ngx_array_destroy()
62 if ((u_char *) a->elts + size == p->d.last in ngx_array_push()
81 ngx_memcpy(new, a->elts, size); in ngx_array_push()
82 a->elts = new; in ngx_array_push()
87 elt = (u_char *) a->elts + a->size * a->nelts; in ngx_array_push()
110 if ((u_char *) a->elts + a->size * a->nalloc == p->d.last in ngx_array_push_n()
131 ngx_memcpy(new, a->elts, a->nelts * a->size); in ngx_array_push_n()
132 a->elts = new; in ngx_array_push_n()
137 elt = (u_char *) a->elts + a->size * a->nelts; in ngx_array_push_n()
H A Dngx_cycle.c357 file = part->elts; in ngx_init_cycle()
366 file = part->elts; in ngx_init_cycle()
407 shm_zone = part->elts; in ngx_init_cycle()
636 oshm_zone = opart->elts; in ngx_init_cycle()
650 shm_zone = part->elts; in ngx_init_cycle()
733 file = part->elts; in ngx_init_cycle()
742 file = part->elts; in ngx_init_cycle()
822 file = part->elts; in ngx_init_cycle()
849 shm_zone = part->elts; in ngx_init_cycle()
1163 file = part->elts; in ngx_reopen_files()
[all …]
H A Dngx_array.h17 void *elts; member
44 array->elts = ngx_palloc(pool, n * size); in ngx_array_init()
45 if (array->elts == NULL) { in ngx_array_init()
H A Dngx_list.h19 void *elts; member
39 list->part.elts = ngx_palloc(pool, n * size); in ngx_list_init()
40 if (list->part.elts == NULL) { in ngx_list_init()
H A Dngx_list.c47 last->elts = ngx_palloc(l->pool, l->nalloc * l->size); in ngx_list_push()
48 if (last->elts == NULL) { in ngx_list_push()
59 elt = (char *) last->elts + l->size * last->nelts; in ngx_list_push()
H A Dngx_conf_file.c364 name = cf->args->elts; in ngx_conf_handler()
828 value = cf->args->elts; in ngx_conf_include()
917 file = part->elts; in ngx_conf_open_file()
971 file = part->elts; in ngx_conf_flush_files()
1040 value = cf->args->elts; in ngx_conf_set_flag_slot()
1079 value = cf->args->elts; in ngx_conf_set_str_slot()
1115 value = cf->args->elts; in ngx_conf_set_str_array_slot()
1152 value = cf->args->elts; in ngx_conf_set_keyval_slot()
1182 value = cf->args->elts; in ngx_conf_set_num_slot()
1212 value = cf->args->elts; in ngx_conf_set_size_slot()
[all …]
H A Dngx_hash.c254 u_char *elts; in ngx_hash_init() local
378 elts = ngx_palloc(hinit->pool, len + ngx_cacheline_size); in ngx_hash_init()
379 if (elts == NULL) { in ngx_hash_init()
384 elts = ngx_align_ptr(elts, ngx_cacheline_size); in ngx_hash_init()
391 buckets[i] = (ngx_hash_elt_t *) elts; in ngx_hash_init()
392 elts += test[i]; in ngx_hash_init()
578 if (ngx_hash_wildcard_init(&h, (ngx_hash_key_t *) next_names.elts, in ngx_hash_wildcard_init()
598 if (ngx_hash_init(hinit, (ngx_hash_key_t *) curr_names.elts, in ngx_hash_wildcard_init()
790 name = ha->keys_hash[k].elts; in ngx_hash_add_key()
843 name = ha->keys_hash[k].elts; in ngx_hash_add_key()
[all …]
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_rxq.c501 struct rte_mbuf *(*elts)[elts_n] = rxq->elts; in mlx4_rxq_attach() local
579 (*elts)[i] = NULL; in mlx4_rxq_attach()
603 (*elts)[i] = buf; in mlx4_rxq_attach()
652 struct rte_mbuf *(*elts)[1 << rxq->elts_n] = rxq->elts; in mlx4_rxq_detach() local
666 if (!(*elts)[i]) in mlx4_rxq_detach()
669 (*elts)[i] = NULL; in mlx4_rxq_detach()
749 .size = sizeof(*elts), in mlx4_rx_queue_setup()
750 .addr = (void **)&elts, in mlx4_rx_queue_setup()
780 if (desc != RTE_DIM(*elts)) { in mlx4_rx_queue_setup()
781 desc = RTE_DIM(*elts); in mlx4_rx_queue_setup()
[all …]
H A Dmlx4_txq.c183 struct txq_elt (*elts)[txq->elts_n] = txq->elts; in mlx4_txq_free_elts() local
188 struct txq_elt *elt = &(*elts)[elts_tail++ & elts_m]; in mlx4_txq_free_elts()
292 struct txq_elt (*elts)[rte_align32pow2(desc)]; in mlx4_tx_queue_setup() local
304 .size = sizeof(*elts), in mlx4_tx_queue_setup()
305 .addr = (void **)&elts, in mlx4_tx_queue_setup()
337 if (desc != RTE_DIM(*elts)) { in mlx4_tx_queue_setup()
338 desc = RTE_DIM(*elts); in mlx4_tx_queue_setup()
358 .elts = elts, in mlx4_tx_queue_setup()
473 (&(*txq->elts)[0])->wqe = in mlx4_tx_queue_setup()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_rewrite_module.c172 e->ip = rlcf->codes->elts; in ngx_http_rewrite_handler()
204 var = cmcf->variables.elts; in ngx_http_rewrite_var()
319 value = cf->args->elts; in ngx_http_rewrite()
429 regex->next = (u_char *) lcf->codes->elts + lcf->codes->nelts in ngx_http_rewrite()
452 value = cf->args->elts; in ngx_http_rewrite_return()
532 u_char *elts; in ngx_http_rewrite_if() local
595 elts = lcf->codes->elts; in ngx_http_rewrite_if()
625 if (elts != lcf->codes->elts) { in ngx_http_rewrite_if()
627 ((u_char *) if_code + ((u_char *) lcf->codes->elts - elts)); in ngx_http_rewrite_if()
654 value = cf->args->elts; in ngx_http_rewrite_if_condition()
[all …]
H A Dngx_http_map_module.c207 value = cf->args->elts; in ngx_http_map_block()
305 if (ngx_hash_init(&hash, ctx.keys.keys.elts, ctx.keys.keys.nelts) in ngx_http_map_block()
315 ngx_qsort(ctx.keys.dns_wc_head.elts, in ngx_http_map_block()
322 if (ngx_hash_wildcard_init(&hash, ctx.keys.dns_wc_head.elts, in ngx_http_map_block()
335 ngx_qsort(ctx.keys.dns_wc_tail.elts, in ngx_http_map_block()
342 if (ngx_hash_wildcard_init(&hash, ctx.keys.dns_wc_tail.elts, in ngx_http_map_block()
356 map->map.regex = ctx.regexes.elts; in ngx_http_map_block()
395 value = cf->args->elts; in ngx_http_map()
429 vp = ctx->values_hash[key].elts; in ngx_http_map()
H A Dngx_http_browser_module.c277 modern = cf->modern_browsers->elts; in ngx_http_browser()
364 ancient = cf->ancient_browsers->elts; in ngx_http_browser()
463 browsers = conf->modern_browsers->elts; in ngx_http_browser_merge_conf()
484 browsers = conf->modern_browsers->elts; in ngx_http_browser_merge_conf()
548 value = cf->args->elts; in ngx_http_modern_browser()
637 value = cf->args->elts; in ngx_http_ancient_browser()
678 value = cf->args->elts; in ngx_http_modern_browser_value()
703 value = cf->args->elts; in ngx_http_ancient_browser_value()
H A Dngx_http_split_clients_module.c93 part = ctx->parts.elts; in ngx_http_split_clients_variable()
128 value = cf->args->elts; in ngx_conf_split_clients_block()
181 part = ctx->parts.elts; in ngx_conf_split_clients_block()
210 value = cf->args->elts; in ngx_http_split_clients()
H A Dngx_http_referer_module.c351 sn = cscf->server_names.elts; in ngx_http_referer_merge_conf()
404 if (ngx_hash_init(&hash, conf->keys->keys.elts, conf->keys->keys.nelts) in ngx_http_referer_merge_conf()
413 ngx_qsort(conf->keys->dns_wc_head.elts, in ngx_http_referer_merge_conf()
421 if (ngx_hash_wildcard_init(&hash, conf->keys->dns_wc_head.elts, in ngx_http_referer_merge_conf()
433 ngx_qsort(conf->keys->dns_wc_tail.elts, in ngx_http_referer_merge_conf()
441 if (ngx_hash_wildcard_init(&hash, conf->keys->dns_wc_tail.elts, in ngx_http_referer_merge_conf()
494 value = cf->args->elts; in ngx_http_valid_referers()
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_map_module.c205 value = cf->args->elts; in ngx_stream_map_block()
304 if (ngx_hash_init(&hash, ctx.keys.keys.elts, ctx.keys.keys.nelts) in ngx_stream_map_block()
314 ngx_qsort(ctx.keys.dns_wc_head.elts, in ngx_stream_map_block()
321 if (ngx_hash_wildcard_init(&hash, ctx.keys.dns_wc_head.elts, in ngx_stream_map_block()
334 ngx_qsort(ctx.keys.dns_wc_tail.elts, in ngx_stream_map_block()
341 if (ngx_hash_wildcard_init(&hash, ctx.keys.dns_wc_tail.elts, in ngx_stream_map_block()
355 map->map.regex = ctx.regexes.elts; in ngx_stream_map_block()
394 value = cf->args->elts; in ngx_stream_map()
428 vp = ctx->values_hash[key].elts; in ngx_stream_map()
H A Dngx_stream_script.c201 ccv->complex_value->flushes = flushes.elts; in ngx_stream_compile_complex_value()
205 ccv->complex_value->lengths = lengths.elts; in ngx_stream_compile_complex_value()
206 ccv->complex_value->values = values.elts; in ngx_stream_compile_complex_value()
233 value = cf->args->elts; in ngx_stream_set_complex_value_slot()
447 index = indices->elts; in ngx_stream_script_flush_no_cacheable_variables()
551 u_char *elts, **p; in ngx_stream_script_add_code() local
554 elts = codes->elts; in ngx_stream_script_add_code()
562 if (elts != codes->elts) { in ngx_stream_script_add_code()
564 *p += (u_char *) codes->elts - elts; in ngx_stream_script_add_code()
H A Dngx_stream_split_clients_module.c91 part = ctx->parts.elts; in ngx_stream_split_clients_variable()
126 value = cf->args->elts; in ngx_conf_split_clients_block()
179 part = ctx->parts.elts; in ngx_conf_split_clients_block()
208 value = cf->args->elts; in ngx_stream_split_clients()
H A Dngx_stream_upstream.c145 state = s->upstream_states->elts; in ngx_stream_upstream_addr_variable()
211 state = s->upstream_states->elts; in ngx_stream_upstream_bytes_variable()
265 state = s->upstream_states->elts; in ngx_stream_upstream_response_time_variable()
316 value = cf->args->elts; in ngx_stream_upstream()
420 value = cf->args->elts; in ngx_stream_upstream_server()
585 uscfp = umcf->upstreams.elts; in ngx_stream_upstream_add()
701 uscfp = umcf->upstreams.elts; in ngx_stream_upstream_init_main_conf()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http.c249 cscfp = cmcf->servers.elts; in ngx_http_block()
570 cscfp = cmcf->servers.elts; in ngx_http_merge_servers()
1163 port = cmcf->ports->elts; in ngx_http_add_listen()
1184 port->addrs.elts = NULL; in ngx_http_add_listen()
1208 addr = port->addrs.elts; in ngx_http_add_addresses()
1331 addr->servers.elts = NULL; in ngx_http_add_address()
1389 port = ports->elts; in ngx_http_optimize_servers()
1453 cscfp = addr->servers.elts; in ngx_http_server_names()
1634 addr = port->addrs.elts; in ngx_http_init_listening()
1948 value = cf->args->elts; in ngx_http_types_slot()
[all …]
/f-stack/app/nginx-1.16.1/src/mail/
H A Dngx_mail.c163 cscfp = cmcf->servers.elts; in ngx_mail_block()
212 listen = cmcf->listen.elts; in ngx_mail_block()
237 port = ports->elts; in ngx_mail_add_ports()
288 port = ports->elts; in ngx_mail_optimize_servers()
291 ngx_sort(port[p].addrs.elts, (size_t) port[p].addrs.nelts, in ngx_mail_optimize_servers()
294 addr = port[p].addrs.elts; in ngx_mail_optimize_servers()

123456