/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_tables_core.c | 77 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval() argument 80 const struct nft_bitwise_fast_expr *priv = nft_expr_priv(expr); in nft_bitwise_fast_eval() 87 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval() argument 90 const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); in nft_cmp_fast_eval() 97 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval() argument 100 const struct nft_cmp16_fast_expr *priv = nft_expr_priv(expr); in nft_cmp16_fast_eval() 147 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval() argument 151 const struct nft_payload *priv = nft_expr_priv(expr); in nft_payload_fast_eval() 206 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval() argument 216 e = (unsigned long)expr in expr_call_ops_eval() 257 const struct nft_expr *expr, *last; nft_do_chain() local [all...] |
H A D | nft_fwd_netdev.c | 24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval() argument 28 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_eval() 47 const struct nft_expr *expr, in nft_fwd_netdev_init() 50 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_init() 60 const struct nft_expr *expr, bool reset) in nft_fwd_netdev_dump() 62 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_dump() 75 const struct nft_expr *expr) in nft_fwd_netdev_offload() 77 const struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_offload() 83 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action() argument 94 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval() argument 46 nft_fwd_netdev_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_fwd_netdev_init() argument 59 nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_fwd_netdev_dump() argument 73 nft_fwd_netdev_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) nft_fwd_netdev_offload() argument 155 nft_fwd_neigh_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_fwd_neigh_init() argument 190 nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_fwd_neigh_dump() argument 206 nft_fwd_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) nft_fwd_validate() argument [all...] |
H A D | nft_immediate.c | 18 void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval() argument 22 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_eval() 47 const struct nft_expr *expr, in nft_immediate_init() 50 struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_init() 96 const struct nft_expr *expr) in nft_immediate_activate() 98 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_activate() 143 const struct nft_expr *expr, in nft_immediate_deactivate() 146 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_deactivate() 187 const struct nft_expr *expr) in nft_immediate_destroy() 189 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_destroy() 46 nft_immediate_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_immediate_init() argument 95 nft_immediate_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_immediate_activate() argument 142 nft_immediate_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) nft_immediate_deactivate() argument 186 nft_immediate_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_immediate_destroy() argument 231 nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_immediate_dump() argument 246 nft_immediate_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **d) nft_immediate_validate() argument 300 nft_immediate_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) nft_immediate_offload() argument 314 nft_immediate_offload_action(const struct nft_expr *expr) nft_immediate_offload_action() argument 324 nft_immediate_reduce(struct nft_regs_track *track, const struct nft_expr *expr) nft_immediate_reduce() argument [all...] |
H A D | nft_dynset.c | 22 bool expr; member 33 struct nft_expr *expr; in nft_dynset_expr_setup() local 37 expr = nft_setelem_expr_at(elem_expr, elem_expr->size); in nft_dynset_expr_setup() 38 if (nft_expr_clone(expr, priv->expr_array[i]) < 0) in nft_dynset_expr_setup() 47 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new() argument 50 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_new() 80 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval() argument 83 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_eval() 94 expr, regs, &ext)) { in nft_dynset_eval() 128 struct nft_expr *expr; in nft_dynset_expr_alloc() local 160 nft_dynset_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_dynset_init() argument 339 nft_dynset_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) nft_dynset_deactivate() argument 348 nft_dynset_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_dynset_activate() argument 356 nft_dynset_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_dynset_destroy() argument 368 nft_dynset_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_dynset_dump() argument [all...] |
H A D | nft_hash.c | 26 static void nft_jhash_eval(const struct nft_expr *expr, in nft_jhash_eval() argument 30 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_eval() 46 static void nft_symhash_eval(const struct nft_expr *expr, in nft_symhash_eval() argument 50 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_eval() 70 const struct nft_expr *expr, in nft_jhash_init() 73 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_init() 117 const struct nft_expr *expr, in nft_symhash_init() 120 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_init() 142 const struct nft_expr *expr, bool reset) in nft_jhash_dump() 144 const struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_dump() 69 nft_jhash_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_jhash_init() argument 116 nft_symhash_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_symhash_init() argument 141 nft_jhash_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_jhash_dump() argument 168 nft_jhash_reduce(struct nft_regs_track *track, const struct nft_expr *expr) nft_jhash_reduce() argument 178 nft_symhash_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_symhash_dump() argument 198 nft_symhash_reduce(struct nft_regs_track *track, const struct nft_expr *expr) nft_symhash_reduce() argument [all...] |
H A D | nft_osf.c | 20 static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs, in nft_osf_eval() argument 23 struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_eval() 61 const struct nft_expr *expr, in nft_osf_init() 64 struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_init() 96 const struct nft_expr *expr, bool reset) in nft_osf_dump() 98 const struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_dump() 116 const struct nft_expr *expr, in nft_osf_validate() 137 const struct nft_expr *expr) in nft_osf_reduce() 139 struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_reduce() 142 if (!nft_reg_track_cmp(track, expr, pri in nft_osf_reduce() 60 nft_osf_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_osf_init() argument 95 nft_osf_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_osf_dump() argument 115 nft_osf_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) nft_osf_validate() argument 136 nft_osf_reduce(struct nft_regs_track *track, const struct nft_expr *expr) nft_osf_reduce() argument [all...] |
H A D | nft_fib.c | 29 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_validate() argument 32 const struct nft_fib *priv = nft_expr_priv(expr); in nft_fib_validate() 69 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_init() argument 72 struct nft_fib *priv = nft_expr_priv(expr); in nft_fib_init() 122 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) in nft_fib_dump() argument 124 const struct nft_fib *priv = nft_expr_priv(expr); in nft_fib_dump() 169 const struct nft_expr *expr) in nft_fib_reduce() 171 const struct nft_fib *priv = nft_expr_priv(expr); in nft_fib_reduce() 191 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { in nft_fib_reduce() 192 nft_reg_track_update(track, expr, pri in nft_fib_reduce() 168 nft_fib_reduce(struct nft_regs_track *track, const struct nft_expr *expr) nft_fib_reduce() argument [all...] |
H A D | nft_exthdr.c | 46 static void nft_exthdr_ipv6_eval(const struct nft_expr *expr, in nft_exthdr_ipv6_eval() argument 50 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_ipv6_eval() 141 static void nft_exthdr_ipv4_eval(const struct nft_expr *expr, in nft_exthdr_ipv4_eval() argument 145 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_ipv4_eval() 190 static void nft_exthdr_tcp_eval(const struct nft_expr *expr, in nft_exthdr_tcp_eval() argument 195 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_tcp_eval() 234 static void nft_exthdr_tcp_set_eval(const struct nft_expr *expr, in nft_exthdr_tcp_set_eval() argument 239 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_tcp_set_eval() 314 static void nft_exthdr_tcp_strip_eval(const struct nft_expr *expr, in nft_exthdr_tcp_strip_eval() argument 319 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_tcp_strip_eval() 371 nft_exthdr_sctp_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) nft_exthdr_sctp_eval() argument 412 nft_exthdr_dccp_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) nft_exthdr_dccp_eval() argument 498 nft_exthdr_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_exthdr_init() argument 546 nft_exthdr_tcp_set_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_exthdr_tcp_set_init() argument 595 nft_exthdr_tcp_strip_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_exthdr_tcp_strip_init() argument 617 nft_exthdr_ipv4_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_exthdr_ipv4_init() argument 639 nft_exthdr_dccp_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_exthdr_dccp_init() argument 673 nft_exthdr_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_exthdr_dump() argument 684 nft_exthdr_dump_set(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_exthdr_dump_set() argument 695 nft_exthdr_dump_strip(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_exthdr_dump_strip() argument 703 nft_exthdr_reduce(struct nft_regs_track *track, const struct nft_expr *expr) nft_exthdr_reduce() argument [all...] |
H A D | nft_queue.c | 28 static void nft_queue_eval(const struct nft_expr *expr, in nft_queue_eval() argument 32 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_eval() 55 static void nft_queue_sreg_eval(const struct nft_expr *expr, in nft_queue_sreg_eval() argument 59 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_eval() 72 const struct nft_expr *expr, in nft_queue_validate() 104 const struct nft_expr *expr, in nft_queue_init() 107 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_init() 133 const struct nft_expr *expr, in nft_queue_sreg_init() 136 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_init() 156 const struct nft_expr *expr, boo in nft_queue_dump() 71 nft_queue_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) nft_queue_validate() argument 103 nft_queue_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_queue_init() argument 132 nft_queue_sreg_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_queue_sreg_init() argument 155 nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_queue_dump() argument 172 nft_queue_sreg_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) nft_queue_sreg_dump() argument [all...] |
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | nft_meta.h | 18 const struct nft_expr *expr, 22 const struct nft_expr *expr, 26 const struct nft_expr *expr); 29 const struct nft_expr *expr); 31 void nft_meta_get_eval(const struct nft_expr *expr, 35 void nft_meta_set_eval(const struct nft_expr *expr, 40 const struct nft_expr *expr); 43 const struct nft_expr *expr,
|
H A D | nft_fib.h | 21 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr); 22 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, 24 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, 28 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 30 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, 33 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 35 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
|
H A D | nf_tables_core.h | 103 void nft_meta_get_eval(const struct nft_expr *expr, 105 void nft_cmp_eval(const struct nft_expr *expr, 107 void nft_lookup_eval(const struct nft_expr *expr, 109 void nft_payload_eval(const struct nft_expr *expr, 111 void nft_immediate_eval(const struct nft_expr *expr, 113 void nft_bitwise_eval(const struct nft_expr *expr, 115 void nft_range_eval(const struct nft_expr *expr, 117 void nft_byteorder_eval(const struct nft_expr *expr, 119 void nft_dynset_eval(const struct nft_expr *expr, 121 void nft_rt_get_eval(const struct nft_expr *expr, [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | symbol.c | 88 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 100 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 144 range_sym = prop->expr->left.sym; in sym_validate_range() 147 range_sym = prop->expr->right.sym; in sym_validate_range() 188 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 210 if (sym->dir_dep.expr) in sym_calc_visibility() 211 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 219 if (sym->rev_dep.expr) in sym_calc_visibility() 220 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 228 if (sym->implied.expr) in sym_calc_visibility() 1014 struct expr **expr; global() member [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | symbol.c | 87 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 99 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 143 range_sym = prop->expr->left.sym; in sym_validate_range() 146 range_sym = prop->expr->right.sym; in sym_validate_range() 187 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 209 if (sym->dir_dep.expr) in sym_calc_visibility() 210 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 218 if (sym->rev_dep.expr) in sym_calc_visibility() 219 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 227 if (sym->implied.expr) in sym_calc_visibility() 970 struct expr **expr; global() member [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_fwd_netdev.c | 24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval() argument 28 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_eval() 45 const struct nft_expr *expr, in nft_fwd_netdev_init() 48 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_init() 57 static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_netdev_dump() argument 59 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_dump() 72 const struct nft_expr *expr) in nft_fwd_netdev_offload() 74 const struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_offload() 80 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action() argument 91 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval() argument 44 nft_fwd_netdev_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_fwd_netdev_init() argument 70 nft_fwd_netdev_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) nft_fwd_netdev_offload() argument 152 nft_fwd_neigh_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_fwd_neigh_init() argument 187 nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr) nft_fwd_neigh_dump() argument 202 nft_fwd_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) nft_fwd_validate() argument [all...] |
H A D | nft_immediate.c | 18 void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval() argument 22 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_eval() 47 const struct nft_expr *expr, in nft_immediate_init() 50 struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_init() 96 const struct nft_expr *expr) in nft_immediate_activate() 98 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_activate() 143 const struct nft_expr *expr, in nft_immediate_deactivate() 146 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_deactivate() 187 const struct nft_expr *expr) in nft_immediate_destroy() 189 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_destroy() 46 nft_immediate_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_immediate_init() argument 95 nft_immediate_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_immediate_activate() argument 142 nft_immediate_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) nft_immediate_deactivate() argument 186 nft_immediate_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_immediate_destroy() argument 231 nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr) nft_immediate_dump() argument 245 nft_immediate_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **d) nft_immediate_validate() argument 299 nft_immediate_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) nft_immediate_offload() argument 313 nft_immediate_offload_action(const struct nft_expr *expr) nft_immediate_offload_action() argument [all...] |
H A D | nft_lookup.c | 26 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval() argument 30 const struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_eval() 61 const struct nft_expr *expr, in nft_lookup_init() 64 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_init() 122 const struct nft_expr *expr, in nft_lookup_deactivate() 125 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_deactivate() 131 const struct nft_expr *expr) in nft_lookup_activate() 133 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_activate() 139 const struct nft_expr *expr) in nft_lookup_destroy() 141 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_destroy() 60 nft_lookup_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_lookup_init() argument 121 nft_lookup_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) nft_lookup_deactivate() argument 130 nft_lookup_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_lookup_activate() argument 138 nft_lookup_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) nft_lookup_destroy() argument 146 nft_lookup_dump(struct sk_buff *skb, const struct nft_expr *expr) nft_lookup_dump() argument 197 nft_lookup_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **d) nft_lookup_validate() argument [all...] |
/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H A D | nft_meta_bridge.c | 24 static void nft_meta_bridge_get_eval(const struct nft_expr *expr, in nft_meta_bridge_get_eval() argument 28 const struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_bridge_get_eval() 63 return nft_meta_get_eval(expr, regs, pkt); in nft_meta_bridge_get_eval() 73 const struct nft_expr *expr, in nft_meta_bridge_get_init() 76 struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_bridge_get_init() 90 return nft_meta_get_init(ctx, expr, tb); in nft_meta_bridge_get_init() 108 static void nft_meta_bridge_set_eval(const struct nft_expr *expr, in nft_meta_bridge_set_eval() argument 112 const struct nft_meta *meta = nft_expr_priv(expr); in nft_meta_bridge_set_eval() 123 nft_meta_set_eval(expr, regs, pkt); in nft_meta_bridge_set_eval() 128 const struct nft_expr *expr, in nft_meta_bridge_set_init() 72 nft_meta_bridge_get_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_meta_bridge_get_init() argument 127 nft_meta_bridge_set_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) nft_meta_bridge_set_init() argument 152 nft_meta_bridge_set_reduce(struct nft_regs_track *track, const struct nft_expr *expr) nft_meta_bridge_set_reduce() argument 170 nft_meta_bridge_set_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) nft_meta_bridge_set_validate() argument [all...] |
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | nft_fib.h | 21 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset); 22 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, 24 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, 28 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 30 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, 33 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 35 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs, 42 const struct nft_expr *expr);
|
H A D | nf_tables_core.h | 131 void nft_meta_get_eval(const struct nft_expr *expr, 133 void nft_cmp_eval(const struct nft_expr *expr, 135 void nft_lookup_eval(const struct nft_expr *expr, 137 void nft_payload_eval(const struct nft_expr *expr, 139 void nft_immediate_eval(const struct nft_expr *expr, 141 void nft_bitwise_eval(const struct nft_expr *expr, 143 void nft_range_eval(const struct nft_expr *expr, 145 void nft_byteorder_eval(const struct nft_expr *expr, 147 void nft_dynset_eval(const struct nft_expr *expr, 149 void nft_rt_get_eval(const struct nft_expr *expr, [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | conditional.c | 19 * cond_evaluate_expr evaluates a conditional expr 24 static int cond_evaluate_expr(struct policydb *p, struct cond_expr *expr) in cond_evaluate_expr() argument 30 if (expr->len == 0) in cond_evaluate_expr() 33 for (i = 0; i < expr->len; i++) { in cond_evaluate_expr() 34 struct cond_expr_node *node = &expr->nodes[i]; in cond_evaluate_expr() 98 new_state = cond_evaluate_expr(p, &node->expr); in evaluate_cond_node() 142 kfree(node->expr.nodes); in cond_node_destroy() 361 static int expr_node_isvalid(struct policydb *p, struct cond_expr_node *expr) in expr_node_isvalid() argument 363 if (expr->expr_type <= 0 || expr in expr_node_isvalid() 396 struct cond_expr_node *expr = &node->expr.nodes[i]; cond_read_node() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | conditional.c | 19 * cond_evaluate_expr evaluates a conditional expr 24 static int cond_evaluate_expr(struct policydb *p, struct cond_expr *expr) in cond_evaluate_expr() argument 30 if (expr->len == 0) in cond_evaluate_expr() 33 for (i = 0; i < expr->len; i++) { in cond_evaluate_expr() 34 struct cond_expr_node *node = &expr->nodes[i]; in cond_evaluate_expr() 98 new_state = cond_evaluate_expr(p, &node->expr); in evaluate_cond_node() 142 kfree(node->expr.nodes); in cond_node_destroy() 362 static int expr_node_isvalid(struct policydb *p, struct cond_expr_node *expr) in expr_node_isvalid() argument 364 if (expr->expr_type <= 0 || expr in expr_node_isvalid() 397 struct cond_expr_node *expr = &node->expr.nodes[i]; cond_read_node() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | build_bug.h | 71 * true for expr). 77 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) 78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) 82 #define _Static_assert(expr, ...)
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_linux.h | 201 #define ASSERT_ALWAYS(expr) \ 202 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 205 #define ASSERT(expr) \ 206 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 212 #define ASSERT(expr) \ 213 (likely(expr) ? (void)0 : asswarn(NULL, #expr, __FILE__, __LINE__)) 217 #define ASSERT(expr) ((voi [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_linux.h | 204 #define ASSERT_ALWAYS(expr) \ 205 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 208 #define ASSERT(expr) \ 209 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 215 #define ASSERT(expr) \ 216 (likely(expr) ? (void)0 : asswarn(NULL, #expr, __FILE__, __LINE__)) 220 #define ASSERT(expr) ((voi [all...] |