Home
last modified time | relevance | path

Searched defs:rule (Results 26 – 50 of 228) sorted by relevance

12345678910

/Linux-v6.6/drivers/net/ethernet/microchip/vcap/
Dvcap_api_kunit.c33 struct vcap_rule *rule, in test_val_keyset()
75 struct vcap_rule *rule) in test_add_def_fields()
250 struct vcap_rule *rule; in test_vcap_xn_rule_creator() local
589 struct vcap_rule_internal rule = { in vcap_api_encode_keyfield_test() local
650 struct vcap_rule_internal rule = { in vcap_api_encode_max_keyfield_test() local
713 struct vcap_rule_internal rule = { in vcap_api_encode_actionfield_test() local
834 struct vcap_rule_internal rule = { in vcap_api_encode_rule_keyset_test() local
944 struct vcap_rule_internal rule = { in vcap_api_encode_rule_actionset_test() local
997 static void vcap_free_ckf(struct vcap_rule *rule) in vcap_free_ckf()
1019 struct vcap_rule *rule = (struct vcap_rule *)&ri; in vcap_api_rule_add_keyvalue_test() local
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c22 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_check_udp_dport_vxlan() local
114 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_vxlan_gbp_option() local
163 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_vxlan() local
Dfs_tt_redirect.c58 void mlx5e_fs_tt_redirect_del_rule(struct mlx5_flow_handle *rule) in mlx5e_fs_tt_redirect_del_rule()
86 struct mlx5_flow_handle *rule; in mlx5e_fs_tt_redirect_udp_add_rule() local
121 struct mlx5_flow_handle *rule; in fs_udp_add_default_rule() local
370 struct mlx5_flow_handle *rule; in mlx5e_fs_tt_redirect_any_add_rule() local
402 struct mlx5_flow_handle *rule; in fs_any_add_default_rule() local
Dtc_tun_geneve.c25 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
/Linux-v6.6/kernel/
Daudit_fsnotify.c31 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-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vcap_impl.c270 struct vcap_rule *rule, in lan966x_vcap_validate_keyset()
316 static bool lan966x_vcap_is2_is_first_chain(struct vcap_rule *rule) in lan966x_vcap_is2_is_first_chain()
324 struct vcap_rule *rule) in lan966x_vcap_is1_add_default_fields()
340 struct vcap_rule *rule) in lan966x_vcap_is2_add_default_fields()
359 struct vcap_rule *rule) in lan966x_vcap_es0_add_default_fields()
367 struct vcap_rule *rule) in lan966x_vcap_add_default_fields()
/Linux-v6.6/drivers/net/ethernet/sfc/
Drx_common.c681 bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx, in efx_rps_check_rule()
722 struct efx_arfs_rule *rule; in efx_rps_hash_find() local
741 struct efx_arfs_rule *rule; in efx_rps_hash_add() local
766 struct efx_arfs_rule *rule; in efx_rps_hash_del() local
862 struct efx_arfs_rule *rule; in efx_filter_rfs_work() local
946 struct efx_arfs_rule *rule; in efx_filter_rfs() local
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Drx_common.c683 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
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_acl.c383 struct prestera_acl_rule *rule; in prestera_acl_ruleset_prio_refresh() local
400 prestera_acl_rule_keymask_pcl_id_set(struct prestera_acl_rule *rule, u16 pcl_id) in prestera_acl_rule_keymask_pcl_id_set()
439 struct prestera_acl_rule *rule; in prestera_acl_rule_create() local
454 void prestera_acl_rule_priority_set(struct prestera_acl_rule *rule, in prestera_acl_rule_priority_set()
460 void prestera_acl_rule_destroy(struct prestera_acl_rule *rule) in prestera_acl_rule_destroy()
478 struct prestera_acl_rule *rule) in prestera_acl_rule_add()
530 struct prestera_acl_rule *rule) in prestera_acl_rule_del()
549 struct prestera_acl_rule *rule, in prestera_acl_rule_get_stats()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c82 struct mlx5_flow_handle *rule; member
448 struct arfs_rule *rule; in arfs_del_rules() local
504 struct mlx5_flow_handle *rule = NULL; in arfs_add_rule() local
600 struct mlx5_flow_handle *rule, u16 rxq) in arfs_modify_rule_rq()
622 struct mlx5_flow_handle *rule; in arfs_handle_work() local
657 struct arfs_rule *rule; in arfs_alloc_rule() local
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c462 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_basic_flow() local
480 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_ip4_flow() local
515 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_ports_flow() local
591 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_flow() local
665 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_vlan_flow() local
736 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_ethtype_flow() local
/Linux-v6.6/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1039 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid()
1044 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm()
1049 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi()
1054 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim()
1059 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio()
1065 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom()
1072 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c199 struct mlx5_flow_handle *rule; in mlx5_generate_ttc_rule() local
248 struct mlx5_ttc_rule *rule = &rules[tt]; in mlx5_generate_ttc_table_rules() local
364 struct mlx5_flow_handle *rule; in mlx5_generate_inner_ttc_rule() local
409 struct mlx5_ttc_rule *rule = &rules[tt]; in mlx5_generate_inner_ttc_table_rules() local
Dmacsec_fs.c67 struct mlx5_flow_handle *rule; member
72 struct mlx5_flow_handle *rule; member
130 struct mlx5_flow_handle *rule[RX_NUM_OF_RULES_PER_SA]; member
136 struct mlx5_flow_handle *rule; member
143 struct mlx5_flow_handle *rule; member
402 struct mlx5_flow_handle *rule; in macsec_fs_tx_create() local
813 struct mlx5_flow_handle *rule; in macsec_fs_tx_add_rule() local
1148 struct mlx5_flow_handle *rule; in macsec_fs_rx_create_check_decap_rule() local
1222 struct mlx5_flow_handle *rule; in macsec_fs_rx_roce_miss_create() local
1330 struct mlx5_flow_handle *rule; in macsec_fs_rx_roce_jump_to_rdma_rules_create() local
[all …]
/Linux-v6.6/drivers/net/dsa/sja1105/
Dsja1105_vl.h44 int port, struct sja1105_rule *rule, in sja1105_vl_delete()
64 struct sja1105_rule *rule, in sja1105_vl_stats()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c58 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in is_pre_ct_flow() local
90 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in is_post_ct_flow() local
135 static void *get_mangled_key(struct flow_rule *rule, void *buf, in get_mangled_key()
172 static void *get_mangled_tos_ttl(struct flow_rule *rule, void *buf, in get_mangled_tos_ttl()
484 struct flow_rule *rule) in nfp_ct_check_vlan_merge()
1401 static struct net_device *get_netdev_from_rule(struct flow_rule *rule) in get_netdev_from_rule()
1715 static struct flow_action_entry *get_flow_act_ct(struct flow_rule *rule) in get_flow_act_ct()
1731 static struct flow_action_entry *get_flow_act(struct flow_rule *rule, in get_flow_act()
1865 struct flow_rule *rule = flow_cls_offload_flow_rule(flow); in nfp_fl_ct_handle_post_ct() local
/Linux-v6.6/net/netfilter/
Dnft_immediate.c102 struct nft_rule *rule; in nft_immediate_activate() local
133 struct nft_rule *rule; in nft_immediate_chain_deactivate() local
191 struct nft_rule *rule, *n; in nft_immediate_destroy() local
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vcap_impl.c282 static bool sparx5_vcap_is0_is_first_chain(struct vcap_rule *rule) in sparx5_vcap_is0_is_first_chain()
293 static bool sparx5_vcap_is2_is_first_chain(struct vcap_rule *rule) in sparx5_vcap_is2_is_first_chain()
301 static bool sparx5_vcap_es2_is_first_chain(struct vcap_rule *rule) in sparx5_vcap_es2_is_first_chain()
308 static void sparx5_vcap_add_ingress_range_port_mask(struct vcap_rule *rule, in sparx5_vcap_add_ingress_range_port_mask()
324 static void sparx5_vcap_add_wide_port_mask(struct vcap_rule *rule, in sparx5_vcap_add_wide_port_mask()
339 static void sparx5_vcap_add_egress_range_port_mask(struct vcap_rule *rule, in sparx5_vcap_add_egress_range_port_mask()
762 struct vcap_rule *rule, in sparx5_vcap_validate_keyset()
818 struct vcap_rule *rule) in sparx5_vcap_ingress_add_default_fields()
850 struct vcap_rule *rule) in sparx5_vcap_es0_add_default_fields()
862 struct vcap_rule *rule) in sparx5_vcap_es2_add_default_fields()
[all …]
/Linux-v6.6/sound/core/
Dpcm_drm_eld.c93 struct snd_pcm_hw_rule *rule) in eld_limit_rates()
121 struct snd_pcm_hw_rule *rule) in eld_limit_channels()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c988 struct rvu_npc_mcam_rule *rule) in rvu_mcam_add_rule()
1005 struct rvu_npc_mcam_rule *rule) in rvu_mcam_remove_counter_from_rule()
1021 struct rvu_npc_mcam_rule *rule, in rvu_mcam_add_counter_to_rule()
1145 struct rvu_npc_mcam_rule *rule; in npc_install_flow() local
1413 static int npc_delete_flow(struct rvu *rvu, struct rvu_npc_mcam_rule *rule, in npc_delete_flow()
1483 struct rvu_npc_mcam_rule *rule, in npc_update_dmac_value()
1518 struct rvu_npc_mcam_rule *rule; in npc_mcam_enable_flows() local
1599 struct rvu_npc_mcam_rule *rule; in npc_install_mcam_drop_rule() local
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c820 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_acl_rule_create() local
849 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_destroy()
859 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_add()
903 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_del()
924 struct mlxsw_sp_acl_rule *rule, in mlxsw_sp_acl_rule_action_replace()
947 mlxsw_sp_acl_rule_rulei(struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_rulei()
953 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_activity_update()
970 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_acl_rules_activity_update() local
1010 struct mlxsw_sp_acl_rule *rule, in mlxsw_sp_acl_rule_get_stats()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c14 struct mlx5_flow_handle *rule; member
47 struct accel_rule rule; member
107 struct mlx5_flow_handle *rule; in accel_rule_handle_work() local
123 static void accel_rule_init(struct accel_rule *rule, struct mlx5e_priv *priv) in accel_rule_init()
588 struct accel_rule *rule = &priv_rx->rule; in mlx5e_ktls_handle_ctx_completion() local
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5105 struct hclge_fd_rule *rule) in hclge_fd_free_node()
5164 struct hclge_fd_rule *rule; in hclge_find_fd_rule() local
5183 struct hclge_fd_rule *rule, in hclge_fd_insert_rule_node()
5249 struct hclge_fd_rule *rule) in hclge_fd_check_user_def_refcnt()
5285 struct hclge_fd_rule *rule) in hclge_fd_inc_user_def_refcnt()
5302 struct hclge_fd_rule *rule) in hclge_fd_dec_user_def_refcnt()
5602 struct hclge_fd_rule *rule) in hclge_fd_convert_tuple()
5684 struct hclge_fd_rule *rule) in hclge_fd_convert_meta_data()
5725 struct hclge_fd_rule *rule) in hclge_config_key()
5782 struct hclge_fd_rule *rule) in hclge_config_action()
[all …]
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c163 struct flow_rule *rule, in cxgb4_process_flow_match()
309 struct flow_rule *rule) in cxgb4_validate_flow_match()
855 int cxgb4_flow_rule_replace(struct net_device *dev, struct flow_rule *rule, in cxgb4_flow_rule_replace()
929 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_tc_flower_replace() local
/Linux-v6.6/sound/soc/fsl/
Dfsl_qmc_audio.c352 struct snd_pcm_hw_rule *rule) in qmc_dai_hw_rule_playback_channels_by_format()
361 struct snd_pcm_hw_rule *rule) in qmc_dai_hw_rule_capture_channels_by_format()
399 struct snd_pcm_hw_rule *rule) in qmc_dai_hw_rule_playback_format_by_channels()
408 struct snd_pcm_hw_rule *rule) in qmc_dai_hw_rule_capture_format_by_channels()

12345678910