Home
last modified time | relevance | path

Searched refs:expr_array (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/netfilter/
Dnft_dynset.c25 struct nft_expr *expr_array[NFT_SET_EXPR_MAX]; member
38 if (nft_expr_clone(expr, priv->expr_array[i]) < 0) in nft_dynset_expr_setup()
41 elem_expr->size += priv->expr_array[i]->ops->size; in nft_dynset_expr_setup()
118 size += priv->expr_array[i]->ops->size; in nft_dynset_ext_add_expr()
245 priv->expr_array[0] = dynset_expr; in nft_dynset_init()
276 priv->expr_array[i] = dynset_expr; in nft_dynset_init()
291 err = nft_set_elem_expr_clone(ctx, set, priv->expr_array); in nft_dynset_init()
327 nft_expr_destroy(ctx, priv->expr_array[i]); in nft_dynset_init()
355 nft_expr_destroy(ctx, priv->expr_array[i]); in nft_dynset_destroy()
382 priv->expr_array[0])) in nft_dynset_dump()
[all …]
Dnf_tables_api.c5685 struct nft_expr *expr_array[]) in nft_set_elem_expr_clone() argument
5700 expr_array[i] = expr; in nft_set_elem_expr_clone()
5707 nft_expr_destroy(ctx, expr_array[k]); in nft_set_elem_expr_clone()
5715 struct nft_expr *expr_array[], in nft_set_elem_expr_setup() argument
5727 len += expr_array[i]->ops->size; in nft_set_elem_expr_setup()
5734 err = nft_expr_clone(expr, expr_array[i]); in nft_set_elem_expr_setup()
5738 elem_expr->size += expr_array[i]->ops->size; in nft_set_elem_expr_setup()
5739 nft_expr_destroy(ctx, expr_array[i]); in nft_set_elem_expr_setup()
5740 expr_array[i] = NULL; in nft_set_elem_expr_setup()
5747 nft_expr_destroy(ctx, expr_array[i]); in nft_set_elem_expr_setup()
[all …]
/linux-6.1.9/include/net/netfilter/
Dnf_tables.h801 struct nft_expr *expr_array[]);