Searched refs:new_ruleset (Results 1 – 1 of 1) sorted by relevance
29 struct landlock_ruleset *new_ruleset; in create_ruleset() local31 new_ruleset = in create_ruleset()32 kzalloc(struct_size(new_ruleset, access_masks, num_layers), in create_ruleset()34 if (!new_ruleset) in create_ruleset()36 refcount_set(&new_ruleset->usage, 1); in create_ruleset()37 mutex_init(&new_ruleset->lock); in create_ruleset()38 new_ruleset->root_inode = RB_ROOT; in create_ruleset()41 new_ruleset->root_net_port = RB_ROOT; in create_ruleset()44 new_ruleset->num_layers = num_layers; in create_ruleset()50 return new_ruleset; in create_ruleset()[all …]