| /linux-6.15/drivers/net/dsa/mv88e6xxx/ |
| H A D | leds.c | 99 unsigned long rules; member 123 .rules = BIT(TRIGGER_NETDEV_LINK), 197 .rules = BIT(TRIGGER_NETDEV_LINK), 210 .rules = BIT(TRIGGER_NETDEV_LINK), 344 if (!rules) { in mv88e6xxx_led_match_selector() 371 if (conf->rules == rules) { in mv88e6xxx_led_match_selector() 410 *rules = conf->rules; in mv88e6xxx_led_match_rule() 598 int led, unsigned long rules) in mv88e6xxx_led_hw_control_set() argument 652 *rules = 0; in mv88e6xxx_led_hw_control_get() 661 *rules = 0; in mv88e6xxx_led_hw_control_get() [all …]
|
| /linux-6.15/drivers/net/phy/aquantia/ |
| H A D | aquantia_leds.c | 35 unsigned long rules) in aqr_phy_led_hw_is_supported() argument 41 if (rules & ~supported_triggers) in aqr_phy_led_hw_is_supported() 48 unsigned long *rules) in aqr_phy_led_hw_control_get() argument 59 *rules = 0; in aqr_phy_led_hw_control_get() 61 *rules |= BIT(TRIGGER_NETDEV_LINK_100); in aqr_phy_led_hw_control_get() 64 *rules |= BIT(TRIGGER_NETDEV_LINK_1000); in aqr_phy_led_hw_control_get() 76 *rules |= BIT(TRIGGER_NETDEV_RX); in aqr_phy_led_hw_control_get() 79 *rules |= BIT(TRIGGER_NETDEV_TX); in aqr_phy_led_hw_control_get() 85 unsigned long rules) in aqr_phy_led_hw_control_set() argument 107 if (rules & BIT(TRIGGER_NETDEV_RX)) in aqr_phy_led_hw_control_set() [all …]
|
| /linux-6.15/drivers/gpu/drm/ci/ |
| H A D | build.yml | 115 rules: 119 rules: 123 rules: 127 rules: 131 rules: 135 rules: 139 rules: 143 rules: 147 rules: 151 rules: [all …]
|
| H A D | container.yml | 24 rules: 28 rules: 32 rules: 36 rules: 40 rules: 44 rules: 48 rules: 52 rules: 56 rules: 60 rules: [all …]
|
| H A D | gitlab-ci.yml | 135 rules: 155 rules: 161 rules: 167 rules: 168 - !reference [.common-rules, rules] 170 - !reference [.disable-farm-mr-rules, rules] 172 - !reference [.never-post-merge-rules, rules] 219 rules: 243 rules: 285 rules: [all …]
|
| H A D | test.yml | 5 rules: 6 - !reference [.scheduled_pipeline-rules, rules] 7 - !reference [.collabora-farm-rules, rules] 73 rules: 74 - !reference [.scheduled_pipeline-rules, rules] 75 - !reference [.google-freedreno-farm-rules, rules] 385 rules: 445 rules: 446 - !reference [.scheduled_pipeline-rules, rules] 468 rules: [all …]
|
| /linux-6.15/security/apparmor/ |
| H A D | resource.c | 92 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_setrlimit() local 93 typeof(*rules), list); in profile_setrlimit() 97 rules->rlimits.limits[resource].rlim_max) in profile_setrlimit() 168 struct aa_ruleset *rules = list_first_entry(&old->rules, in __aa_transition_rlimits() local 169 typeof(*rules), in __aa_transition_rlimits() 171 if (rules->rlimits.mask) { in __aa_transition_rlimits() 176 if (rules->rlimits.mask & mask) { in __aa_transition_rlimits() 188 struct aa_ruleset *rules = list_first_entry(&new->rules, in __aa_transition_rlimits() local 189 typeof(*rules), in __aa_transition_rlimits() 193 if (!rules->rlimits.mask) in __aa_transition_rlimits() [all …]
|
| H A D | net.c | 113 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_profile_af_perm() local 114 typeof(*rules), list); in aa_profile_af_perm() 124 state = RULE_MEDIATES(rules, AA_CLASS_NET); in aa_profile_af_perm() 226 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_secmark_perm() local 227 typeof(*rules), list); in aa_secmark_perm() 229 if (rules->secmark_count == 0) in aa_secmark_perm() 232 for (i = 0; i < rules->secmark_count; i++) { in aa_secmark_perm() 233 if (!rules->secmark[i].secid) { in aa_secmark_perm() 239 if (rules->secmark[i].secid == secid || in aa_secmark_perm() 241 if (rules->secmark[i].deny) in aa_secmark_perm() [all …]
|
| H A D | capability.c | 71 struct aa_ruleset *rules = list_first_entry(&profile->rules, in audit_caps() local 72 typeof(*rules), list); in audit_caps() 81 !cap_raised(rules->caps.audit, cap))) in audit_caps() 85 cap_raised(rules->caps.kill, cap)) { in audit_caps() 87 } else if (cap_raised(rules->caps.quiet, cap) && in audit_caps() 124 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_capable() local 125 typeof(*rules), list); in profile_capable() 128 if (cap_raised(rules->caps.allow, cap) && in profile_capable() 129 !cap_raised(rules->caps.denied, cap)) in profile_capable()
|
| H A D | policy_unpack.c | 577 if (!rules->secmark) in unpack_secmark() 599 if (rules->secmark) { in unpack_secmark() 602 kfree(rules->secmark); in unpack_secmark() 604 rules->secmark = NULL; in unpack_secmark() 865 rules = list_first_entry(&profile->rules, typeof(*rules), list); in unpack_profile() 1006 if (aa_dfa_next(rules->policy->dfa, rules->policy->start[0], in unpack_profile() 1040 rules->file = aa_get_pdb(rules->policy); in unpack_profile() 1246 struct aa_ruleset *rules = list_first_entry(&profile->rules, in verify_profile() local 1248 if (!rules) in verify_profile() 1251 if (rules->file->dfa && !verify_dfa_accept_index(rules->file->dfa, in verify_profile() [all …]
|
| H A D | mount.c | 314 struct aa_ruleset *rules = list_first_entry(&profile->rules, in match_mnt_path_str() local 315 typeof(*rules), list); in match_mnt_path_str() 337 pos = do_match_mnt(rules->policy, in match_mnt_path_str() 374 struct aa_ruleset *rules = list_first_entry(&profile->rules, in match_mnt() local 375 typeof(*rules), list); in match_mnt() 607 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_umount() local 608 typeof(*rules), list); in profile_umount() 625 state = aa_dfa_match(rules->policy->dfa, in profile_umount() 671 struct aa_ruleset *rules = list_first_entry(&profile->rules, in build_pivotroot() local 672 typeof(*rules), list); in build_pivotroot() [all …]
|
| H A D | domain.c | 90 struct aa_ruleset *rules = list_first_entry(&profile->rules, in match_component() local 91 typeof(*rules), list); in match_component() 128 struct aa_ruleset *rules = list_first_entry(&profile->rules, in label_compound_match() local 129 typeof(*rules), list); in label_compound_match() 190 struct aa_ruleset *rules = list_first_entry(&profile->rules, in label_components_match() local 191 typeof(*rules), list); in label_components_match() 515 struct aa_ruleset *rules = list_first_entry(&profile->rules, in x_table_lookup() local 567 struct aa_ruleset *rules = list_first_entry(&profile->rules, in x_to_label() local 636 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_transition() local 742 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_onexec() local [all …]
|
| H A D | ipc.c | 83 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_signal_perm() local 84 typeof(*rules), list); in profile_signal_perm() 89 !ANY_RULE_MEDIATES(&profile->rules, AA_CLASS_SIGNAL)) in profile_signal_perm() 95 state = aa_dfa_next(rules->policy->dfa, in profile_signal_perm() 96 rules->policy->start[AA_CLASS_SIGNAL], in profile_signal_perm() 98 aa_label_match(profile, rules, peer, state, false, request, &perms); in profile_signal_perm()
|
| H A D | task.c | 231 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_ptrace_perm() local 232 typeof(*rules), list); in profile_ptrace_perm() 237 aa_profile_match_label(profile, rules, peer, AA_CLASS_PTRACE, request, in profile_ptrace_perm() 249 !ANY_RULE_MEDIATES(&tracee->rules, AA_CLASS_PTRACE)) in profile_tracee_perm() 263 if (ANY_RULE_MEDIATES(&tracer->rules, AA_CLASS_PTRACE)) in profile_tracer_perm() 327 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_profile_ns_perm() local 328 typeof(*rules), in aa_profile_ns_perm() 332 state = RULE_MEDIATES(rules, ad->class); in aa_profile_ns_perm() 336 perms = *aa_lookup_perms(rules->policy, state); in aa_profile_ns_perm()
|
| H A D | policy.c | 246 aa_put_pdb(rules->file); in free_ruleset() 247 aa_put_pdb(rules->policy); in free_ruleset() 254 kfree_sensitive(rules); in free_ruleset() 259 struct aa_ruleset *rules; in aa_alloc_ruleset() local 261 rules = kzalloc(sizeof(*rules), gfp); in aa_alloc_ruleset() 262 if (rules) in aa_alloc_ruleset() 265 return rules; in aa_alloc_ruleset() 334 struct aa_ruleset *rules; in aa_alloc_profile() local 350 if (!rules) in aa_alloc_profile() 352 list_add(&rules->list, &profile->rules); in aa_alloc_profile() [all …]
|
| /linux-6.15/drivers/net/phy/mediatek/ |
| H A D | mtk-phy-lib.c | 99 unsigned long rules, in mtk_phy_led_hw_is_supported() argument 106 if (rules & ~supported_triggers) in mtk_phy_led_hw_is_supported() 114 unsigned long *rules, u16 on_set, in mtk_phy_led_hw_ctrl_get() argument 156 if (!rules) in mtk_phy_led_hw_ctrl_get() 160 *rules |= BIT(TRIGGER_NETDEV_LINK); in mtk_phy_led_hw_ctrl_get() 163 *rules |= BIT(TRIGGER_NETDEV_LINK_10); in mtk_phy_led_hw_ctrl_get() 181 *rules |= BIT(TRIGGER_NETDEV_RX); in mtk_phy_led_hw_ctrl_get() 184 *rules |= BIT(TRIGGER_NETDEV_TX); in mtk_phy_led_hw_ctrl_get() 191 unsigned long rules, u16 on_set, in mtk_phy_led_hw_ctrl_set() argument 220 if (rules & BIT(TRIGGER_NETDEV_RX)) { in mtk_phy_led_hw_ctrl_set() [all …]
|
| /linux-6.15/drivers/net/phy/qcom/ |
| H A D | qca807x.c | 141 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca807x_led_parse_netdev() 143 if (test_bit(TRIGGER_NETDEV_RX, &rules)) in qca807x_led_parse_netdev() 157 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca807x_led_parse_netdev() 174 if (rules && !*offload_trigger) in qca807x_led_parse_netdev() 192 unsigned long rules) in qca807x_led_hw_is_supported() argument 203 unsigned long rules) in qca807x_led_hw_control_set() argument 249 unsigned long *rules) in qca807x_led_hw_control_get() argument 267 set_bit(TRIGGER_NETDEV_TX, rules); in qca807x_led_hw_control_get() 269 set_bit(TRIGGER_NETDEV_RX, rules); in qca807x_led_hw_control_get() 286 set_bit(TRIGGER_NETDEV_TX, rules); in qca807x_led_hw_control_get() [all …]
|
| H A D | qca808x.c | 423 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca808x_led_parse_netdev() 425 if (test_bit(TRIGGER_NETDEV_RX, &rules)) in qca808x_led_parse_netdev() 440 if (rules && !*offload_trigger) in qca808x_led_parse_netdev() 463 unsigned long rules) in qca808x_led_hw_is_supported() argument 474 unsigned long rules) in qca808x_led_hw_control_set() argument 509 unsigned long *rules) in qca808x_led_hw_control_get() argument 525 set_bit(TRIGGER_NETDEV_TX, rules); in qca808x_led_hw_control_get() 527 set_bit(TRIGGER_NETDEV_RX, rules); in qca808x_led_hw_control_get() 529 set_bit(TRIGGER_NETDEV_LINK_10, rules); in qca808x_led_hw_control_get() 531 set_bit(TRIGGER_NETDEV_LINK_100, rules); in qca808x_led_hw_control_get() [all …]
|
| /linux-6.15/drivers/net/dsa/qca/ |
| H A D | qca8k-leds.c | 68 if (test_bit(TRIGGER_NETDEV_TX, &rules)) in qca8k_parse_netdev() 70 if (test_bit(TRIGGER_NETDEV_RX, &rules)) in qca8k_parse_netdev() 72 if (test_bit(TRIGGER_NETDEV_LINK_10, &rules)) in qca8k_parse_netdev() 74 if (test_bit(TRIGGER_NETDEV_LINK_100, &rules)) in qca8k_parse_netdev() 76 if (test_bit(TRIGGER_NETDEV_LINK_1000, &rules)) in qca8k_parse_netdev() 83 if (rules && !*offload_trigger) in qca8k_parse_netdev() 333 set_bit(TRIGGER_NETDEV_TX, rules); in qca8k_cled_hw_control_get() 335 set_bit(TRIGGER_NETDEV_RX, rules); in qca8k_cled_hw_control_get() 337 set_bit(TRIGGER_NETDEV_LINK_10, rules); in qca8k_cled_hw_control_get() 339 set_bit(TRIGGER_NETDEV_LINK_100, rules); in qca8k_cled_hw_control_get() [all …]
|
| /linux-6.15/Documentation/admin-guide/aoe/ |
| H A D | udev.txt | 1 # These rules tell udev what device nodes to create for aoe support. 11 # udev_rules="/etc/udev/rules.d/" 12 # bash# ls /etc/udev/rules.d/ 13 # 10-wacom.rules 50-udev.rules 15 # /etc/udev/rules.d/60-aoe.rules
|
| /linux-6.15/drivers/net/phy/ |
| H A D | intel-xway.c | 405 unsigned long rules) in xway_gphy_led_hw_is_supported() argument 421 if (rules & ~supported_triggers) in xway_gphy_led_hw_is_supported() 428 unsigned long *rules) in xway_gphy_led_hw_control_get() argument 444 *rules |= BIT(TRIGGER_NETDEV_LINK_10); in xway_gphy_led_hw_control_get() 455 *rules |= BIT(TRIGGER_NETDEV_LINK); in xway_gphy_led_hw_control_get() 458 *rules |= BIT(TRIGGER_NETDEV_TX); in xway_gphy_led_hw_control_get() 461 *rules |= BIT(TRIGGER_NETDEV_RX); in xway_gphy_led_hw_control_get() 467 unsigned long rules) in xway_gphy_led_hw_control_set() argument 475 if (rules & BIT(TRIGGER_NETDEV_LINK) || in xway_gphy_led_hw_control_set() 487 if (rules & BIT(TRIGGER_NETDEV_TX)) in xway_gphy_led_hw_control_set() [all …]
|
| H A D | air_en8811h.c | 141 unsigned long rules; member 549 priv->led[index].rules = 0; in air_hw_led_on_set() 615 priv->led[index].rules = 0; in air_led_blink_set() 640 priv->led[index].rules = 0; in air_led_brightness_set() 646 unsigned long *rules) in air_led_hw_control_get() argument 653 *rules = priv->led[index].rules; in air_led_hw_control_get() 659 unsigned long rules) in air_led_hw_control_set() argument 668 priv->led[index].rules = rules; in air_led_hw_control_set() 706 priv->led[index].rules = 0; in air_led_hw_control_set() 797 unsigned long rules) in en8811h_led_hw_is_supported() argument [all …]
|
| /linux-6.15/security/ipe/ |
| H A D | policy_parser.c | 39 for (i = 0; i < ARRAY_SIZE(p->rules); ++i) { in new_parsed_policy() 40 t = &p->rules[i]; in new_parsed_policy() 43 INIT_LIST_HEAD(&t->rules); in new_parsed_policy() 420 if (p->rules[op].default_action != IPE_ACTION_INVALID) in parse_rule() 423 p->rules[op].default_action = action; in parse_rule() 435 list_add_tail(&r->next, &p->rules[op].rules); in parse_rule() 457 for (i = 0; i < ARRAY_SIZE(p->rules); ++i) in ipe_free_parsed_policy() 458 list_for_each_entry_safe(pp, t, &p->rules[i].rules, next) { in ipe_free_parsed_policy() 485 for (i = 0; i < ARRAY_SIZE(p->rules); ++i) { in validate_policy() 486 if (p->rules[i].default_action == IPE_ACTION_INVALID) in validate_policy()
|
| /linux-6.15/net/netfilter/ |
| H A D | nft_set_pipapo.c | 644 if (unlikely(rules == 0)) in pipapo_realloc_mt() 648 if (rules > old_rules && f->rules_alloc > rules) in pipapo_realloc_mt() 652 if (rules < old_rules) { in pipapo_realloc_mt() 662 if (rules > extra && in pipapo_realloc_mt() 673 if (rules > old_rules) { in pipapo_realloc_mt() 978 ret = pipapo_resize(f, f->rules, f->rules + 1); in pipapo_insert() 982 f->rules++; in pipapo_insert() 1377 rulemap[i].to = f->rules; 1471 if (src->rules > 0) { 1673 if (pipapo_resize(f, f->rules, f->rules - rulemap[i].n)) { [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_gen_wa_oob.c | 58 char *name, *prev_name = NULL, *rules; in parse() local 81 rules = strtok(NULL, ""); in parse() 89 rules = name; in parse() 93 if (rules[0] == '\0') { in parse() 106 name, rules); in parse() 109 fprintf(csource, ", OR,\n\t%s", rules); in parse()
|