Searched refs:LANDLOCK_MAX_NUM_LAYERS (Results 1 – 3 of 3) sorted by relevance
68 BUILD_BUG_ON(rule.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_rule()82 if (WARN_ON_ONCE(num_layers >= LANDLOCK_MAX_NUM_LAYERS)) in create_rule()123 BUILD_BUG_ON(ruleset.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_ruleset()226 BUILD_BUG_ON(layer.level < LANDLOCK_MAX_NUM_LAYERS); in build_check_layer()415 if (parent->num_layers >= LANDLOCK_MAX_NUM_LAYERS) in landlock_merge_ruleset()
18 #define LANDLOCK_MAX_NUM_LAYERS 16 macro
30 static_assert(BITS_PER_TYPE(layer_mask_t) >= LANDLOCK_MAX_NUM_LAYERS);