Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/landlock/
Dcommon.h90 const enum landlock_rule_type rule_type, in landlock_add_rule() argument
93 return syscall(__NR_landlock_add_rule, ruleset_fd, rule_type, in landlock_add_rule()
/Linux-v5.15/samples/landlock/
Dsandboxer.c35 const enum landlock_rule_type rule_type, in landlock_add_rule() argument
38 return syscall(__NR_landlock_add_rule, ruleset_fd, rule_type, in landlock_add_rule()
/Linux-v5.15/security/landlock/
Dsyscalls.c305 const int, ruleset_fd, const enum landlock_rule_type, rule_type, in SYSCALL_DEFINE4() argument
320 if (rule_type != LANDLOCK_RULE_PATH_BENEATH) in SYSCALL_DEFINE4()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c187 enum mlx5e_vlan_rule_type rule_type, in __mlx5e_add_vlan_rule() argument
201 switch (rule_type) { in __mlx5e_add_vlan_rule()
245 if (WARN_ONCE(*rule_p, "VLAN rule already exists type %d", rule_type)) in __mlx5e_add_vlan_rule()
260 enum mlx5e_vlan_rule_type rule_type, u16 vid) in mlx5e_add_vlan_rule() argument
269 if (rule_type == MLX5E_VLAN_RULE_TYPE_MATCH_CTAG_VID) in mlx5e_add_vlan_rule()
272 err = __mlx5e_add_vlan_rule(priv, rule_type, vid, spec); in mlx5e_add_vlan_rule()
280 enum mlx5e_vlan_rule_type rule_type, u16 vid) in mlx5e_del_vlan_rule() argument
282 switch (rule_type) { in mlx5e_del_vlan_rule()
/Linux-v5.15/drivers/misc/mei/
Dbus-fixup.c89 __le16 rule_type; member
148 fwcaps->id.rule_type = 0x0; in mei_osver()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h153 u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
157 u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
Di40e_common.c2740 u16 opcode, u16 sw_seid, u16 rule_type, u16 id, in i40e_mirrorrule_op() argument
2758 cmd->rule_type = cpu_to_le16(rule_type & in i40e_mirrorrule_op()
2800 u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list, in i40e_aq_add_mirrorrule() argument
2804 if (!(rule_type == I40E_AQC_MIRROR_RULE_TYPE_ALL_INGRESS || in i40e_aq_add_mirrorrule()
2805 rule_type == I40E_AQC_MIRROR_RULE_TYPE_ALL_EGRESS)) { in i40e_aq_add_mirrorrule()
2811 rule_type, dest_vsi, count, mr_list, in i40e_aq_add_mirrorrule()
2831 u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list, in i40e_aq_delete_mirrorrule() argument
2836 if (rule_type == I40E_AQC_MIRROR_RULE_TYPE_VLAN) { in i40e_aq_delete_mirrorrule()
2846 rule_type, rule_id, count, mr_list, in i40e_aq_delete_mirrorrule()
Di40e_adminq_cmd.h1235 __le16 rule_type; member
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_switch.c985 u16 rule_type; in ice_update_vsi_list_rule() local
997 rule_type = remove ? ICE_AQC_SW_RULES_T_VSI_LIST_CLEAR : in ice_update_vsi_list_rule()
1000 rule_type = remove ? ICE_AQC_SW_RULES_T_PRUNE_LIST_CLEAR : in ice_update_vsi_list_rule()
1019 s_rule->type = cpu_to_le16(rule_type); in ice_update_vsi_list_rule()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h722 enum HCLGE_FD_ACTIVE_RULE_TYPE rule_type; member
Dhclge_main.c5459 if (!rule || rule->rule_type != HCLGE_FD_EP_ACTIVE || in hclge_fd_check_user_def_refcnt()
5492 if (!rule || rule->rule_type != HCLGE_FD_EP_ACTIVE || in hclge_fd_inc_user_def_refcnt()
5509 if (!rule || rule->rule_type != HCLGE_FD_EP_ACTIVE || in hclge_fd_dec_user_def_refcnt()
6573 if (hdev->fd_active_type != rule->rule_type && in hclge_add_fd_entry_common()
6578 rule->rule_type, hdev->fd_active_type); in hclge_add_fd_entry_common()
6596 hdev->fd_active_type = rule->rule_type; in hclge_add_fd_entry_common()
6703 rule->rule_type = HCLGE_FD_EP_ACTIVE; in hclge_add_fd_entry()
7161 rule->rule_type = HCLGE_FD_ARFS_ACTIVE; in hclge_fd_build_arfs_rule()
7498 rule->rule_type = HCLGE_FD_TC_FLOWER_ACTIVE; in hclge_add_cls_flower()
/Linux-v5.15/include/linux/
Dsyscalls.h1051 asmlinkage long sys_landlock_add_rule(int ruleset_fd, enum landlock_rule_type rule_type,