Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 25 of 242) sorted by relevance

12345678910

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dmlx5hws_rule.c34 hws_rule_update_copy_tag(struct mlx5hws_rule *rule, in hws_rule_update_copy_tag()
55 struct mlx5hws_rule *rule, in hws_rule_init_dep_wqe()
93 static void hws_rule_move_get_rtc(struct mlx5hws_rule *rule, in hws_rule_move_get_rtc()
111 struct mlx5hws_rule *rule, in hws_rule_gen_comp()
131 hws_rule_save_resize_info(struct mlx5hws_rule *rule, in hws_rule_save_resize_info()
171 hws_rule_save_delete_info(struct mlx5hws_rule *rule, in hws_rule_save_delete_info()
187 hws_rule_clear_delete_info(struct mlx5hws_rule *rule) in hws_rule_clear_delete_info()
193 hws_rule_load_delete_info(struct mlx5hws_rule *rule, in hws_rule_load_delete_info()
323 static void hws_rule_move_init(struct mlx5hws_rule *rule, in hws_rule_move_init()
348 static int hws_rule_create_hws(struct mlx5hws_rule *rule, in hws_rule_create_hws()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmatch.c25 struct flow_rule *rule) in nfp_flower_compile_tci()
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()
320 struct flow_rule *rule) in nfp_flower_compile_vlan()
403 struct flow_rule *rule) in nfp_flower_compile_tun_ipv4_addrs()
419 struct flow_rule *rule) in nfp_flower_compile_tun_ipv6_addrs()
489 struct flow_rule *rule) in nfp_flower_compile_ipv4_gre_tun()
504 struct flow_rule *rule) in nfp_flower_compile_ipv4_udp_tun()
514 struct flow_rule *rule) in nfp_flower_compile_ipv6_udp_tun()
[all …]
/linux/drivers/net/ethernet/engleder/
A Dtsnep_rxnfc.c9 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
184 struct tsnep_rxnfc_rule *rule) in tsnep_rxnfc_check_rule()
207 struct tsnep_rxnfc_rule *rule, *old_rule; in tsnep_rxnfc_add_rule() local
[all …]
/linux/net/core/
A Dflow_offload.c12 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()
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_arp(const struct flow_rule *rule, in flow_rule_match_arp()
121 void flow_rule_match_ip(const struct flow_rule *rule, in flow_rule_match_ip()
142 void flow_rule_match_tcp(const struct flow_rule *rule, in flow_rule_match_tcp()
156 void flow_rule_match_icmp(const struct flow_rule *rule, in flow_rule_match_icmp()
163 void flow_rule_match_mpls(const struct flow_rule *rule, in flow_rule_match_mpls()
[all …]
A Dfib_rules.c86 struct fib_rule *rule; in fib_default_rule_pref() local
188 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local
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
520 struct fib_rule **rule, in fib_nl2rule()
984 struct fib_rule *rule) in fib_rule_nlmsg_size()
1093 struct fib_rule *rule; in dump_rules() local
1215 struct fib_rule *rule; in attach_rules() local
[all …]
/linux/net/ipv6/
A Dfib6_rules.c33 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
42 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
159 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
197 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
265 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action()
275 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress()
308 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match()
363 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
412 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete()
458 static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_fill()
[all …]
/linux/net/ipv4/
A Dfib_rules.c50 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
59 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
109 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action()
145 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress()
178 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match()
243 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
316 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
339 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
377 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
410 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
/linux/net/netfilter/
A Dnf_tables_core.c46 const struct nft_rule_dp *rule, in __nft_trace_packet()
61 const struct nft_rule_dp *rule, in nft_trace_packet()
113 const struct nft_rule_dp *rule, in __nft_trace_verdict()
140 const struct nft_rule_dp *rule, in nft_trace_verdict()
203 const struct nft_rule_dp *rule; member
243 #define nft_rule_expr_first(rule) (struct nft_expr *)&rule->data[0] argument
245 #define nft_rule_expr_last(rule) (struct nft_expr *)&rule->data[rule->dlen] argument
247 #define nft_rule_dp_for_each_expr(expr, last, rule) \ argument
258 const struct nft_rule_dp *rule; in nft_do_chain() local
/linux/drivers/net/dsa/sja1105/
A Dsja1105_flower.c10 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
349 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add() local
466 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_del() local
506 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_stats() local
537 struct sja1105_rule *rule; in sja1105_flower_teardown() local
A Dsja1105_vl.c12 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/drivers/net/ethernet/marvell/prestera/
A Dprestera_flower.c35 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()
192 struct prestera_acl_rule *rule, in prestera_flower_parse()
422 struct prestera_acl_rule *rule; in prestera_flower_replace() local
470 struct prestera_acl_rule *rule; in prestera_flower_destroy() local
490 struct prestera_acl_rule rule; in prestera_flower_tmplt_create() local
557 struct prestera_acl_rule *rule; in prestera_flower_stats() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_rule.c394 dr_rule_rehash_htbl(struct mlx5dr_rule *rule, in dr_rule_rehash_htbl()
588 static int dr_rule_add_action_members(struct mlx5dr_rule *rule, in dr_rule_add_action_members()
832 dr_rule_handle_ste_branch(struct mlx5dr_rule *rule, in dr_rule_handle_ste_branch()
1022 static int dr_rule_destroy_rule_nic(struct mlx5dr_rule *rule, in dr_rule_destroy_rule_nic()
1044 static int dr_rule_destroy_rule_fdb(struct mlx5dr_rule *rule) in dr_rule_destroy_rule_fdb()
1051 static int dr_rule_destroy_rule(struct mlx5dr_rule *rule) in dr_rule_destroy_rule()
1113 dr_rule_create_rule_nic(struct mlx5dr_rule *rule, in dr_rule_create_rule_nic()
1256 dr_rule_create_rule_fdb(struct mlx5dr_rule *rule, in dr_rule_create_rule_fdb()
1295 struct mlx5dr_rule *rule; in dr_rule_create_rule() local
1356 struct mlx5dr_rule *rule; in mlx5dr_rule_create() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c341 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_meta() local
409 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports() local
436 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports_range() local
498 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_tcp() local
529 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ip() local
562 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse() local
736 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_replace() local
786 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_destroy() local
809 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_stats() local
/linux/drivers/pnp/
A Dmanager.c23 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/drivers/net/ethernet/microchip/vcap/
A Dvcap_api.c532 vcap_copy_from_client_keyfield(struct vcap_rule *rule, in vcap_copy_from_client_keyfield()
884 int vcap_set_rule_set_keyset(struct vcap_rule *rule, in vcap_set_rule_set_keyset()
1908 bool vcap_rule_find_keysets(struct vcap_rule *rule, in vcap_rule_find_keysets()
2258 int vcap_add_rule(struct vcap_rule *rule) in vcap_add_rule()
2385 void vcap_free_rule(struct vcap_rule *rule) in vcap_free_rule()
2437 struct vcap_rule *rule; in vcap_get_rule() local
2455 int vcap_mod_rule(struct vcap_rule *rule) in vcap_mod_rule()
2670 static int vcap_rule_add_key(struct vcap_rule *rule, in vcap_rule_add_key()
2887 int vcap_rule_add_action_bit(struct vcap_rule *rule, in vcap_rule_add_action_bit()
3497 int vcap_filter_rule_keys(struct vcap_rule *rule, in vcap_filter_rule_keys()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtwfw.c18 struct rule { struct
25 __type(value, struct rule); argument
47 struct rule* rule = bpf_map_lookup_elem(&rules, &key); in twfw_verifier() local
/linux/drivers/net/ethernet/google/gve/
A Dgve_flow_rule.c12 struct gve_adminq_queried_flow_rule *rule) in gve_fill_ethtool_flow_spec()
107 struct gve_adminq_flow_rule *rule) in gve_generate_flow_rule()
201 struct gve_adminq_queried_flow_rule *rule = NULL; in gve_get_flow_rule_entry() local
266 struct gve_adminq_flow_rule *rule = NULL; in gve_add_flow_rule() local
/linux/security/apparmor/
A Daudit.c211 struct aa_audit_rule *rule = vrule; in aa_audit_rule_free() local
222 struct aa_audit_rule *rule; in aa_audit_rule_init() local
251 int aa_audit_rule_known(struct audit_krule *rule) in aa_audit_rule_known()
269 struct aa_audit_rule *rule = vrule; in aa_audit_rule_match() local
/linux/security/safesetid/
A Dsecurityfs.c32 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/drivers/net/ethernet/sfc/
A Dtc.c239 struct flow_rule *rule, in efx_tc_flower_parse_match()
971 struct efx_tc_lhs_rule *rule) in efx_tc_flower_handle_lhs_actions()
1459 struct efx_tc_lhs_rule *rule, *old; in efx_tc_flower_replace_foreign_lhs_ar() local
1563 struct efx_tc_lhs_rule *rule, *old; in efx_tc_flower_replace_foreign_lhs() local
1999 struct efx_tc_lhs_rule *rule, *old; in efx_tc_flower_replace_lhs() local
2074 struct efx_tc_flow_rule *rule = NULL, *old; in efx_tc_flower_replace() local
2558 struct efx_tc_flow_rule *rule; in efx_tc_flower_destroy() local
2725 struct efx_tc_flow_rule *rule = &efv->dflt; in efx_tc_configure_default_rule_rep() local
2735 struct efx_tc_flow_rule *rule) in efx_tc_deconfigure_default_rule()
2945 struct efx_tc_lhs_rule *rule = ptr; in efx_tc_lhs_free() local
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.c70 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/drivers/net/dsa/microchip/
A Dksz9477_tc_flower.c29 struct flow_rule *rule, in ksz9477_flower_parse_key_l2()
112 struct flow_rule *rule, in ksz9477_flower_parse_key()
162 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in ksz9477_flower_parse_action() local
218 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in ksz9477_cls_flower_add() local
/linux/include/net/
A Dfib_rules.h53 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/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_ethtool.c89 struct txgbe_fdir_filter *rule = NULL; in txgbe_get_ethtool_fdir_entry() local
152 struct txgbe_fdir_filter *rule; in txgbe_get_ethtool_fdir_all() local
245 struct txgbe_fdir_filter *rule = NULL; in txgbe_match_ethtool_fdir_entry() local
265 struct txgbe_fdir_filter *rule; in txgbe_update_ethtool_fdir_entry() local
/linux/drivers/net/ethernet/sfc/siena/
A Drx_common.c628 bool efx_siena_rps_check_rule(struct efx_arfs_rule *rule, in efx_siena_rps_check_rule()
669 struct efx_arfs_rule *rule; in efx_siena_rps_hash_find() local
688 struct efx_arfs_rule *rule; in efx_rps_hash_add() local
714 struct efx_arfs_rule *rule; in efx_siena_rps_hash_del() local
814 struct efx_arfs_rule *rule; in efx_filter_rfs_work() local
899 struct efx_arfs_rule *rule; in efx_siena_filter_rfs() local

Completed in 67 milliseconds

12345678910