Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 17 of 17) sorted by relevance

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_hash.c16 ngx_hash_elt_t *elt; in ngx_hash_find() local
24 if (elt == NULL) { in ngx_hash_find()
28 while (elt->value) { in ngx_hash_find()
39 return elt->value; in ngx_hash_find()
43 elt = (ngx_hash_elt_t *) ngx_align_ptr(&elt->name[0] + elt->len, in ngx_hash_find()
422 elt->value = NULL; in ngx_hash_init()
436 elt = buckets[i]; in ngx_hash_init()
438 if (elt == NULL) { in ngx_hash_init()
444 while (elt->value) { in ngx_hash_init()
445 val.len = elt->len; in ngx_hash_init()
[all …]
H A Dngx_array.c50 void *elt, *new; in ngx_array_push() local
87 elt = (u_char *) a->elts + a->size * a->nelts; in ngx_array_push()
90 return elt; in ngx_array_push()
97 void *elt, *new; in ngx_array_push_n() local
137 elt = (u_char *) a->elts + a->size * a->nelts; in ngx_array_push_n()
140 return elt; in ngx_array_push_n()
H A Dngx_list.c33 void *elt; in ngx_list_push() local
59 elt = (char *) last->elts + l->size * last->nelts; in ngx_list_push()
62 return elt; in ngx_list_push()
H A Dngx_regex.c101 ngx_regex_elt_t *elt; in ngx_regex_compile() local
138 elt = ngx_list_push(ngx_pcre_studies); in ngx_regex_compile()
139 if (elt == NULL) { in ngx_regex_compile()
143 elt->regex = rc->regex; in ngx_regex_compile()
144 elt->name = rc->pattern.data; in ngx_regex_compile()
/f-stack/dpdk/drivers/net/memif/
H A Dmemif_socket.c203 dev = elt->dev; in memif_msg_receive_init()
512 rte_free(elt); in memif_intr_unregister_handler()
535 for (elt = TAILQ_FIRST(&pmd->cc->msg_queue); elt != NULL; elt = next) { in memif_disconnect()
536 next = TAILQ_NEXT(elt, next); in memif_disconnect()
539 rte_free(elt); in memif_disconnect()
994 if (elt == NULL) { in memif_socket_init()
998 elt->dev = dev; in memif_socket_init()
1023 for (elt = TAILQ_FIRST(&socket->dev_queue); elt != NULL; elt = next) { in memif_socket_remove_device()
1024 next = TAILQ_NEXT(elt, next); in memif_socket_remove_device()
1025 if (elt->dev == dev) { in memif_socket_remove_device()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_procfs_list.c65 void *elt; in procfs_list_data() local
71 elt = p->pli_elt; in procfs_list_data()
75 return (pl->pl_show(&f, elt)); in procfs_list_data()
82 void *elt = ksp->ks_private1; in procfs_list_addr() local
88 else if (elt) in procfs_list_addr()
89 ksp->ks_private1 = list_next(&pl->pl_list, elt); in procfs_list_addr()
/f-stack/freebsd/contrib/zstd/lib/dictBuilder/
H A Dzdict.c413 const U32 eltEnd = elt.pos + elt.length; in ZDICT_tryMerge()
423 table[u].pos = elt.pos; in ZDICT_tryMerge()
424 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */ in ZDICT_tryMerge()
426 elt = table[u]; in ZDICT_tryMerge()
430 table[u] = elt; in ZDICT_tryMerge()
444 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */ in ZDICT_tryMerge()
447 elt = table[u]; in ZDICT_tryMerge()
450 table[u] = elt; in ZDICT_tryMerge()
457 table[u].pos = elt.pos; in ZDICT_tryMerge()
458 table[u].savings += (U32)(elt.savings * addedLength / elt.length); in ZDICT_tryMerge()
[all …]
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_rxtx.c891 struct txq_elt *elt; in mlx4_tx_burst() local
905 ctrl = elt->wqe; in mlx4_tx_burst()
921 if (likely(elt->buf != NULL)) { in mlx4_tx_burst()
922 struct rte_mbuf *tmp = elt->buf; in mlx4_tx_burst()
943 elt->buf = NULL; in mlx4_tx_burst()
949 elt->buf = NULL; in mlx4_tx_burst()
957 elt->buf = NULL; in mlx4_tx_burst()
971 elt->buf = NULL; in mlx4_tx_burst()
1035 elt->buf = buf; in mlx4_tx_burst()
1038 elt = elt_next; in mlx4_tx_burst()
[all …]
H A Dmlx4_txq.c188 struct txq_elt *elt = &(*elts)[elts_tail++ & elts_m]; in mlx4_txq_free_elts() local
190 MLX4_ASSERT(elt->buf != NULL); in mlx4_txq_free_elts()
191 rte_pktmbuf_free(elt->buf); in mlx4_txq_free_elts()
192 elt->buf = NULL; in mlx4_txq_free_elts()
193 elt->wqe = NULL; in mlx4_txq_free_elts()
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_fbarray.h179 rte_fbarray_find_idx(const struct rte_fbarray *arr, const void *elt);
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_fbarray.c1451 rte_fbarray_find_idx(const struct rte_fbarray *arr, const void *elt) in rte_fbarray_find_idx() argument
1461 if (arr == NULL || elt == NULL) { in rte_fbarray_find_idx()
1466 if (elt < arr->data || elt >= end) { in rte_fbarray_find_idx()
1471 ret = RTE_PTR_DIFF(elt, arr->data) / arr->elt_sz; in rte_fbarray_find_idx()
/f-stack/dpdk/lib/librte_mempool/
H A Drte_mempool.h1673 rte_mempool_virt2iova(const void *elt) in rte_mempool_virt2iova() argument
1676 hdr = (const struct rte_mempool_objhdr *)RTE_PTR_SUB(elt, in rte_mempool_virt2iova()
H A Drte_mempool.c272 void *elt; in rte_mempool_free_memchunks() local
275 rte_mempool_ops_dequeue_bulk(mp, &elt, 1); in rte_mempool_free_memchunks()
276 (void)elt; in rte_mempool_free_memchunks()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_txq.c72 struct rte_mbuf *elt = (*elts)[elts_tail & elts_m]; in txq_free_elts() local
74 MLX5_ASSERT(elt != NULL); in txq_free_elts()
75 rte_pktmbuf_free_seg(elt); in txq_free_elts()
H A Dmlx5_rxtx.c1079 struct rte_mbuf **elt; in mlx5_rx_err_handle() local
1086 elt = &(*rxq->elts)[elt_idx]; in mlx5_rx_err_handle()
1087 *elt = rte_mbuf_raw_alloc(rxq->mp); in mlx5_rx_err_handle()
1088 if (!*elt) { in mlx5_rx_err_handle()
1092 elt = &(*rxq->elts) in mlx5_rx_err_handle()
1095 (*elt); in mlx5_rx_err_handle()
1101 elt = &(*rxq->elts)[i]; in mlx5_rx_err_handle()
1102 DATA_LEN(*elt) = in mlx5_rx_err_handle()
1103 (uint16_t)((*elt)->buf_len - in mlx5_rx_err_handle()
1104 rte_pktmbuf_headroom(*elt)); in mlx5_rx_err_handle()
H A Dmlx5_flow.c259 int elt = 0; in mlx5_flow_expand_rss() local
317 elt = 2; /* missed item + item end. */ in mlx5_flow_expand_rss()
319 lsize += elt * sizeof(*item) + user_pattern_size; in mlx5_flow_expand_rss()
327 rte_memcpy(addr, flow_items, elt * sizeof(*item)); in mlx5_flow_expand_rss()
329 elt * sizeof(*item)); in mlx5_flow_expand_rss()
345 elt = stack_pos + 2; in mlx5_flow_expand_rss()
347 lsize += elt * sizeof(*item) + user_pattern_size; in mlx5_flow_expand_rss()
349 size_t n = elt * sizeof(*item); in mlx5_flow_expand_rss()
389 elt = 2; in mlx5_flow_expand_rss()
390 lsize += elt * sizeof(*item) + user_pattern_size; in mlx5_flow_expand_rss()
[all …]
/f-stack/dpdk/doc/guides/prog_guide/
H A Dcryptodev_lib.rst470 options. The first is to create another mempool with elt size equal to or