Home
last modified time | relevance | path

Searched refs:rule (Results 126 - 150 of 869) sorted by relevance

12345678910>>...35

/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_tables_trace.c128 const struct nft_rule_dp *rule, in nf_trace_fill_rule_info()
131 if (!rule || rule->is_last) in nf_trace_fill_rule_info()
137 * Since no rule matched, the ->rule pointer is invalid. in nf_trace_fill_rule_info()
144 cpu_to_be64(rule->handle), in nf_trace_fill_rule_info()
170 static const struct nft_chain *nft_trace_get_chain(const struct nft_rule_dp *rule, in nft_trace_get_chain() argument
175 if (!rule) in nft_trace_get_chain()
178 while (!rule->is_last) in nft_trace_get_chain()
179 rule in nft_trace_get_chain()
126 nf_trace_fill_rule_info(struct sk_buff *nlskb, const struct nft_verdict *verdict, const struct nft_rule_dp *rule, const struct nft_traceinfo *info) nf_trace_fill_rule_info() argument
189 nft_trace_notify(const struct nft_pktinfo *pkt, const struct nft_verdict *verdict, const struct nft_rule_dp *rule, struct nft_traceinfo *info) nft_trace_notify() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Drx_common.c694 bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx, in efx_rps_check_rule() argument
697 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { in efx_rps_check_rule()
701 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { in efx_rps_check_rule()
703 * of date. Remove the filter and the ARFS rule entry. in efx_rps_check_rule()
705 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_rps_check_rule()
708 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ in efx_rps_check_rule()
710 * not mark the rule with EFX_ARFS_FILTER_ID_REMOVING, it will in efx_rps_check_rule()
735 struct efx_arfs_rule *rule; in efx_rps_hash_find() local
743 rule = container_of(node, struct efx_arfs_rule, node); in efx_rps_hash_find()
744 if (efx_filter_spec_equal(spec, &rule in efx_rps_hash_find()
754 struct efx_arfs_rule *rule; efx_rps_hash_add() local
779 struct efx_arfs_rule *rule; efx_rps_hash_del() local
881 struct efx_arfs_rule *rule; efx_filter_rfs_work() local
965 struct efx_arfs_rule *rule; efx_filter_rfs() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Drx_common.c681 bool efx_rps_check_rule(struct efx_arfs_rule *rule, unsigned int filter_idx, in efx_rps_check_rule() argument
684 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { in efx_rps_check_rule()
688 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { in efx_rps_check_rule()
690 * of date. Remove the filter and the ARFS rule entry. in efx_rps_check_rule()
692 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_rps_check_rule()
695 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ in efx_rps_check_rule()
697 * not mark the rule with EFX_ARFS_FILTER_ID_REMOVING, it will in efx_rps_check_rule()
722 struct efx_arfs_rule *rule; in efx_rps_hash_find() local
730 rule = container_of(node, struct efx_arfs_rule, node); in efx_rps_hash_find()
731 if (efx_filter_spec_equal(spec, &rule in efx_rps_hash_find()
741 struct efx_arfs_rule *rule; efx_rps_hash_add() local
766 struct efx_arfs_rule *rule; efx_rps_hash_del() local
864 struct efx_arfs_rule *rule; efx_filter_rfs_work() local
948 struct efx_arfs_rule *rule; efx_filter_rfs() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Drx_common.c683 bool efx_siena_rps_check_rule(struct efx_arfs_rule *rule, in efx_siena_rps_check_rule() argument
686 if (rule->filter_id == EFX_ARFS_FILTER_ID_PENDING) { in efx_siena_rps_check_rule()
690 if (rule->filter_id == EFX_ARFS_FILTER_ID_ERROR) { in efx_siena_rps_check_rule()
692 * of date. Remove the filter and the ARFS rule entry. in efx_siena_rps_check_rule()
694 rule->filter_id = EFX_ARFS_FILTER_ID_REMOVING; in efx_siena_rps_check_rule()
697 } else if (WARN_ON(rule->filter_id != filter_idx)) { /* can't happen */ in efx_siena_rps_check_rule()
699 * not mark the rule with EFX_ARFS_FILTER_ID_REMOVING, it will in efx_siena_rps_check_rule()
724 struct efx_arfs_rule *rule; in efx_siena_rps_hash_find() local
732 rule = container_of(node, struct efx_arfs_rule, node); in efx_siena_rps_hash_find()
733 if (efx_siena_filter_spec_equal(spec, &rule in efx_siena_rps_hash_find()
743 struct efx_arfs_rule *rule; efx_rps_hash_add() local
769 struct efx_arfs_rule *rule; efx_siena_rps_hash_del() local
869 struct efx_arfs_rule *rule; efx_filter_rfs_work() local
954 struct efx_arfs_rule *rule; efx_siena_filter_rfs() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h274 TP_PROTO(const struct mlx5_flow_rule *rule),
275 TP_ARGS(rule),
277 __field(const struct mlx5_flow_rule *, rule)
285 __entry->rule = rule;
286 fs_get_obj(__entry->fte, rule->node.parent);
288 __entry->sw_action = rule->sw_action;
290 &rule->dest_attr,
292 if (rule->dest_attr.type &
295 rule
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h274 TP_PROTO(const struct mlx5_flow_rule *rule),
275 TP_ARGS(rule),
277 __field(const struct mlx5_flow_rule *, rule)
285 __entry->rule = rule;
286 fs_get_obj(__entry->fte, rule->node.parent);
288 __entry->sw_action = rule->sw_action;
290 &rule->dest_attr,
292 if (rule->dest_attr.type &
295 rule
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5023 * dst_vport is used to specify the rule in hclge_init_fd_config()
5120 struct hclge_fd_rule *rule) in hclge_fd_convert_tuple()
5126 if (rule->unused_tuple & tuple_bit) in hclge_fd_convert_tuple()
5132 calc_x(key_x[ETH_ALEN - 1 - i], rule->tuples.dst_mac[i], in hclge_fd_convert_tuple()
5133 rule->tuples_mask.dst_mac[i]); in hclge_fd_convert_tuple()
5134 calc_y(key_y[ETH_ALEN - 1 - i], rule->tuples.dst_mac[i], in hclge_fd_convert_tuple()
5135 rule->tuples_mask.dst_mac[i]); in hclge_fd_convert_tuple()
5141 calc_x(key_x[ETH_ALEN - 1 - i], rule->tuples.src_mac[i], in hclge_fd_convert_tuple()
5142 rule->tuples_mask.src_mac[i]); in hclge_fd_convert_tuple()
5143 calc_y(key_y[ETH_ALEN - 1 - i], rule in hclge_fd_convert_tuple()
5119 hclge_fd_convert_tuple(u32 tuple_bit, u8 *key_x, u8 *key_y, struct hclge_fd_rule *rule) hclge_fd_convert_tuple() argument
5239 hclge_fd_convert_meta_data(struct hclge_fd_key_cfg *key_cfg, __le32 *key_x, __le32 *key_y, struct hclge_fd_rule *rule) hclge_fd_convert_meta_data() argument
5281 hclge_config_key(struct hclge_dev *hdev, u8 stage, struct hclge_fd_rule *rule) hclge_config_key() argument
5338 hclge_config_action(struct hclge_dev *hdev, u8 stage, struct hclge_fd_rule *rule) hclge_config_action() argument
5618 struct hclge_fd_rule *rule = NULL; hclge_fd_rule_exist() local
5638 struct hclge_fd_rule *rule = NULL, *parent = NULL; hclge_fd_update_rule_list() local
5684 hclge_fd_get_tuple(struct hclge_dev *hdev, struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_tuple() argument
5838 hclge_fd_config_rule(struct hclge_dev *hdev, struct hclge_fd_rule *rule) hclge_fd_config_rule() argument
5874 struct hclge_fd_rule *rule; hclge_add_fd_entry() local
5997 struct hclge_fd_rule *rule; hclge_del_all_fd_entries() local
6026 struct hclge_fd_rule *rule; hclge_restore_fd_entries() local
6081 hclge_fd_get_tcpip4_info(struct hclge_fd_rule *rule, struct ethtool_tcpip4_spec *spec, struct ethtool_tcpip4_spec *spec_mask) hclge_fd_get_tcpip4_info() argument
6106 hclge_fd_get_ip4_info(struct hclge_fd_rule *rule, struct ethtool_usrip4_spec *spec, struct ethtool_usrip4_spec *spec_mask) hclge_fd_get_ip4_info() argument
6129 hclge_fd_get_tcpip6_info(struct hclge_fd_rule *rule, struct ethtool_tcpip6_spec *spec, struct ethtool_tcpip6_spec *spec_mask) hclge_fd_get_tcpip6_info() argument
6158 hclge_fd_get_ip6_info(struct hclge_fd_rule *rule, struct ethtool_usrip6_spec *spec, struct ethtool_usrip6_spec *spec_mask) hclge_fd_get_ip6_info() argument
6181 hclge_fd_get_ether_info(struct hclge_fd_rule *rule, struct ethhdr *spec, struct ethhdr *spec_mask) hclge_fd_get_ether_info() argument
6203 hclge_fd_get_ext_info(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_ext_info() argument
6227 struct hclge_fd_rule *rule = NULL; hclge_get_fd_rule_info() local
6305 struct hclge_fd_rule *rule; hclge_get_all_rules() local
6361 struct hclge_fd_rule *rule = NULL; hclge_fd_search_flow_keys() local
6372 hclge_fd_build_arfs_rule(const struct hclge_fd_rule_tuples *tuples, struct hclge_fd_rule *rule) hclge_fd_build_arfs_rule() argument
6402 struct hclge_fd_rule *rule; hclge_add_fd_entry_by_arfs() local
6475 struct hclge_fd_rule *rule; hclge_rfs_filter_expire() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5112 struct hclge_fd_rule *rule) in hclge_fd_free_node()
5114 hlist_del(&rule->rule_node); in hclge_fd_free_node()
5115 kfree(rule); in hclge_fd_free_node()
5127 /* 1) if the new state is TO_ADD, just replace the old rule in hclge_update_fd_rule_node()
5129 * new rule will be configured to the hardware. in hclge_update_fd_rule_node()
5130 * 2) if the new state is ACTIVE, it means the new rule in hclge_update_fd_rule_node()
5132 * the old rule node with the same location. in hclge_update_fd_rule_node()
5134 * unnecessary to update the rule number and fd_bmap. in hclge_update_fd_rule_node()
5146 /* if new request is TO_DEL, and old rule is existent in hclge_update_fd_rule_node()
5147 * 1) the state of old rule i in hclge_update_fd_rule_node()
5111 hclge_fd_free_node(struct hclge_dev *hdev, struct hclge_fd_rule *rule) hclge_fd_free_node() argument
5171 struct hclge_fd_rule *rule; hclge_find_fd_rule() local
5189 hclge_fd_insert_rule_node(struct hlist_head *hlist, struct hclge_fd_rule *rule, struct hclge_fd_rule *parent) hclge_fd_insert_rule_node() argument
5255 hclge_fd_check_user_def_refcnt(struct hclge_dev *hdev, struct hclge_fd_rule *rule) hclge_fd_check_user_def_refcnt() argument
5291 hclge_fd_inc_user_def_refcnt(struct hclge_dev *hdev, struct hclge_fd_rule *rule) hclge_fd_inc_user_def_refcnt() argument
5308 hclge_fd_dec_user_def_refcnt(struct hclge_dev *hdev, struct hclge_fd_rule *rule) hclge_fd_dec_user_def_refcnt() argument
5608 hclge_fd_convert_tuple(u32 tuple_bit, u8 *key_x, u8 *key_y, struct hclge_fd_rule *rule) hclge_fd_convert_tuple() argument
5689 hclge_fd_convert_meta_data(struct hclge_fd_key_cfg *key_cfg, __le32 *key_x, __le32 *key_y, struct hclge_fd_rule *rule) hclge_fd_convert_meta_data() argument
5731 hclge_config_key(struct hclge_dev *hdev, u8 stage, struct hclge_fd_rule *rule) hclge_config_key() argument
5788 hclge_config_action(struct hclge_dev *hdev, u8 stage, struct hclge_fd_rule *rule) hclge_config_action() argument
6160 hclge_fd_get_tcpip4_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule, u8 ip_proto) hclge_fd_get_tcpip4_tuple() argument
6189 hclge_fd_get_ip4_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_ip4_tuple() argument
6212 hclge_fd_get_tcpip6_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule, u8 ip_proto) hclge_fd_get_tcpip6_tuple() argument
6241 hclge_fd_get_ip6_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_ip6_tuple() argument
6264 hclge_fd_get_ether_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_ether_tuple() argument
6277 hclge_fd_get_user_def_tuple(struct hclge_fd_user_def_info *info, struct hclge_fd_rule *rule) hclge_fd_get_user_def_tuple() argument
6300 hclge_fd_get_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule, struct hclge_fd_user_def_info *info) hclge_fd_get_tuple() argument
6352 hclge_fd_config_rule(struct hclge_dev *hdev, struct hclge_fd_rule *rule) hclge_fd_config_rule() argument
6364 hclge_add_fd_entry_common(struct hclge_dev *hdev, struct hclge_fd_rule *rule) hclge_add_fd_entry_common() argument
6457 struct hclge_fd_rule *rule; hclge_add_fd_entry() local
6550 struct hclge_fd_rule *rule; hclge_clear_fd_rules_in_list() local
6589 struct hclge_fd_rule *rule; hclge_restore_fd_entries() local
6629 hclge_fd_get_tcpip4_info(struct hclge_fd_rule *rule, struct ethtool_tcpip4_spec *spec, struct ethtool_tcpip4_spec *spec_mask) hclge_fd_get_tcpip4_info() argument
6654 hclge_fd_get_ip4_info(struct hclge_fd_rule *rule, struct ethtool_usrip4_spec *spec, struct ethtool_usrip4_spec *spec_mask) hclge_fd_get_ip4_info() argument
6677 hclge_fd_get_tcpip6_info(struct hclge_fd_rule *rule, struct ethtool_tcpip6_spec *spec, struct ethtool_tcpip6_spec *spec_mask) hclge_fd_get_tcpip6_info() argument
6710 hclge_fd_get_ip6_info(struct hclge_fd_rule *rule, struct ethtool_usrip6_spec *spec, struct ethtool_usrip6_spec *spec_mask) hclge_fd_get_ip6_info() argument
6737 hclge_fd_get_ether_info(struct hclge_fd_rule *rule, struct ethhdr *spec, struct ethhdr *spec_mask) hclge_fd_get_ether_info() argument
6759 hclge_fd_get_user_def_info(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_user_def_info() argument
6777 hclge_fd_get_ext_info(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_ext_info() argument
6802 struct hclge_fd_rule *rule = NULL; hclge_get_fd_rule() local
6815 hclge_fd_get_ring_cookie(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule) hclge_fd_get_ring_cookie() argument
6834 struct hclge_fd_rule *rule = NULL; hclge_get_fd_rule_info() local
6897 struct hclge_fd_rule *rule; hclge_get_all_rules() local
6956 struct hclge_fd_rule *rule = NULL; hclge_fd_search_flow_keys() local
6967 hclge_fd_build_arfs_rule(const struct hclge_fd_rule_tuples *tuples, struct hclge_fd_rule *rule) hclge_fd_build_arfs_rule() argument
6998 struct hclge_fd_rule *rule; hclge_add_fd_entry_by_arfs() local
7055 struct hclge_fd_rule *rule; hclge_rfs_filter_expire() local
7080 struct hclge_fd_rule *rule; hclge_clear_arfs_rules() local
7111 hclge_get_cls_key_basic(const struct flow_rule *flow, struct hclge_fd_rule *rule) hclge_get_cls_key_basic() argument
7136 hclge_get_cls_key_mac(const struct flow_rule *flow, struct hclge_fd_rule *rule) hclge_get_cls_key_mac() argument
7153 hclge_get_cls_key_vlan(const struct flow_rule *flow, struct hclge_fd_rule *rule) hclge_get_cls_key_vlan() argument
7169 hclge_get_cls_key_ip(const struct flow_rule *flow, struct hclge_fd_rule *rule) hclge_get_cls_key_ip() argument
7209 hclge_get_cls_key_port(const struct flow_rule *flow, struct hclge_fd_rule *rule) hclge_get_cls_key_port() argument
7227 hclge_parse_cls_flower(struct hclge_dev *hdev, struct flow_cls_offload *cls_flower, struct hclge_fd_rule *rule) hclge_parse_cls_flower() argument
7287 struct hclge_fd_rule *rule; hclge_add_cls_flower() local
7330 struct hclge_fd_rule *rule; hclge_find_cls_flower() local
7346 struct hclge_fd_rule *rule; hclge_del_cls_flower() local
7381 struct hclge_fd_rule *rule; hclge_sync_fd_list() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs_tt_redirect.c58 void mlx5e_fs_tt_redirect_del_rule(struct mlx5_flow_handle *rule) in mlx5e_fs_tt_redirect_del_rule() argument
60 mlx5_del_flow_rules(rule); in mlx5e_fs_tt_redirect_del_rule()
86 struct mlx5_flow_handle *rule; in mlx5e_fs_tt_redirect_udp_add_rule() local
103 rule = mlx5_add_flow_rules(ft, spec, &flow_act, &dest, 1); in mlx5e_fs_tt_redirect_udp_add_rule()
106 if (IS_ERR(rule)) { in mlx5e_fs_tt_redirect_udp_add_rule()
107 err = PTR_ERR(rule); in mlx5e_fs_tt_redirect_udp_add_rule()
108 fs_err(fs, "%s: add %s rule failed, err %d\n", in mlx5e_fs_tt_redirect_udp_add_rule()
111 return rule; in mlx5e_fs_tt_redirect_udp_add_rule()
121 struct mlx5_flow_handle *rule; in fs_udp_add_default_rule() local
127 rule in fs_udp_add_default_rule()
371 struct mlx5_flow_handle *rule; mlx5e_fs_tt_redirect_any_add_rule() local
403 struct mlx5_flow_handle *rule; fs_any_add_default_rule() local
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dstrrepl.cpp242 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, in toReplacerPattern() argument
244 rule.truncate(0); in toReplacerPattern()
252 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
259 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
265 ICU_Utility::appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
271 ICU_Utility::appendToRule(rule, buf, in toReplacerPattern()
282 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
284 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
287 ICU_Utility::appendToRule(rule, -1, in toReplacerPattern()
290 return rule; in toReplacerPattern()
[all...]
H A Drbt_rule.cpp34 * Construct a new rule with the given input, output text, and other
53 * @param anchorStart true if the the rule is anchored on the left to
55 * @param anchorEnd true if the rule is anchored on the right to the
216 * Internal method. Returns 8-bit index value for this rule.
232 * Internal method. Returns true if this rule matches the given
235 * It matches this rule if it matches the first character of the
238 * value. If the rule contains only ante context, as in foo)>bar,
249 * Return true if this rule masks another rule. If r1 masks r2 then
255 /* Rule r1 masks rule r in masks()
469 toRule(UnicodeString& rule, UBool escapeUnprintable) const toRule() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dstrrepl.cpp242 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, in toReplacerPattern() argument
244 rule.truncate(0); in toReplacerPattern()
252 ICU_Utility::appendToRule(rule, (char16_t)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
259 ICU_Utility::appendToRule(rule, (char16_t)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
265 ICU_Utility::appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
271 ICU_Utility::appendToRule(rule, buf, in toReplacerPattern()
282 ICU_Utility::appendToRule(rule, (char16_t)0x0040 /*@*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
284 ICU_Utility::appendToRule(rule, (char16_t)0x007C /*|*/, true, escapeUnprintable, quoteBuf); in toReplacerPattern()
287 ICU_Utility::appendToRule(rule, -1, in toReplacerPattern()
290 return rule; in toReplacerPattern()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dstrrepl.cpp242 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, in toReplacerPattern() argument
244 rule.truncate(0); in toReplacerPattern()
252 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
259 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
265 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf); in toReplacerPattern()
271 ICU_Utility::appendToRule(rule, buf, in toReplacerPattern()
282 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
284 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
287 ICU_Utility::appendToRule(rule, -1, in toReplacerPattern()
290 return rule; in toReplacerPattern()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c14 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in dpaa2_switch_flower_parse_key() local
15 struct flow_dissector *dissector = rule->match.dissector; in dpaa2_switch_flower_parse_key()
36 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in dpaa2_switch_flower_parse_key()
39 flow_rule_match_basic(rule, &match); in dpaa2_switch_flower_parse_key()
46 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in dpaa2_switch_flower_parse_key()
49 flow_rule_match_eth_addrs(rule, &match); in dpaa2_switch_flower_parse_key()
56 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in dpaa2_switch_flower_parse_key()
59 flow_rule_match_vlan(rule, &match); in dpaa2_switch_flower_parse_key()
71 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in dpaa2_switch_flower_parse_key()
74 flow_rule_match_ipv4_addrs(rule, in dpaa2_switch_flower_parse_key()
493 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); dpaa2_switch_cls_flower_replace_acl() local
537 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); dpaa2_switch_flower_parse_mirror_key() local
645 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); dpaa2_switch_cls_flower_replace() local
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dpcm_drm_eld.c26 struct snd_pcm_hw_rule *rule) in eld_limit_rates()
28 struct snd_interval *r = hw_param_interval(params, rule->var); in eld_limit_rates()
31 const u8 *sad, *eld = rule->private; in eld_limit_rates()
54 struct snd_pcm_hw_rule *rule) in eld_limit_channels()
56 struct snd_interval *c = hw_param_interval(params, rule->var); in eld_limit_channels()
60 const u8 *sad, *eld = rule->private; in eld_limit_channels()
25 eld_limit_rates(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) eld_limit_rates() argument
53 eld_limit_channels(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) eld_limit_channels() argument
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dfib_rule_tests.sh139 ip rule help 2>&1 | grep -q $1
156 $IP -6 rule del $1
162 pref=$($IP -6 rule show $1 table $RTABLE | cut -d ":" -f 1)
163 $IP -6 rule del pref $pref
172 $IP -6 rule add $match table $RTABLE
185 $IP -6 rule add $match table $RTABLE 2>/dev/null
190 $IP -6 rule del $match table $RTABLE
200 # setup the fib rule redirect route
219 # versions don't support 'dsfield' in ip rule show.
267 $IP -6 rule ad
[all...]
/third_party/musl/porting/linux/user/src/time/
H A D__tz.c93 static void getrule(const char **p, int rule[5]) in getrule() argument
95 int r = rule[0] = **p; in getrule()
101 rule[0] = 0; in getrule()
103 rule[1] = getint(p); in getrule()
106 rule[1] = getint(p); in getrule()
108 rule[2] = getint(p); in getrule()
110 rule[3] = getint(p); in getrule()
115 rule[4] = getoff(p); in getrule()
117 rule[4] = 7200; in getrule()
346 * and determine alternate opposite-DST-status rule tha
419 rule_to_secs(const int *rule, int year) rule_to_secs() argument
[all...]
/third_party/musl/src/time/
H A D__tz.c82 static void getrule(const char **p, int rule[5]) in getrule() argument
84 int r = rule[0] = **p; in getrule()
88 else rule[0] = 0; in getrule()
89 rule[1] = getint(p); in getrule()
91 ++*p; rule[1] = getint(p); in getrule()
92 ++*p; rule[2] = getint(p); in getrule()
93 ++*p; rule[3] = getint(p); in getrule()
98 rule[4] = getoff(p); in getrule()
100 rule[4] = 7200; in getrule()
420 * and determine alternate opposite-DST-status rule tha
493 rule_to_secs(const int *rule, int year) rule_to_secs() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c19 struct mlx5_flow_handle *rule; member
93 netdev_err(priv->netdev, "fail to add ipsec rx err copy rule err=%d\n", err); in rx_err_add_rule()
97 rx_err->rule = fte; in rx_err_add_rule()
111 if (rx_err->rule) { in rx_err_del_rule()
112 mlx5_del_flow_rules(rx_err->rule); in rx_err_del_rule()
113 rx_err->rule = NULL; in rx_err_del_rule()
227 /* Create miss rule */ in rx_fs_create()
249 /* The netdev unreg already happened, so all offloaded rule are already removed */ in rx_destroy()
470 struct mlx5_flow_handle *rule; in rx_add_rule() local
515 rule in rx_add_rule()
543 struct mlx5_flow_handle *rule; tx_add_rule() local
[all...]
H A Dktls_rx.c14 struct mlx5_flow_handle *rule; member
47 struct accel_rule rule; member
106 struct mlx5_flow_handle *rule; in accel_rule_handle_work() local
109 priv_rx = container_of(accel_rule, struct mlx5e_ktls_offload_context_rx, rule); in accel_rule_handle_work()
113 rule = mlx5e_accel_fs_add_sk(accel_rule->priv, priv_rx->sk, in accel_rule_handle_work()
115 if (!IS_ERR_OR_NULL(rule)) in accel_rule_handle_work()
116 accel_rule->rule = rule; in accel_rule_handle_work()
121 static void accel_rule_init(struct accel_rule *rule, struct mlx5e_priv *priv, in accel_rule_init() argument
124 INIT_WORK(&rule in accel_rule_init()
562 struct accel_rule *rule = &priv_rx->rule; mlx5e_ktls_handle_ctx_completion() local
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_tables_offload.c20 flow->rule = flow_rule_alloc(num_actions); in nft_flow_rule_alloc()
21 if (!flow->rule) { in nft_flow_rule_alloc()
26 flow->rule->match.dissector = &flow->match.dissector; in nft_flow_rule_alloc()
27 flow->rule->match.mask = &flow->match.mask; in nft_flow_rule_alloc()
28 flow->rule->match.key = &flow->match.key; in nft_flow_rule_alloc()
90 const struct nft_rule *rule) in nft_flow_rule_create()
97 expr = nft_expr_first(rule); in nft_flow_rule_create()
98 while (nft_expr_more(rule, expr)) { in nft_flow_rule_create()
113 expr = nft_expr_first(rule); in nft_flow_rule_create()
123 while (nft_expr_more(rule, exp in nft_flow_rule_create()
89 nft_flow_rule_create(struct net *net, const struct nft_rule *rule) nft_flow_rule_create() argument
243 nft_flow_cls_offload_setup(struct flow_cls_offload *cls_flow, const struct nft_base_chain *basechain, const struct nft_rule *rule, const struct nft_flow_rule *flow, struct netlink_ext_ack *extack, enum flow_cls_command command) nft_flow_cls_offload_setup() argument
265 nft_flow_offload_rule(struct nft_chain *chain, struct nft_rule *rule, struct nft_flow_rule *flow, enum flow_cls_command command) nft_flow_offload_rule() argument
299 struct nft_rule *rule; nft_flow_offload_unbind() local
[all...]
H A Dnf_tables_core.c41 const struct nft_rule *rule, in nft_trace_packet()
45 info->rule = rule; in nft_trace_packet()
105 const struct nft_rule *rule, in nft_trace_verdict()
109 info->rule = rule; in nft_trace_verdict()
207 const struct nft_rule *rule; in nft_do_chain() local
225 rule = *rules; in nft_do_chain()
228 rule = *rules; in nft_do_chain()
229 nft_rule_for_each_expr(expr, last, rule) { in nft_do_chain()
39 nft_trace_packet(struct nft_traceinfo *info, const struct nft_chain *chain, const struct nft_rule *rule, enum nft_trace_types type) nft_trace_packet() argument
103 nft_trace_verdict(struct nft_traceinfo *info, const struct nft_chain *chain, const struct nft_rule *rule, const struct nft_regs *regs) nft_trace_verdict() argument
[all...]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliterationRule.java14 * A transliteration rule used by
18 * <p>A rule consists of an input pattern and an output string. When
29 * <p>A rule may contain segments in its input string and segment
39 * <p>Example: The rule "([a-z]) . ([0-9]) > $2 . $1" will change the input
120 * An alias pointer to the data for this rule. The data provides
127 * Construct a new rule with the given input, output text, and other
144 * 0. For example, the rule "abc{def} > | @@@ xyz;" changes "def" to
149 * @param anchorStart true if the the rule is anchored on the left to
151 * @param anchorEnd true if the rule is anchored on the right to the
234 * Internal method. Returns 8-bit index value for this rule
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTransliterationRule.java15 * A transliteration rule used by
19 * <p>A rule consists of an input pattern and an output string. When
30 * <p>A rule may contain segments in its input string and segment
40 * <p>Example: The rule "([a-z]) . ([0-9]) > $2 . $1" will change the input
121 * An alias pointer to the data for this rule. The data provides
128 * Construct a new rule with the given input, output text, and other
145 * 0. For example, the rule "abc{def} > | @@@ xyz;" changes "def" to
150 * @param anchorStart true if the the rule is anchored on the left to
152 * @param anchorEnd true if the rule is anchored on the right to the
235 * Internal method. Returns 8-bit index value for this rule
[all...]
/third_party/mesa3d/src/imagination/rogue/
H A Drogue_validate.c195 const struct rogue_instr_rule *rule; in rogue_validate_instr() local
199 rule = &instr_rules[instr->opcode]; in rogue_validate_instr()
202 CHECKF(rogue_check_bitset(instr->flags, rule->flags), in rogue_validate_instr()
206 CHECKF(instr->num_operands == rule->num_operands, in rogue_validate_instr()
209 CHECK(!rule->num_operands || instr->operands); in rogue_validate_instr()
213 rule->operand_rules[u].mask), in rogue_validate_instr()
220 rule->operand_rules[u].min != -1 && in rogue_validate_instr()
221 rule->operand_rules[u].max != -1) { in rogue_validate_instr()
223 instr->operands[u].immediate.value >= rule->operand_rules[u].min && in rogue_validate_instr()
224 instr->operands[u].immediate.value <= rule in rogue_validate_instr()
[all...]

Completed in 35 milliseconds

12345678910>>...35