/Linux-v5.4/net/core/ |
D | flow_offload.c | 10 struct flow_rule *rule; in flow_rule_alloc() local 30 void flow_rule_match_meta(const struct flow_rule *rule, in flow_rule_match_meta() 37 void flow_rule_match_basic(const struct flow_rule *rule, in flow_rule_match_basic() 44 void flow_rule_match_control(const struct flow_rule *rule, in flow_rule_match_control() 51 void flow_rule_match_eth_addrs(const struct flow_rule *rule, in flow_rule_match_eth_addrs() 58 void flow_rule_match_vlan(const struct flow_rule *rule, in flow_rule_match_vlan() 65 void flow_rule_match_cvlan(const struct flow_rule *rule, in flow_rule_match_cvlan() 72 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, in flow_rule_match_ipv4_addrs() 79 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, in flow_rule_match_ipv6_addrs() 86 void flow_rule_match_ip(const struct flow_rule *rule, in flow_rule_match_ip() [all …]
|
D | fib_rules.c | 23 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall() 72 struct fib_rule *rule; in fib_default_rule_pref() local 174 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local 245 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() 278 struct fib_rule *rule; in fib_rules_lookup() local 326 struct fib_rule *rule, int family) in call_fib_rule_notifier() 338 struct fib_rule *rule, in call_fib_rule_notifiers() 356 struct fib_rule *rule; in fib_rules_dump() local 387 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find() 490 struct fib_rule **rule, in fib_nl2rule() [all …]
|
/Linux-v5.4/net/ipv6/ |
D | fib6_rules.c | 30 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall() 39 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() 128 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr() 153 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() 191 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() 254 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action() 263 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress() 295 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match() 339 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure() 379 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete() [all …]
|
/Linux-v5.4/net/ipv4/ |
D | fib_rules.c | 47 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall() 56 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 105 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action() 140 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress() 171 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match() 218 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure() 281 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete() 304 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() 332 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill() 357 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 15 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_meta_tci() local 83 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_mac() local 135 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_tport() local 156 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_ip_ext() local 230 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_ipv4() local 252 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_ipv6() local 288 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_tun_ipv4_addrs() local 306 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_tun_ip_ext() local 324 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_ipv4_gre_tun() local 353 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_flower_compile_ipv4_udp_tun() local
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 143 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_meta() local 235 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports() local 262 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_tcp() local 293 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ip() local 326 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse() local 461 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_replace() local 507 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_destroy() local 529 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
|
D | spectrum_acl.c | 638 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_acl_rule_create() local 667 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_destroy() 677 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_add() 718 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_del() 737 struct mlxsw_sp_acl_rule *rule, in mlxsw_sp_acl_rule_action_replace() 760 mlxsw_sp_acl_rule_rulei(struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_rulei() 766 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_activity_update() 783 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_acl_rules_activity_update() local 824 struct mlxsw_sp_acl_rule *rule, in mlxsw_sp_acl_rule_get_stats()
|
/Linux-v5.4/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 17 struct ocelot_ace_rule *rule) in ocelot_flower_parse_action() 44 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in ocelot_flower_parse() local 174 struct ocelot_ace_rule *rule; in ocelot_ace_rule_create() local 188 struct ocelot_ace_rule *rule; in ocelot_flower_replace() local 212 struct ocelot_ace_rule rule; in ocelot_flower_destroy() local 230 struct ocelot_ace_rule rule; in ocelot_flower_stats_update() local
|
/Linux-v5.4/security/safesetid/ |
D | securityfs.c | 31 struct setuid_rule *rule) in parse_policy_line() 65 struct setuid_rule *rule; in __release_ruleset() local 79 static void insert_rule(struct setuid_ruleset *pol, struct setuid_rule *rule) in insert_rule() 87 struct setuid_rule *rule, *nrule; in verify_ruleset() local 136 struct setuid_rule *rule; in handle_policy_update() local
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_rule.c | 355 dr_rule_rehash_htbl(struct mlx5dr_rule *rule, in dr_rule_rehash_htbl() 472 static struct mlx5dr_ste_htbl *dr_rule_rehash(struct mlx5dr_rule *rule, in dr_rule_rehash() 530 static void dr_rule_remove_action_members(struct mlx5dr_rule *rule) in dr_rule_remove_action_members() 542 static int dr_rule_add_action_members(struct mlx5dr_rule *rule, in dr_rule_add_action_members() 582 static void dr_rule_clean_rule_members(struct mlx5dr_rule *rule, in dr_rule_clean_rule_members() 649 static int dr_rule_handle_action_stes(struct mlx5dr_rule *rule, in dr_rule_handle_action_stes() 765 dr_rule_handle_ste_branch(struct mlx5dr_rule *rule, in dr_rule_handle_ste_branch() 935 static int dr_rule_destroy_rule_nic(struct mlx5dr_rule *rule, in dr_rule_destroy_rule_nic() 942 static int dr_rule_destroy_rule_fdb(struct mlx5dr_rule *rule) in dr_rule_destroy_rule_fdb() 949 static int dr_rule_destroy_rule(struct mlx5dr_rule *rule) in dr_rule_destroy_rule() [all …]
|
/Linux-v5.4/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-v5.4/security/apparmor/ |
D | audit.c | 169 struct aa_audit_rule *rule = vrule; in aa_audit_rule_free() local 180 struct aa_audit_rule *rule; in aa_audit_rule_init() local 208 int aa_audit_rule_known(struct audit_krule *rule) in aa_audit_rule_known() 226 struct aa_audit_rule *rule = vrule; in aa_audit_rule_match() local
|
/Linux-v5.4/net/decnet/ |
D | dn_rules.c | 68 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action() 108 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match() 122 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure() 164 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare() 202 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill()
|
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 70 struct aq_rx_filter *rule; in aq_rule_already_exists() local 426 struct aq_rx_filter *rule = NULL; in aq_del_fvlan_by_vlan() local 626 struct aq_rx_filter *rule = NULL, *parent = NULL; in aq_update_table_filters() local 713 struct aq_rx_filter *rule = NULL; in aq_del_rxnfc_rule() local 737 struct aq_rx_filter *rule = NULL; in aq_get_rxnfc_rule() local 758 struct aq_rx_filter *rule; in aq_get_rxnfc_all_rules() local 780 struct aq_rx_filter *rule; in aq_clear_rxnfc_all_rules() local 801 struct aq_rx_filter *rule; in aq_reapply_rxnfc_all_rules() local
|
/Linux-v5.4/include/net/ |
D | fib_rules.h | 52 struct fib_rule *rule; member 102 struct fib_rule *rule; member 124 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get() 129 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put() 136 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() 142 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() 181 static inline bool fib_rule_requires_fldissect(struct fib_rule *rule) in fib_rule_requires_fldissect()
|
/Linux-v5.4/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 545 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_find() local 558 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_cmp() local 877 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_set() local 973 struct cfp_rule *rule; in bcm_sf2_cfp_rule_del() local 1014 struct cfp_rule *rule; in bcm_sf2_cfp_rule_get() local 1162 struct cfp_rule *rule, *n; in bcm_sf2_cfp_exit() local 1174 struct cfp_rule *rule; in bcm_sf2_cfp_resume() local 1259 struct cfp_rule *rule; in bcm_sf2_cfp_get_ethtool_stats() local
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_arfs.c | 57 struct mlx5_flow_handle *rule; member 404 struct arfs_rule *rule; in arfs_del_rules() local 460 struct mlx5_flow_handle *rule = NULL; in arfs_add_rule() local 553 struct mlx5_flow_handle *rule, u16 rxq) in arfs_modify_rule_rq() 572 struct mlx5_flow_handle *rule; in arfs_handle_work() local 604 struct arfs_rule *rule; in arfs_alloc_rule() local
|
/Linux-v5.4/sound/core/ |
D | pcm_drm_eld.c | 26 struct snd_pcm_hw_rule *rule) in eld_limit_rates() 54 struct snd_pcm_hw_rule *rule) in eld_limit_channels()
|
/Linux-v5.4/kernel/ |
D | audit_fsnotify.c | 31 struct audit_krule *rule; member 117 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change() local 147 struct audit_krule *rule = audit_mark->rule; in audit_autoremove_mark_rule() local
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_geneve.c | 25 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_check_udp_dport_geneve() local 127 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_geneve_vni() local 161 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_geneve_options() local
|
D | tc_tun_vxlan.c | 21 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_check_udp_dport_vxlan() local 107 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_vxlan() local
|
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1062 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid() 1067 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm() 1072 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi() 1077 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim() 1082 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio() 1088 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom() 1095 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
|
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 398 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_basic_flow() local 415 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_ip4_flow() local 450 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_ports_flow() local 526 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_flow() local
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_flower.c | 87 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_process_flow_match() local 229 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_validate_flow_match() local 385 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_process_flow_actions() local 550 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_validate_flow_actions() local
|