/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 25 struct flow_rule *rule) in nfp_flower_compile_tci() 54 struct flow_rule *rule, u8 key_type, bool qinq_sup) in nfp_flower_compile_meta_tci() 97 struct flow_rule *rule) in nfp_flower_compile_mac() 121 struct flow_rule *rule, in nfp_flower_compile_mpls() 176 struct flow_rule *rule, in nfp_flower_compile_mac_mpls() 190 struct flow_rule *rule) in nfp_flower_compile_tport() 210 struct nfp_flower_ip_ext *msk, struct flow_rule *rule) in nfp_flower_compile_ip_ext() 320 struct flow_rule *rule) in nfp_flower_compile_vlan() 336 struct nfp_flower_ipv4 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv4() 358 struct nfp_flower_ipv6 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv6() [all …]
|
/linux-6.1.9/drivers/net/ethernet/engleder/ |
D | tsnep_rxnfc.c | 9 struct tsnep_rxnfc_rule *rule) in tsnep_enable_rule() 29 struct tsnep_rxnfc_rule *rule) in tsnep_disable_rule() 41 struct tsnep_rxnfc_rule *rule; in tsnep_get_rule() local 54 struct tsnep_rxnfc_rule *rule) in tsnep_add_rule() 72 struct tsnep_rxnfc_rule *rule) in tsnep_delete_rule() 84 struct tsnep_rxnfc_rule *rule, *tmp; in tsnep_flush_rules() local 98 struct tsnep_rxnfc_rule *rule = NULL; in tsnep_rxnfc_get_rule() local 128 struct tsnep_rxnfc_rule *rule; in tsnep_rxnfc_get_all() local 171 static void tsnep_rxnfc_init_rule(struct tsnep_rxnfc_rule *rule, in tsnep_rxnfc_init_rule() 184 struct tsnep_rxnfc_rule *rule) in tsnep_rxnfc_check_rule() [all …]
|
/linux-6.1.9/net/core/ |
D | flow_offload.c | 12 struct flow_rule *rule; in flow_rule_alloc() local 58 void flow_rule_match_meta(const struct flow_rule *rule, in flow_rule_match_meta() 65 void flow_rule_match_basic(const struct flow_rule *rule, in flow_rule_match_basic() 72 void flow_rule_match_control(const struct flow_rule *rule, in flow_rule_match_control() 79 void flow_rule_match_eth_addrs(const struct flow_rule *rule, in flow_rule_match_eth_addrs() 86 void flow_rule_match_vlan(const struct flow_rule *rule, in flow_rule_match_vlan() 93 void flow_rule_match_cvlan(const struct flow_rule *rule, in flow_rule_match_cvlan() 100 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, in flow_rule_match_ipv4_addrs() 107 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, in flow_rule_match_ipv6_addrs() 114 void flow_rule_match_ip(const struct flow_rule *rule, in flow_rule_match_ip() [all …]
|
D | fib_rules.c | 37 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall() 86 struct fib_rule *rule; in fib_default_rule_pref() local 188 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local 259 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() 295 struct fib_rule *rule; in fib_rules_lookup() local 349 struct fib_rule *rule, int family, in call_fib_rule_notifier() 363 struct fib_rule *rule, in call_fib_rule_notifiers() 382 struct fib_rule *rule; in fib_rules_dump() local 417 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find() 520 struct fib_rule **rule, in fib_nl2rule() [all …]
|
/linux-6.1.9/net/ipv6/ |
D | fib6_rules.c | 32 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall() 41 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() 133 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr() 158 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() 196 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() 260 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action() 270 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress() 303 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match() 344 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure() 390 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete() [all …]
|
/linux-6.1.9/net/ipv4/ |
D | fib_rules.c | 49 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall() 58 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 108 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action() 144 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress() 177 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match() 220 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure() 289 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete() 312 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() 340 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill() 365 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | tc.c | 101 static void efx_tc_delete_rule(struct efx_nic *efx, struct efx_tc_flow_rule *rule) in efx_tc_delete_rule() 112 struct efx_tc_flow_rule *rule = ptr; in efx_tc_flow_free() local 128 struct flow_rule *rule, in efx_tc_flower_parse_match() 178 struct efx_tc_flow_rule *rule = NULL, *old; in efx_tc_flower_replace() local 386 struct efx_tc_flow_rule *rule; in efx_tc_flower_destroy() local 438 u32 eg_port, struct efx_tc_flow_rule *rule) in efx_tc_configure_default_rule() 477 struct efx_tc_flow_rule *rule = &efx->tc->dflt.pf; in efx_tc_configure_default_rule_pf() local 487 struct efx_tc_flow_rule *rule = &efx->tc->dflt.wire; in efx_tc_configure_default_rule_wire() local 497 struct efx_tc_flow_rule *rule = &efv->dflt; in efx_tc_configure_default_rule_rep() local 507 struct efx_tc_flow_rule *rule) in efx_tc_deconfigure_default_rule()
|
D | rx_common.c | 678 bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx, in efx_rps_check_rule() 719 struct efx_arfs_rule *rule; in efx_rps_hash_find() local 738 struct efx_arfs_rule *rule; in efx_rps_hash_add() local 763 struct efx_arfs_rule *rule; in efx_rps_hash_del() local 859 struct efx_arfs_rule *rule; in efx_filter_rfs_work() local 943 struct efx_arfs_rule *rule; in efx_filter_rfs() local
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flower.c | 35 struct prestera_acl_rule *rule, in prestera_flower_parse_goto_action() 62 struct prestera_acl_rule *rule, in prestera_flower_parse_actions() 139 static int prestera_flower_parse_meta(struct prestera_acl_rule *rule, in prestera_flower_parse_meta() 186 struct prestera_acl_rule *rule, in prestera_flower_parse() 412 struct prestera_acl_rule *rule; in prestera_flower_replace() local 460 struct prestera_acl_rule *rule; in prestera_flower_destroy() local 480 struct prestera_acl_rule rule; in prestera_flower_tmplt_create() local 547 struct prestera_acl_rule *rule; in prestera_flower_stats() local
|
/linux-6.1.9/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 10 struct sja1105_rule *rule; in sja1105_rule_find() local 36 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_setup_bcast_policer() local 108 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_setup_tc_policer() local 200 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_flower_parse_key() local 346 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add() local 463 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_del() local 503 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_stats() local 534 struct sja1105_rule *rule; in sja1105_flower_teardown() local
|
D | sja1105_vl.c | 12 struct sja1105_rule *rule, in sja1105_insert_gate_entry() 95 struct sja1105_rule *rule; in sja1105_compose_gating_subschedule() local 320 struct sja1105_rule *rule; in sja1105_init_virtual_links() local 481 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_init_virtual_links() local 511 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_vl_redirect() local 556 struct sja1105_rule *rule, struct netlink_ext_ack *extack) in sja1105_vl_delete() 587 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_vl_gate() local 763 struct sja1105_rule *rule, struct flow_stats *stats, in sja1105_vl_stats()
|
/linux-6.1.9/net/netfilter/ |
D | nf_tables_core.c | 40 const struct nft_rule_dp *rule, in nft_trace_packet() 121 const struct nft_rule_dp *rule, in nft_trace_verdict() 187 const struct nft_rule_dp *rule; member 217 #define nft_rule_expr_first(rule) (struct nft_expr *)&rule->data[0] argument 219 #define nft_rule_expr_last(rule) (struct nft_expr *)&rule->data[rule->dlen] argument 220 #define nft_rule_next(rule) (void *)rule + sizeof(*rule) + rule->dlen argument 222 #define nft_rule_dp_for_each_expr(expr, last, rule) \ argument 231 const struct nft_rule_dp *rule, *last_rule; in nft_do_chain() local
|
D | nf_tables_offload.c | 88 const struct nft_rule *rule) in nft_flow_rule_create() 243 const struct nft_rule *rule, in nft_flow_cls_offload_setup() 264 const struct nft_rule *rule, in nft_flow_offload_cmd() 284 struct nft_rule *rule, in nft_flow_offload_rule() 294 const struct nft_rule *rule) in nft_flow_rule_stats() 327 struct nft_rule *rule; in nft_flow_offload_unbind() local
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_rule.c | 367 dr_rule_rehash_htbl(struct mlx5dr_rule *rule, in dr_rule_rehash_htbl() 487 static struct mlx5dr_ste_htbl *dr_rule_rehash(struct mlx5dr_rule *rule, in dr_rule_rehash() 548 static void dr_rule_remove_action_members(struct mlx5dr_rule *rule) in dr_rule_remove_action_members() 560 static int dr_rule_add_action_members(struct mlx5dr_rule *rule, in dr_rule_add_action_members() 633 static void dr_rule_clean_rule_members(struct mlx5dr_rule *rule, in dr_rule_clean_rule_members() 683 static int dr_rule_handle_action_stes(struct mlx5dr_rule *rule, in dr_rule_handle_action_stes() 805 dr_rule_handle_ste_branch(struct mlx5dr_rule *rule, in dr_rule_handle_ste_branch() 995 static int dr_rule_destroy_rule_nic(struct mlx5dr_rule *rule, in dr_rule_destroy_rule_nic() 1017 static int dr_rule_destroy_rule_fdb(struct mlx5dr_rule *rule) in dr_rule_destroy_rule_fdb() 1024 static int dr_rule_destroy_rule(struct mlx5dr_rule *rule) in dr_rule_destroy_rule() [all …]
|
/linux-6.1.9/drivers/pnp/ |
D | manager.c | 23 unsigned char rule, in pnp_find_resource() 38 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) in pnp_assign_port() 81 static int pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) in pnp_assign_mem() 132 static int pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) in pnp_assign_irq() 191 static int pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) in pnp_assign_dma()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | twfw.c | 18 struct rule { struct 25 __type(value, struct rule); argument 47 struct rule* rule = bpf_map_lookup_elem(&rules, &key); in twfw_verifier() local
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 288 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_meta() local 380 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports() local 407 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_tcp() local 438 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ip() local 471 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse() local 635 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_replace() local 685 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_destroy() local 708 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_stats() local
|
D | spectrum2_mr_tcam.c | 184 mlxsw_sp2_mr_tcam_rule_parse(struct mlxsw_sp_acl_rule *rule, in mlxsw_sp2_mr_tcam_rule_parse() 215 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_create() local 248 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_destroy() local 272 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_update() local
|
/linux-6.1.9/security/apparmor/ |
D | audit.c | 167 struct aa_audit_rule *rule = vrule; in aa_audit_rule_free() local 178 struct aa_audit_rule *rule; in aa_audit_rule_init() local 207 int aa_audit_rule_known(struct audit_krule *rule) in aa_audit_rule_known() 225 struct aa_audit_rule *rule = vrule; in aa_audit_rule_match() local
|
/linux-6.1.9/security/safesetid/ |
D | securityfs.c | 32 struct setid_rule *rule) in parse_policy_line() 75 struct setid_rule *rule; in __release_ruleset() local 88 static void insert_rule(struct setid_ruleset *pol, struct setid_rule *rule) in insert_rule() 101 struct setid_rule *rule, *nrule; in verify_ruleset() local 166 struct setid_rule *rule; in handle_policy_update() local
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 70 struct aq_rx_filter *rule; in aq_rule_already_exists() local 434 struct aq_rx_filter *rule = NULL; in aq_del_fvlan_by_vlan() local 634 struct aq_rx_filter *rule = NULL, *parent = NULL; in aq_update_table_filters() local 721 struct aq_rx_filter *rule = NULL; in aq_del_rxnfc_rule() local 745 struct aq_rx_filter *rule = NULL; in aq_get_rxnfc_rule() local 766 struct aq_rx_filter *rule; in aq_get_rxnfc_all_rules() local 788 struct aq_rx_filter *rule; in aq_clear_rxnfc_all_rules() local 809 struct aq_rx_filter *rule; in aq_reapply_rxnfc_all_rules() local
|
/linux-6.1.9/include/net/ |
D | fib_rules.h | 53 struct fib_rule *rule; member 102 struct fib_rule *rule; member 105 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get() 110 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put() 117 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() 123 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() 162 static inline bool fib_rule_requires_fldissect(struct fib_rule *rule) in fib_rule_requires_fldissect()
|
/linux-6.1.9/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 570 struct cfp_rule *rule; in bcm_sf2_cfp_rule_find() local 583 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_cmp() local 930 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_set() local 1026 struct cfp_rule *rule; in bcm_sf2_cfp_rule_del() local 1067 struct cfp_rule *rule; in bcm_sf2_cfp_rule_get() local 1215 struct cfp_rule *rule, *n; in bcm_sf2_cfp_exit() local 1227 struct cfp_rule *rule; in bcm_sf2_cfp_resume() local 1312 struct cfp_rule *rule; in bcm_sf2_cfp_get_ethtool_stats() local
|
/linux-6.1.9/kernel/ |
D | audit_fsnotify.c | 31 struct audit_krule *rule; member 118 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change() local 148 struct audit_krule *rule = audit_mark->rule; in audit_autoremove_mark_rule() local
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | rx_common.c | 683 bool efx_siena_rps_check_rule(struct efx_arfs_rule *rule, in efx_siena_rps_check_rule() 724 struct efx_arfs_rule *rule; in efx_siena_rps_hash_find() local 743 struct efx_arfs_rule *rule; in efx_rps_hash_add() local 769 struct efx_arfs_rule *rule; in efx_siena_rps_hash_del() local 869 struct efx_arfs_rule *rule; in efx_filter_rfs_work() local 954 struct efx_arfs_rule *rule; in efx_siena_filter_rfs() local
|