/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | sample.c | 55 struct mlx5_flow_handle *rule; member 290 restore->rule = esw_add_restore_rule(esw, obj_id); in sample_restore_get() 291 if (IS_ERR(restore->rule)) { in sample_restore_get() 292 err = PTR_ERR(restore->rule); in sample_restore_get() 320 mlx5_del_flow_rules(restore->rule); in sample_restore_put() 590 struct mlx5_flow_handle *rule, in mlx5e_tc_sample_unoffload() argument
|
/openbmc/linux/security/selinux/ss/ |
H A D | services.c | 3492 struct selinux_audit_rule *rule = vrule; in selinux_audit_rule_free() local 3494 if (rule) { in selinux_audit_rule_free() 3495 context_destroy(&rule->au_ctxt); in selinux_audit_rule_free() 3496 kfree(rule); in selinux_audit_rule_free() 3512 *rule = NULL; in selinux_audit_rule_init() 3590 *rule = tmprule; in selinux_audit_rule_init() 3596 *rule = NULL; in selinux_audit_rule_init() 3605 for (i = 0; i < rule->field_count; i++) { in selinux_audit_rule_known() 3631 struct selinux_audit_rule *rule = vrule; in selinux_audit_rule_match() local 3634 if (unlikely(!rule)) { in selinux_audit_rule_match() [all …]
|
/openbmc/linux/kernel/ |
H A D | auditsc.c | 465 struct audit_krule *rule, in audit_filter_rules() argument 476 if (ctx && rule->prio <= ctx->prio) in audit_filter_rules() 481 for (i = 0; i < rule->field_count; i++) { in audit_filter_rules() 482 struct audit_field *f = &rule->fields[i]; in audit_filter_rules() 755 if (rule->filterkey) { in audit_filter_rules() 759 ctx->prio = rule->prio; in audit_filter_rules() 761 switch (rule->action) { in audit_filter_rules() 808 return rule->mask[word] & bit; in audit_in_mask() 835 if (audit_in_mask(&e->rule, op) && in __audit_filter_op() 2317 && e->rule.action == AUDIT_NEVER) { in __audit_inode() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | wic | 425 for rule in rules.split(','): 427 part, size = rule.split(':') 429 raise argparse.ArgumentTypeError("Incorrect rule format: %s" % rule) 432 raise argparse.ArgumentTypeError("Rule '%s': partition number must be integer" % rule) 442 raise argparse.ArgumentTypeError("Rule '%s': size must be integer" % rule)
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | wic | 425 for rule in rules.split(','): 427 part, size = rule.split(':') 429 raise argparse.ArgumentTypeError("Incorrect rule format: %s" % rule) 432 raise argparse.ArgumentTypeError("Rule '%s': partition number must be integer" % rule) 442 raise argparse.ArgumentTypeError("Rule '%s': size must be integer" % rule)
|
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
H A D | phase_fault_detection.md | 38 - Use the "rule_id" property to specify a standard rule to run. 52 | rule_id | see [notes](#notes) | string | Unique ID of the [rule](rule.md…
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_vcap.h | 16 struct ocelot_vcap_filter *rule);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.h | 157 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5_tc_ct_match_add() local 159 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) in mlx5_tc_ct_match_add()
|
H A D | tc_tun.c | 803 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse() local 835 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in mlx5e_tc_tun_parse() 846 flow_rule_match_enc_control(rule, &match); in mlx5e_tc_tun_parse() 853 flow_rule_match_enc_ipv4_addrs(rule, &match); in mlx5e_tc_tun_parse() 874 flow_rule_match_enc_ipv6_addrs(rule, &match); in mlx5e_tc_tun_parse() 899 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) { in mlx5e_tc_tun_parse() 902 flow_rule_match_enc_ip(rule, &match); in mlx5e_tc_tun_parse() 945 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_udp_ports() local 951 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS)) { in mlx5e_tc_tun_parse_udp_ports() 959 flow_rule_match_enc_ports(rule, &enc_ports); in mlx5e_tc_tun_parse_udp_ports()
|
H A D | fs_tt_redirect.h | 9 void mlx5e_fs_tt_redirect_del_rule(struct mlx5_flow_handle *rule);
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2551 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry() 2597 fsp->ring_cookie = rule->action; in ixgbe_get_ethtool_fdir_entry() 2607 struct ixgbe_fdir_filter *rule; in ixgbe_get_ethtool_fdir_all() local 2617 rule_locs[cnt] = rule->sw_idx; in ixgbe_get_ethtool_fdir_all() 2718 rule = NULL; in ixgbe_update_ethtool_fdir_entry() 2723 if (rule->sw_idx >= sw_idx) in ixgbe_update_ethtool_fdir_entry() 2725 parent = rule; in ixgbe_update_ethtool_fdir_entry() 2729 if (rule && (rule->sw_idx == sw_idx)) { in ixgbe_update_ethtool_fdir_entry() 2733 &rule->filter, in ixgbe_update_ethtool_fdir_entry() 2737 hlist_del(&rule->fdir_node); in ixgbe_update_ethtool_fdir_entry() [all …]
|
/openbmc/openbmc/meta-security/docs/ |
H A D | dm-verity-beaglebone.txt | 20 [see the pkg_postinst_ontarget rule in the sysvinit rule for details.]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra20_spdif.c | 183 struct snd_pcm_hw_rule *rule) in tegra20_spdif_filter_rates() argument 185 struct snd_interval *r = hw_param_interval(params, rule->var); in tegra20_spdif_filter_rates() 186 struct snd_soc_dai *dai = rule->private; in tegra20_spdif_filter_rates()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmd.c | 1627 struct coalesce_receive_filt_rule *rule; in mwifiex_cmd_coalesce_cfg() local 1634 rule = (void *)coalesce_cfg->rule_data; in mwifiex_cmd_coalesce_cfg() 1638 rule->max_coalescing_delay = in mwifiex_cmd_coalesce_cfg() 1639 cpu_to_le16(cfg->rule[cnt].max_coalescing_delay); in mwifiex_cmd_coalesce_cfg() 1640 rule->pkt_type = cfg->rule[cnt].pkt_type; in mwifiex_cmd_coalesce_cfg() 1641 rule->num_of_fields = cfg->rule[cnt].num_of_fields; in mwifiex_cmd_coalesce_cfg() 1645 param = rule->params; in mwifiex_cmd_coalesce_cfg() 1649 cfg->rule[cnt].params[idx].operand_len; in mwifiex_cmd_coalesce_cfg() 1651 cpu_to_le16(cfg->rule[cnt].params[idx].offset); in mwifiex_cmd_coalesce_cfg() 1670 le16_to_cpu(rule->header.len) + in mwifiex_cmd_coalesce_cfg() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs_kunit.c | 37 struct vcap_rule *rule, in test_val_keyset() argument 82 struct vcap_rule *rule) in test_add_def_fields() argument 85 vcap_rule_add_key_bit(rule, VCAP_KF_LOOKUP_FIRST_IS, in test_add_def_fields() 88 vcap_rule_add_key_bit(rule, VCAP_KF_LOOKUP_FIRST_IS, in test_add_def_fields()
|
H A D | vcap_api.h | 225 struct vcap_rule *rule, 232 struct vcap_rule *rule);
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice-pcm.c | 12 struct snd_pcm_hw_rule *rule) in dice_rate_constraint() argument 14 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint() 50 struct snd_pcm_hw_rule *rule) in dice_channels_constraint() argument 52 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint()
|
/openbmc/linux/sound/firewire/oxfw/ |
H A D | oxfw-pcm.c | 11 struct snd_pcm_hw_rule *rule) in hw_rule_rate() argument 13 u8 **formats = rule->private; in hw_rule_rate() 42 struct snd_pcm_hw_rule *rule) in hw_rule_channels() argument 44 u8 **formats = rule->private; in hw_rule_channels()
|
/openbmc/linux/Documentation/security/ |
H A D | landlock.rst | 21 LSM). Indeed, a Landlock rule shall not interfere with other access-controls 34 * A Landlock rule shall be focused on access control on kernel objects instead 115 domain. Indeed, once in a domain, each rule is tied to a layer level. To 116 grant access to an object, at least one rule of each layer must allow the
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 619 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in am65_cpsw_qos_clsflower_add_policer() local 620 struct flow_dissector *dissector = rule->match.dissector; in am65_cpsw_qos_clsflower_add_policer() 635 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in am65_cpsw_qos_clsflower_add_policer() 640 flow_rule_match_eth_addrs(rule, &match); in am65_cpsw_qos_clsflower_add_policer() 709 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in am65_cpsw_qos_configure_clsflower() local 714 flow_action_for_each(i, act, &rule->action) { in am65_cpsw_qos_configure_clsflower() 717 ret = am65_cpsw_qos_clsflower_policer_validate(&rule->action, act, extack); in am65_cpsw_qos_configure_clsflower()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc.c | 436 if (rule->entry == index) in npc_fixup_vf_rule() 1186 if (rule->intf != intf) in rvu_npc_enable_mcam_by_entry_index() 1189 if (rule->entry != entry) in rvu_npc_enable_mcam_by_entry_index() 1192 rule->enable = enable; in rvu_npc_enable_mcam_by_entry_index() 1236 rule->enable = false; in rvu_npc_disable_mcam_entries() 1238 if (rule->default_rule) { in rvu_npc_disable_mcam_entries() 1240 list_del(&rule->list); in rvu_npc_disable_mcam_entries() 1241 kfree(rule); in rvu_npc_disable_mcam_entries() 1273 if (rule->owner == pcifunc && !rule->default_rule) { in rvu_npc_free_mcam_entries() 1274 list_del(&rule->list); in rvu_npc_free_mcam_entries() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | smfs.h | 34 mlx5_smfs_rule_destroy(struct mlx5dr_rule *rule);
|
/openbmc/linux/security/smack/ |
H A D | Kconfig | 22 When access is granted by a rule with the "b" mode a 29 access rule set once the behavior is well understood.
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/drbd/drbd-utils/ |
H A D | 0001-configure.ac-Add-an-option-to-disable-host-udev-vers.patch | 9 enabled udev rule (for its udev-enabled target). 13 enabled udev rule. Without this new option, the behavior stays the same
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mae.h | 122 int efx_mae_insert_lhs_rule(struct efx_nic *efx, struct efx_tc_lhs_rule *rule, 124 int efx_mae_remove_lhs_rule(struct efx_nic *efx, struct efx_tc_lhs_rule *rule);
|