Lines Matching refs:WARN_ON_ONCE
82 if (WARN_ON_ONCE(num_layers >= LANDLOCK_MAX_NUM_LAYERS)) in create_rule()
156 if (WARN_ON_ONCE(!object || !layers)) in insert_rule()
173 if (WARN_ON_ONCE(num_layers != 1)) in insert_rule()
182 if (WARN_ON_ONCE(this->num_layers != 1)) in insert_rule()
184 if (WARN_ON_ONCE(this->layers[0].level != 0)) in insert_rule()
190 if (WARN_ON_ONCE(this->layers[0].level == 0)) in insert_rule()
269 if (WARN_ON_ONCE(!src)) in merge_ruleset()
272 if (WARN_ON_ONCE(!dst || !dst->hierarchy)) in merge_ruleset()
280 if (WARN_ON_ONCE(src->num_layers != 1 || dst->num_layers < 1)) { in merge_ruleset()
293 if (WARN_ON_ONCE(walker_rule->num_layers != 1)) { in merge_ruleset()
297 if (WARN_ON_ONCE(walker_rule->layers[0].level != 0)) { in merge_ruleset()
338 if (WARN_ON_ONCE(child->num_layers <= parent->num_layers)) { in inherit_ruleset()
346 if (WARN_ON_ONCE(!parent->hierarchy)) { in inherit_ruleset()
411 if (WARN_ON_ONCE(!ruleset || parent == ruleset)) in landlock_merge_ruleset()