Searched refs:rule (Results 1 - 25 of 324) sorted by relevance

1234567891011>>

/linux-master/security/selinux/include/
H A Daudit.h19 * selinux_audit_rule_init - alloc/init an selinux audit rule structure.
20 * @field: the field this rule refers to
21 * @op: the operator the rule uses
22 * @rulestr: the text "target" of the rule
23 * @rule: pointer to the new rule structure returned via this
25 * Returns 0 if successful, -errno if not. On success, the rule structure
29 int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **rule);
32 * selinux_audit_rule_free - free an selinux audit rule structure.
33 * @rule
[all...]
/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c9 struct tsnep_rxnfc_rule *rule)
15 rx_assign |= (rule->queue_index << TSNEP_RX_ASSIGN_QUEUE_SHIFT) &
19 TSNEP_RX_ASSIGN_ETHER_TYPE_OFFSET * rule->location;
20 iowrite16(rule->filter.ether_type, addr);
22 /* enable rule after all settings are done */
24 TSNEP_RX_ASSIGN_OFFSET * rule->location;
29 struct tsnep_rxnfc_rule *rule)
34 TSNEP_RX_ASSIGN_OFFSET * rule->location;
41 struct tsnep_rxnfc_rule *rule; local
43 list_for_each_entry(rule,
8 tsnep_enable_rule(struct tsnep_adapter *adapter, struct tsnep_rxnfc_rule *rule) argument
28 tsnep_disable_rule(struct tsnep_adapter *adapter, struct tsnep_rxnfc_rule *rule) argument
53 tsnep_add_rule(struct tsnep_adapter *adapter, struct tsnep_rxnfc_rule *rule) argument
71 tsnep_delete_rule(struct tsnep_adapter *adapter, struct tsnep_rxnfc_rule *rule) argument
84 struct tsnep_rxnfc_rule *rule, *tmp; local
98 struct tsnep_rxnfc_rule *rule = NULL; local
128 struct tsnep_rxnfc_rule *rule; local
171 tsnep_rxnfc_init_rule(struct tsnep_rxnfc_rule *rule, const struct ethtool_rx_flow_spec *fsp) argument
183 tsnep_rxnfc_check_rule(struct tsnep_adapter *adapter, struct tsnep_rxnfc_rule *rule) argument
207 struct tsnep_rxnfc_rule *rule, *old_rule; local
274 struct tsnep_rxnfc_rule *rule; local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtwfw.c18 struct rule { struct
25 __type(value, struct rule);
47 struct rule* rule = bpf_map_lookup_elem(&rules, &key); local
48 if (!rule)
51 if (rule && rule->seqnum < TWFW_MAX_TIERS) {
52 /* rule->seqnum / 64 should always be 0 */
53 unsigned long mask = tier->mask[rule->seqnum / 64];
/linux-master/net/core/
H A Dfib_rules.c37 bool fib_rule_matchall(const struct fib_rule *rule) argument
39 if (rule->iifindex || rule->oifindex || rule->mark || rule->tun_id ||
40 rule->flags)
42 if (rule->suppress_ifgroup != -1 || rule->suppress_prefixlen != -1)
44 if (!uid_eq(rule->uid_range.start, fib_kuid_range_unset.start) ||
45 !uid_eq(rule
85 struct fib_rule *rule; local
187 struct fib_rule *rule, *tmp; local
258 fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, struct flowi *fl, int flags, struct fib_lookup_arg *arg) argument
294 struct fib_rule *rule; local
346 call_fib_rule_notifier(struct notifier_block *nb, enum fib_event_type event_type, struct fib_rule *rule, int family, struct netlink_ext_ack *extack) argument
360 call_fib_rule_notifiers(struct net *net, enum fib_event_type event_type, struct fib_rule *rule, struct fib_rules_ops *ops, struct netlink_ext_ack *extack) argument
381 struct fib_rule *rule; local
416 rule_find(struct fib_rules_ops *ops, struct fib_rule_hdr *frh, struct nlattr **tb, struct fib_rule *rule, bool user_priority) argument
515 fib_nl2rule(struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack, struct fib_rules_ops *ops, struct nlattr *tb[], struct fib_rule **rule, bool *user_priority) argument
684 rule_exists(struct fib_rules_ops *ops, struct fib_rule_hdr *frh, struct nlattr **tb, struct fib_rule *rule) argument
778 struct fib_rule *rule = NULL, *r, *last = NULL; local
886 struct fib_rule *rule = NULL, *r, *nlrule = NULL; local
981 fib_rule_nlmsg_size(struct fib_rules_ops *ops, struct fib_rule *rule) argument
1006 fib_nl_fill_rule(struct sk_buff *skb, struct fib_rule *rule, u32 pid, u32 seq, int type, int flags, struct fib_rules_ops *ops) argument
1091 struct fib_rule *rule; local
1184 notify_rule_change(int event, struct fib_rule *rule, struct fib_rules_ops *ops, struct nlmsghdr *nlh, u32 pid) argument
1214 struct fib_rule *rule; local
1228 struct fib_rule *rule; local
[all...]
H A Dflow_offload.c12 struct flow_rule *rule; local
15 rule = kzalloc(struct_size(rule, action.entries, num_actions),
17 if (!rule)
20 rule->action.num_entries = num_actions;
25 rule->action.entries[i].hw_stats = FLOW_ACTION_HW_STATS_DONT_CARE;
27 return rule;
58 void flow_rule_match_meta(const struct flow_rule *rule, argument
61 FLOW_DISSECTOR_MATCH(rule, FLOW_DISSECTOR_KEY_META, out);
65 void flow_rule_match_basic(const struct flow_rule *rule, argument
72 flow_rule_match_control(const struct flow_rule *rule, struct flow_match_control *out) argument
79 flow_rule_match_eth_addrs(const struct flow_rule *rule, struct flow_match_eth_addrs *out) argument
86 flow_rule_match_vlan(const struct flow_rule *rule, struct flow_match_vlan *out) argument
93 flow_rule_match_cvlan(const struct flow_rule *rule, struct flow_match_vlan *out) argument
100 flow_rule_match_arp(const struct flow_rule *rule, struct flow_match_arp *out) argument
107 flow_rule_match_ipv4_addrs(const struct flow_rule *rule, struct flow_match_ipv4_addrs *out) argument
114 flow_rule_match_ipv6_addrs(const struct flow_rule *rule, struct flow_match_ipv6_addrs *out) argument
121 flow_rule_match_ip(const struct flow_rule *rule, struct flow_match_ip *out) argument
128 flow_rule_match_ports(const struct flow_rule *rule, struct flow_match_ports *out) argument
135 flow_rule_match_ports_range(const struct flow_rule *rule, struct flow_match_ports_range *out) argument
142 flow_rule_match_tcp(const struct flow_rule *rule, struct flow_match_tcp *out) argument
149 flow_rule_match_ipsec(const struct flow_rule *rule, struct flow_match_ipsec *out) argument
156 flow_rule_match_icmp(const struct flow_rule *rule, struct flow_match_icmp *out) argument
163 flow_rule_match_mpls(const struct flow_rule *rule, struct flow_match_mpls *out) argument
170 flow_rule_match_enc_control(const struct flow_rule *rule, struct flow_match_control *out) argument
177 flow_rule_match_enc_ipv4_addrs(const struct flow_rule *rule, struct flow_match_ipv4_addrs *out) argument
184 flow_rule_match_enc_ipv6_addrs(const struct flow_rule *rule, struct flow_match_ipv6_addrs *out) argument
191 flow_rule_match_enc_ip(const struct flow_rule *rule, struct flow_match_ip *out) argument
198 flow_rule_match_enc_ports(const struct flow_rule *rule, struct flow_match_ports *out) argument
205 flow_rule_match_enc_keyid(const struct flow_rule *rule, struct flow_match_enc_keyid *out) argument
212 flow_rule_match_enc_opts(const struct flow_rule *rule, struct flow_match_enc_opts *out) argument
240 flow_rule_match_ct(const struct flow_rule *rule, struct flow_match_ct *out) argument
247 flow_rule_match_pppoe(const struct flow_rule *rule, struct flow_match_pppoe *out) argument
254 flow_rule_match_l2tpv3(const struct flow_rule *rule, struct flow_match_l2tpv3 *out) argument
[all...]
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c12 struct sja1105_rule *rule,
23 e->rule = rule;
95 struct sja1105_rule *rule; local
102 list_for_each_entry(rule, &priv->flow_block.rules, list) {
103 if (rule->type != SJA1105_RULE_VL)
105 if (rule->vl.type != SJA1105_VL_TIME_TRIGGERED)
108 if (max_cycle_time < rule->vl.cycle_time) {
109 max_cycle_time = rule->vl.cycle_time;
110 its_base_time = rule
11 sja1105_insert_gate_entry(struct sja1105_gating_config *gating_cfg, struct sja1105_rule *rule, u8 gate_state, s64 entry_time, struct netlink_ext_ack *extack) argument
320 struct sja1105_rule *rule; local
481 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); local
511 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); local
555 sja1105_vl_delete(struct sja1105_private *priv, int port, struct sja1105_rule *rule, struct netlink_ext_ack *extack) argument
587 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); local
762 sja1105_vl_stats(struct sja1105_private *priv, int port, struct sja1105_rule *rule, struct flow_stats *stats, struct netlink_ext_ack *extack) argument
[all...]
H A Dsja1105_flower.c10 struct sja1105_rule *rule; local
12 list_for_each_entry(rule, &priv->flow_block.rules, list)
13 if (rule->cookie == cookie)
14 return rule;
36 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); local
43 if (!rule) {
44 rule = kzalloc(sizeof(*rule), GFP_KERNEL);
45 if (!rule)
48 rule
108 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); local
200 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); local
346 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); local
463 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); local
503 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); local
534 struct sja1105_rule *rule; local
[all...]
H A Dsja1105_vl.h17 struct sja1105_rule *rule,
27 struct sja1105_rule *rule, struct flow_stats *stats,
44 int port, struct sja1105_rule *rule,
64 struct sja1105_rule *rule,
43 sja1105_vl_delete(struct sja1105_private *priv, int port, struct sja1105_rule *rule, struct netlink_ext_ack *extack) argument
63 sja1105_vl_stats(struct sja1105_private *priv, int port, struct sja1105_rule *rule, struct flow_stats *stats, struct netlink_ext_ack *extack) argument
/linux-master/drivers/pnp/
H A Dmanager.c23 unsigned char rule,
29 /* when the resource already exists, set its resource bits from rule */
32 res->flags |= rule & IORESOURCE_BITS;
38 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) argument
42 res = pnp_find_resource(dev, rule->flags, IORESOURCE_IO, idx);
51 res->flags = rule->flags | IORESOURCE_AUTO;
55 if (!rule->size) {
61 res->start = rule->min;
62 res->end = res->start + rule->size - 1;
65 res->start += rule
22 pnp_find_resource(struct pnp_dev *dev, unsigned char rule, unsigned long type, unsigned int bar) argument
81 pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) argument
132 pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) argument
191 pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) argument
[all...]
/linux-master/security/safesetid/
H A Dsecurityfs.c32 struct setid_rule *rule)
53 if (rule->type == UID){
54 rule->src_id.uid = make_kuid(file->f_cred->user_ns, parsed_parent);
55 rule->dst_id.uid = make_kuid(file->f_cred->user_ns, parsed_child);
56 if (!uid_valid(rule->src_id.uid) || !uid_valid(rule->dst_id.uid))
58 } else if (rule->type == GID){
59 rule->src_id.gid = make_kgid(file->f_cred->user_ns, parsed_parent);
60 rule->dst_id.gid = make_kgid(file->f_cred->user_ns, parsed_child);
61 if (!gid_valid(rule
31 parse_policy_line(struct file *file, char *buf, struct setid_rule *rule) argument
75 struct setid_rule *rule; local
88 insert_rule(struct setid_ruleset *pol, struct setid_rule *rule) argument
101 struct setid_rule *rule, *nrule; local
166 struct setid_rule *rule; local
[all...]
/linux-master/security/apparmor/
H A Daudit.c211 struct aa_audit_rule *rule = vrule; local
213 if (rule) {
214 if (!IS_ERR(rule->label))
215 aa_put_label(rule->label);
216 kfree(rule);
222 struct aa_audit_rule *rule; local
233 rule = kzalloc(sizeof(struct aa_audit_rule), GFP_KERNEL);
235 if (!rule)
239 rule->label = aa_label_parse(&root_ns->unconfined->label, rulestr,
241 if (IS_ERR(rule
251 aa_audit_rule_known(struct audit_krule *rule) argument
269 struct aa_audit_rule *rule = vrule; local
[all...]
/linux-master/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_client.h16 /* Client supplied VCAP rule key control part */
18 struct list_head list; /* For insertion into a rule */
63 /* Client supplied VCAP rule field data */
77 /* Client supplied VCAP rule key (value, mask) */
83 /* Client supplied VCAP rule action control part */
85 struct list_head list; /* For insertion into a rule */
156 /* VCAP rule operations */
157 /* Allocate a rule and fill in the basic information */
164 /* Free mem of a rule owned by client */
165 void vcap_free_rule(struct vcap_rule *rule);
[all...]
/linux-master/net/ipv4/
H A Dfib_rules.c49 static bool fib4_rule_matchall(const struct fib_rule *rule) argument
51 struct fib4_rule *r = container_of(rule, struct fib4_rule, common);
55 return fib_rule_matchall(rule);
58 bool fib4_rule_default(const struct fib_rule *rule) argument
60 if (!fib4_rule_matchall(rule) || rule->action != FR_ACT_TO_TBL ||
61 rule->l3mdev)
63 if (rule->table != RT_TABLE_LOCAL && rule->table != RT_TABLE_MAIN &&
64 rule
108 fib4_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) argument
144 fib4_rule_suppress(struct fib_rule *rule, int flags, struct fib_lookup_arg *arg) argument
177 fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) argument
220 fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh, struct nlattr **tb, struct netlink_ext_ack *extack) argument
289 fib4_rule_delete(struct fib_rule *rule) argument
312 fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, struct nlattr **tb) argument
340 fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh) argument
365 fib4_rule_nlmsg_payload(struct fib_rule *rule) argument
[all...]
/linux-master/include/net/
H A Dfib_rules.h53 struct fib_rule *rule; member in struct:fib_lookup_arg
102 struct fib_rule *rule; member in struct:fib_rule_notifier_info
105 static inline void fib_rule_get(struct fib_rule *rule) argument
107 refcount_inc(&rule->refcnt);
110 static inline void fib_rule_put(struct fib_rule *rule) argument
112 if (refcount_dec_and_test(&rule->refcnt))
113 kfree_rcu(rule, rcu);
117 static inline u32 fib_rule_get_table(struct fib_rule *rule, argument
120 return rule->l3mdev ? arg->table : rule
123 fib_rule_get_table(struct fib_rule *rule, struct fib_lookup_arg *arg) argument
162 fib_rule_requires_fldissect(struct fib_rule *rule) argument
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz9477_tc_flower.c12 * ksz9477_flower_parse_key_l2 - Parse Layer 2 key from flow rule and configure
17 * @rule: Pointer to the flow_rule.
21 * This function parses the Layer 2 key from the flow rule and configures
29 struct flow_rule *rule,
40 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) {
43 flow_rule_match_basic(rule, &match);
56 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) {
57 flow_rule_match_eth_addrs(rule, &ematch);
95 * ksz9477_flower_parse_key - Parse flow rule keys for a specified port on a
98 * @port: The port number to parse the flow rule key
27 ksz9477_flower_parse_key_l2(struct ksz_device *dev, int port, struct netlink_ext_ack *extack, struct flow_rule *rule, unsigned long cookie, u32 prio) argument
110 ksz9477_flower_parse_key(struct ksz_device *dev, int port, struct netlink_ext_ack *extack, struct flow_rule *rule, unsigned long cookie, u32 prio) argument
159 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); local
215 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); local
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c25 struct flow_rule *rule)
29 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) {
32 flow_rule_match_vlan(rule, &match);
54 struct flow_rule *rule, u8 key_type, bool qinq_sup)
62 nfp_flower_compile_tci(ext, msk, rule);
97 struct flow_rule *rule)
99 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) {
104 flow_rule_match_eth_addrs(rule, &match);
121 struct flow_rule *rule,
124 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPL
23 nfp_flower_compile_tci(struct nfp_flower_meta_tci *ext, struct nfp_flower_meta_tci *msk, struct flow_rule *rule) argument
52 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *ext, struct nfp_flower_meta_tci *msk, struct flow_rule *rule, u8 key_type, bool qinq_sup) argument
95 nfp_flower_compile_mac(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule) argument
119 nfp_flower_compile_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) argument
174 nfp_flower_compile_mac_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) argument
188 nfp_flower_compile_tport(struct nfp_flower_tp_ports *ext, struct nfp_flower_tp_ports *msk, struct flow_rule *rule) argument
209 nfp_flower_compile_ip_ext(struct nfp_flower_ip_ext *ext, struct nfp_flower_ip_ext *msk, struct flow_rule *rule) argument
318 nfp_flower_compile_vlan(struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, struct flow_rule *rule) argument
335 nfp_flower_compile_ipv4(struct nfp_flower_ipv4 *ext, struct nfp_flower_ipv4 *msk, struct flow_rule *rule) argument
357 nfp_flower_compile_ipv6(struct nfp_flower_ipv6 *ext, struct nfp_flower_ipv6 *msk, struct flow_rule *rule) argument
385 nfp_flower_compile_geneve_opt(u8 *ext, u8 *msk, struct flow_rule *rule) argument
401 nfp_flower_compile_tun_ipv4_addrs(struct nfp_flower_tun_ipv4 *ext, struct nfp_flower_tun_ipv4 *msk, struct flow_rule *rule) argument
417 nfp_flower_compile_tun_ipv6_addrs(struct nfp_flower_tun_ipv6 *ext, struct nfp_flower_tun_ipv6 *msk, struct flow_rule *rule) argument
438 nfp_flower_compile_tun_ip_ext(struct nfp_flower_tun_ip_ext *ext, struct nfp_flower_tun_ip_ext *msk, struct flow_rule *rule) argument
454 nfp_flower_compile_tun_udp_key(__be32 *key, __be32 *key_msk, struct flow_rule *rule) argument
471 nfp_flower_compile_tun_gre_key(__be32 *key, __be32 *key_msk, __be16 *flags, __be16 *flags_msk, struct flow_rule *rule) argument
487 nfp_flower_compile_ipv4_gre_tun(struct nfp_flower_ipv4_gre_tun *ext, struct nfp_flower_ipv4_gre_tun *msk, struct flow_rule *rule) argument
502 nfp_flower_compile_ipv4_udp_tun(struct nfp_flower_ipv4_udp_tun *ext, struct nfp_flower_ipv4_udp_tun *msk, struct flow_rule *rule) argument
512 nfp_flower_compile_ipv6_udp_tun(struct nfp_flower_ipv6_udp_tun *ext, struct nfp_flower_ipv6_udp_tun *msk, struct flow_rule *rule) argument
522 nfp_flower_compile_ipv6_gre_tun(struct nfp_flower_ipv6_gre_tun *ext, struct nfp_flower_ipv6_gre_tun *msk, struct flow_rule *rule) argument
536 nfp_flower_compile_flow_match(struct nfp_app *app, struct flow_rule *rule, struct nfp_fl_key_ls *key_ls, struct net_device *netdev, struct nfp_fl_payload *nfp_flow, enum nfp_flower_tun_type tun_type, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/net/ipv6/
H A Dfib6_rules.c32 static bool fib6_rule_matchall(const struct fib_rule *rule) argument
34 struct fib6_rule *r = container_of(rule, struct fib6_rule, common);
38 return fib_rule_matchall(rule);
41 bool fib6_rule_default(const struct fib_rule *rule) argument
43 if (!fib6_rule_matchall(rule) || rule->action != FR_ACT_TO_TBL ||
44 rule->l3mdev)
46 if (rule->table != RT6_TABLE_LOCAL && rule->table != RT6_TABLE_MAIN)
133 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, in argument
158 fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) argument
196 __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) argument
260 fib6_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, struct fib_lookup_arg *arg) argument
270 fib6_rule_suppress(struct fib_rule *rule, int flags, struct fib_lookup_arg *arg) argument
303 fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) argument
344 fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh, struct nlattr **tb, struct netlink_ext_ack *extack) argument
390 fib6_rule_delete(struct fib_rule *rule) argument
401 fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, struct nlattr **tb) argument
426 fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh) argument
446 fib6_rule_nlmsg_payload(struct fib_rule *rule) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_dmfs.c13 struct mlx5_flow_handle *rule; member in struct:mlx5_ct_fs_dmfs_rule
41 dmfs_rule->rule = mlx5_tc_rule_insert(priv, spec, attr);
42 if (IS_ERR(dmfs_rule->rule)) {
43 err = PTR_ERR(dmfs_rule->rule);
44 ct_dbg("Failed to add ct entry fs rule");
64 mlx5_tc_rule_delete(netdev_priv(fs->netdev), dmfs_rule->rule, dmfs_rule->attr);
/linux-master/kernel/
H A Dauditfilter.c86 struct audit_krule *erule = &e->rule;
120 entry->rule.fields = fields;
213 struct audit_field *arch = entry->rule.arch_f;
219 entry->rule.mask) &&
221 entry->rule.mask));
227 entry->rule.mask));
230 entry->rule.mask));
237 /* Common user-space to kernel rule translation. */
238 static inline struct audit_entry *audit_to_entry_common(struct audit_rule_data *rule) argument
245 listnr = rule
1108 audit_log_rule_change(char *action, struct audit_krule *rule, int res) argument
[all...]
H A Daudit_fsnotify.c31 struct audit_krule *rule; member in struct:audit_fsnotify_mark
101 audit_mark->rule = krule;
118 struct audit_krule *rule = audit_mark->rule; local
128 audit_log_key(ab, rule->filterkey);
129 audit_log_format(ab, " list=%d res=1", rule->listnr);
148 struct audit_krule *rule = audit_mark->rule; local
149 struct audit_entry *entry = container_of(rule, struct audit_entry, rule);
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c35 struct prestera_acl_rule *rule,
45 if (rule->re_arg.jump.valid)
53 rule->re_arg.jump.valid = 1;
54 rule->re_arg.jump.i.index = prestera_acl_ruleset_index_get(ruleset);
56 rule->jump_ruleset = ruleset;
62 struct prestera_acl_rule *rule,
70 /* whole struct (rule->re_arg) must be initialized with 0 */
82 rule->re_arg.count.valid = true;
84 &rule->re_arg.count.client);
95 if (rule
34 prestera_flower_parse_goto_action(struct prestera_flow_block *block, struct prestera_acl_rule *rule, u32 chain_index, const struct flow_action_entry *act) argument
61 prestera_flower_parse_actions(struct prestera_flow_block *block, struct prestera_acl_rule *rule, struct flow_action *flow_action, u32 chain_index, struct netlink_ext_ack *extack) argument
139 prestera_flower_parse_meta(struct prestera_acl_rule *rule, struct flow_cls_offload *f, struct prestera_flow_block *block) argument
191 prestera_flower_parse(struct prestera_flow_block *block, struct prestera_acl_rule *rule, struct flow_cls_offload *f) argument
418 struct prestera_acl_rule *rule; local
466 struct prestera_acl_rule *rule; local
486 struct prestera_acl_rule rule; local
553 struct prestera_acl_rule *rule; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dfs_tcp.h15 void mlx5e_accel_fs_del_sk(struct mlx5_flow_handle *rule);
23 static inline void mlx5e_accel_fs_del_sk(struct mlx5_flow_handle *rule) {} argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_dbg.h34 void mlx5dr_dbg_rule_add(struct mlx5dr_rule *rule);
35 void mlx5dr_dbg_rule_del(struct mlx5dr_rule *rule);
/linux-master/net/netfilter/
H A Dnf_tables_core.c46 const struct nft_rule_dp *rule,
55 nft_trace_notify(pkt, verdict, rule, info);
61 const struct nft_rule_dp *rule,
66 __nft_trace_packet(pkt, verdict, rule, info, type);
113 const struct nft_rule_dp *rule,
135 __nft_trace_packet(pkt, &regs->verdict, rule, info, type);
140 const struct nft_rule_dp *rule,
144 __nft_trace_verdict(pkt, info, rule, regs);
203 const struct nft_rule_dp *rule; member in struct:nft_jumpstack
243 #define nft_rule_expr_first(rule) (struc
44 __nft_trace_packet(const struct nft_pktinfo *pkt, const struct nft_verdict *verdict, const struct nft_rule_dp *rule, struct nft_traceinfo *info, enum nft_trace_types type) argument
58 nft_trace_packet(const struct nft_pktinfo *pkt, struct nft_verdict *verdict, struct nft_traceinfo *info, const struct nft_rule_dp *rule, enum nft_trace_types type) argument
111 __nft_trace_verdict(const struct nft_pktinfo *pkt, struct nft_traceinfo *info, const struct nft_rule_dp *rule, const struct nft_regs *regs) argument
138 nft_trace_verdict(const struct nft_pktinfo *pkt, struct nft_traceinfo *info, const struct nft_rule_dp *rule, const struct nft_regs *regs) argument
258 const struct nft_rule_dp *rule; local
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_vcap.h16 struct ocelot_vcap_filter *rule);

Completed in 218 milliseconds

1234567891011>>