Searched refs:LANDLOCK_MAX_NUM_LAYERS (Results 1 – 3 of 3) sorted by relevance
81 BUILD_BUG_ON(rule.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_rule()112 if (WARN_ON_ONCE(num_layers >= LANDLOCK_MAX_NUM_LAYERS)) in create_rule()177 BUILD_BUG_ON(ruleset.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_ruleset()288 BUILD_BUG_ON(layer.level < LANDLOCK_MAX_NUM_LAYERS); in build_check_layer()549 if (parent->num_layers >= LANDLOCK_MAX_NUM_LAYERS) in landlock_merge_ruleset()
18 #define LANDLOCK_MAX_NUM_LAYERS 16 macro
62 static_assert(BITS_PER_TYPE(layer_mask_t) >= LANDLOCK_MAX_NUM_LAYERS);