Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/landlock/
Dcommon.h88 const enum landlock_rule_type rule_type, in landlock_add_rule() argument
92 return syscall(__NR_landlock_add_rule, ruleset_fd, rule_type, rule_attr, in landlock_add_rule()
/linux-6.1.9/samples/landlock/
Dsandboxer.c35 const enum landlock_rule_type rule_type, in landlock_add_rule() argument
39 return syscall(__NR_landlock_add_rule, ruleset_fd, rule_type, rule_attr, in landlock_add_rule()
/linux-6.1.9/drivers/misc/mei/
Dmkhi.h27 __le16 rule_type; member
Dbus-fixup.c125 fwcaps->id.rule_type = 0x0; in mei_osver()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c26 u16 rule_type; member
973 flow->rule_type |= PFC_FLOWCTRL_RULE; in otx2_add_flow_msg()
1013 pf_mac->rule_type |= DMAC_FILTER_RULE; in otx2_add_flow_with_pfmac()
1078 if (flow->rule_type & DMAC_FILTER_RULE) in otx2_add_flow()
1099 flow->rule_type |= DMAC_FILTER_RULE; in otx2_add_flow()
1167 if ((iter->rule_type & DMAC_FILTER_RULE) && iter->entry == 0) { in otx2_update_rem_pfmac()
1204 if (flow->rule_type & DMAC_FILTER_RULE) { in otx2_remove_flow()
1223 if (flow->rule_type & PFC_FLOWCTRL_RULE) in otx2_remove_flow()
1438 if (iter->rule_type & DMAC_FILTER_RULE) { in otx2_dmacflt_reinstall_flows()
/linux-6.1.9/security/landlock/
Dsyscalls.c306 const enum landlock_rule_type, rule_type, in SYSCALL_DEFINE4() argument
326 if (rule_type != LANDLOCK_RULE_PATH_BENEATH) { in SYSCALL_DEFINE4()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c213 enum mlx5e_vlan_rule_type rule_type, in __mlx5e_add_vlan_rule() argument
227 switch (rule_type) { in __mlx5e_add_vlan_rule()
271 if (WARN_ONCE(*rule_p, "VLAN rule already exists type %d", rule_type)) in __mlx5e_add_vlan_rule()
286 enum mlx5e_vlan_rule_type rule_type, u16 vid) in mlx5e_add_vlan_rule() argument
295 if (rule_type == MLX5E_VLAN_RULE_TYPE_MATCH_CTAG_VID) in mlx5e_add_vlan_rule()
298 err = __mlx5e_add_vlan_rule(fs, rule_type, vid, spec); in mlx5e_add_vlan_rule()
306 enum mlx5e_vlan_rule_type rule_type, u16 vid) in mlx5e_fs_del_vlan_rule() argument
308 switch (rule_type) { in mlx5e_fs_del_vlan_rule()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_rvu_if.c736 switch (req->rule_type) { in rvu_mbox_handler_mcs_alloc_ctrl_pkt_rule()
760 rsp->rule_type = req->rule_type; in rvu_mbox_handler_mcs_alloc_ctrl_pkt_rule()
Dmbox.h1953 u8 rule_type; member
1962 u8 rule_type; member
1971 u8 rule_type; member
1984 u8 rule_type; member
Dmcs.c607 switch (req->rule_type) { in mcs_ctrlpktrule_write()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h182 u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
186 u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
Di40e_common.c2844 u16 opcode, u16 sw_seid, u16 rule_type, u16 id, in i40e_mirrorrule_op() argument
2862 cmd->rule_type = cpu_to_le16(rule_type & in i40e_mirrorrule_op()
2904 u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list, in i40e_aq_add_mirrorrule() argument
2908 if (!(rule_type == I40E_AQC_MIRROR_RULE_TYPE_ALL_INGRESS || in i40e_aq_add_mirrorrule()
2909 rule_type == I40E_AQC_MIRROR_RULE_TYPE_ALL_EGRESS)) { in i40e_aq_add_mirrorrule()
2915 rule_type, dest_vsi, count, mr_list, in i40e_aq_add_mirrorrule()
2935 u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list, in i40e_aq_delete_mirrorrule() argument
2940 if (rule_type == I40E_AQC_MIRROR_RULE_TYPE_VLAN) { in i40e_aq_delete_mirrorrule()
2950 rule_type, rule_id, count, mr_list, in i40e_aq_delete_mirrorrule()
Di40e_adminq_cmd.h1235 __le16 rule_type; member
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h735 enum HCLGE_FD_ACTIVE_RULE_TYPE rule_type; member
Dhclge_main.c5349 if (!rule || rule->rule_type != HCLGE_FD_EP_ACTIVE || in hclge_fd_check_user_def_refcnt()
5382 if (!rule || rule->rule_type != HCLGE_FD_EP_ACTIVE || in hclge_fd_inc_user_def_refcnt()
5399 if (!rule || rule->rule_type != HCLGE_FD_EP_ACTIVE || in hclge_fd_dec_user_def_refcnt()
6463 if (hdev->fd_active_type != rule->rule_type && in hclge_add_fd_entry_common()
6468 rule->rule_type, hdev->fd_active_type); in hclge_add_fd_entry_common()
6486 hdev->fd_active_type = rule->rule_type; in hclge_add_fd_entry_common()
6593 rule->rule_type = HCLGE_FD_EP_ACTIVE; in hclge_add_fd_entry()
7067 rule->rule_type = HCLGE_FD_ARFS_ACTIVE; in hclge_fd_build_arfs_rule()
7410 rule->rule_type = HCLGE_FD_TC_FLOWER_ACTIVE; in hclge_add_cls_flower()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_switch.c2741 u16 rule_type; in ice_update_vsi_list_rule() local
2755 rule_type = remove ? ICE_AQC_SW_RULES_T_VSI_LIST_CLEAR : in ice_update_vsi_list_rule()
2758 rule_type = remove ? ICE_AQC_SW_RULES_T_PRUNE_LIST_CLEAR : in ice_update_vsi_list_rule()
2777 s_rule->hdr.type = cpu_to_le16(rule_type); in ice_update_vsi_list_rule()
/linux-6.1.9/include/linux/
Dsyscalls.h1052 asmlinkage long sys_landlock_add_rule(int ruleset_fd, enum landlock_rule_type rule_type,