Home
last modified time | relevance | path

Searched refs:vrule (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc_flower.c342 vrule->id); in sparx5_tc_add_rule_counter()
345 vcap_rule_set_counter_id(vrule, vrule->id); in sparx5_tc_add_rule_counter()
350 vrule->id); in sparx5_tc_add_rule_counter()
353 vcap_rule_set_counter_id(vrule, vrule->id); in sparx5_tc_add_rule_counter()
477 if (IS_ERR(vrule)) in sparx5_tc_add_rule_copy()
478 return PTR_ERR(vrule); in sparx5_tc_add_rule_copy()
488 vrule->id); in sparx5_tc_add_rule_copy()
517 vcap_free_rule(vrule); in sparx5_tc_add_rule_copy()
1030 if (IS_ERR(vrule)) in sparx5_tc_flower_replace()
1035 state.vrule = vrule; in sparx5_tc_flower_replace()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_tc_flower.c30 err = vcap_rule_add_key_bit(st->vrule, in lan966x_tc_flower_handler_control_usage()
34 err = vcap_rule_add_key_bit(st->vrule, in lan966x_tc_flower_handler_control_usage()
139 struct vcap_rule *vrule, in lan966x_tc_flower_use_dissectors() argument
144 .vrule = vrule, in lan966x_tc_flower_use_dissectors()
232 struct vcap_rule *vrule; in lan966x_tc_flower_add() local
243 if (IS_ERR(vrule)) in lan966x_tc_flower_add()
244 return PTR_ERR(vrule); in lan966x_tc_flower_add()
246 vrule->cookie = f->cookie; in lan966x_tc_flower_add()
280 vcap_set_tc_exterr(f, vrule); in lan966x_tc_flower_add()
284 err = vcap_add_rule(vrule); in lan966x_tc_flower_add()
[all …]
A Dlan966x_ptp.c58 struct vcap_rule *vrule; in lan966x_ptp_add_trap() local
62 if (vrule) { in lan966x_ptp_add_trap()
72 err = vcap_mod_rule(vrule); in lan966x_ptp_add_trap()
79 if (IS_ERR(vrule)) in lan966x_ptp_add_trap()
80 return PTR_ERR(vrule); in lan966x_ptp_add_trap()
92 err = vcap_add_rule(vrule); in lan966x_ptp_add_trap()
96 vcap_free_rule(vrule); in lan966x_ptp_add_trap()
104 struct vcap_rule *vrule; in lan966x_ptp_del_trap() local
109 if (!vrule) in lan966x_ptp_del_trap()
122 err = vcap_mod_rule(vrule); in lan966x_ptp_del_trap()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/
A Dvcap_tc.c40 err = vcap_rule_add_key_u48(st->vrule, smac_key, &smac); in vcap_tc_flower_handler_ethaddr_usage()
48 err = vcap_rule_add_key_u48(st->vrule, dmac_key, &dmac); in vcap_tc_flower_handler_ethaddr_usage()
72 err = vcap_rule_add_key_u32(st->vrule, in vcap_tc_flower_handler_ipv4_usage()
80 err = vcap_rule_add_key_u32(st->vrule, in vcap_tc_flower_handler_ipv4_usage()
113 err = vcap_rule_add_key_u128(st->vrule, in vcap_tc_flower_handler_ipv6_usage()
121 err = vcap_rule_add_key_u128(st->vrule, in vcap_tc_flower_handler_ipv6_usage()
189 err = vcap_rule_add_key_u32(st->vrule, vid_key, in vcap_tc_flower_handler_cvlan_usage()
197 err = vcap_rule_add_key_u32(st->vrule, pcp_key, in vcap_tc_flower_handler_cvlan_usage()
223 err = vcap_rule_add_key_u32(st->vrule, vid_key, in vcap_tc_flower_handler_vlan_usage()
231 err = vcap_rule_add_key_u32(st->vrule, pcp_key, in vcap_tc_flower_handler_vlan_usage()
[all …]
A Dvcap_api_debugfs.c297 struct vcap_rule *vrule; in vcap_show_admin() local
302 vrule = vcap_decode_rule(elem); in vcap_show_admin()
303 if (IS_ERR_OR_NULL(vrule)) { in vcap_show_admin()
304 ret = PTR_ERR(vrule); in vcap_show_admin()
309 vcap_show_admin_rule(vctrl, admin, out, to_intrule(vrule)); in vcap_show_admin()
310 vcap_free_rule(vrule); in vcap_show_admin()
A Dvcap_tc.h12 struct vcap_rule *vrule; member
A Dvcap_api_client.h240 void vcap_set_tc_exterr(struct flow_cls_offload *fco, struct vcap_rule *vrule);
A Dvcap_api.c2902 void vcap_set_tc_exterr(struct flow_cls_offload *fco, struct vcap_rule *vrule) in vcap_set_tc_exterr() argument
2904 switch (vrule->exterr) { in vcap_set_tc_exterr()
/linux-6.3-rc2/security/apparmor/
A Daudit.c208 void aa_audit_rule_free(void *vrule) in aa_audit_rule_free() argument
210 struct aa_audit_rule *rule = vrule; in aa_audit_rule_free()
219 int aa_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) in aa_audit_rule_init() argument
246 *vrule = rule; in aa_audit_rule_init()
266 int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule) in aa_audit_rule_match() argument
268 struct aa_audit_rule *rule = vrule; in aa_audit_rule_match()
/linux-6.3-rc2/security/apparmor/include/
A Daudit.h192 void aa_audit_rule_free(void *vrule);
193 int aa_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule);
195 int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule);
/linux-6.3-rc2/security/selinux/ss/
A Dservices.c3548 void selinux_audit_rule_free(void *vrule) in selinux_audit_rule_free() argument
3550 struct selinux_audit_rule *rule = vrule; in selinux_audit_rule_free()
3558 int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) in selinux_audit_rule_init() argument
3567 struct selinux_audit_rule **rule = (struct selinux_audit_rule **)vrule; in selinux_audit_rule_init()
3685 int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule) in selinux_audit_rule_match() argument
3691 struct selinux_audit_rule *rule = vrule; in selinux_audit_rule_match()
/linux-6.3-rc2/security/smack/
A Dsmack_lsm.c4539 static int smack_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) in smack_audit_rule_init() argument
4542 char **rule = (char **)vrule; in smack_audit_rule_init()
4593 static int smack_audit_rule_match(u32 secid, u32 field, u32 op, void *vrule) in smack_audit_rule_match() argument
4596 char *rule = vrule; in smack_audit_rule_match()

Completed in 46 milliseconds