Searched refs:rule (Results 1 – 12 of 12) sorted by relevance
82 struct rule { struct98 static inline unsigned int rule_hash(const struct rule *rule) in rule_hash() argument100 return rule_values_hash(rule->type, rule->target); in rule_hash()210 struct rule *rule; in kabi_read_rules() local231 rule = xmalloc(sizeof(struct rule)); in kabi_read_rules()233 rule->type = type; in kabi_read_rules()234 rule->target = xstrdup(get_rule_field(&rule_str, &left)); in kabi_read_rules()235 rule->value = xstrdup(get_rule_field(&rule_str, &left)); in kabi_read_rules()237 hash_add(rules, &rule->hash, rule_hash(rule)); in kabi_read_rules()240 rule->target, rule->value); in kabi_read_rules()[all …]
4 /// The first rule finds such a reassignment and the second rule checks
28 // Dummy rule for report mode that would otherwise be empty and make spatch
18 /// this kind were cleaned-up from the kernel. This cocci rule checks that
74 // position @q with rule "only_field" simplifies
13 /// false positives. There is no rule for the request_region and
120 // This rule may lead to inconsistent path problems, if E is defined in two
214 // It is need because the previous rule as already made a "change".
287 for rule in exclude_rules:288 if rule.match(fpath):
92 # The rule defined shall write to stdout the content of the new file.160 # if_changed_rule - as if_changed but execute rule instead
188 // XXX maybe_steam.fops cannot be used in other rules - it gives "bad rule maybe_stream or bad vari…
6 /// Note in particular that there are no ...s in the rule, so all of the