Lines Matching refs:new_dom
404 struct landlock_ruleset *new_dom; in landlock_merge_ruleset() local
421 new_dom = create_ruleset(num_layers); in landlock_merge_ruleset()
422 if (IS_ERR(new_dom)) in landlock_merge_ruleset()
423 return new_dom; in landlock_merge_ruleset()
424 new_dom->hierarchy = kzalloc(sizeof(*new_dom->hierarchy), in landlock_merge_ruleset()
426 if (!new_dom->hierarchy) { in landlock_merge_ruleset()
430 refcount_set(&new_dom->hierarchy->usage, 1); in landlock_merge_ruleset()
433 err = inherit_ruleset(parent, new_dom); in landlock_merge_ruleset()
438 err = merge_ruleset(new_dom, ruleset); in landlock_merge_ruleset()
442 return new_dom; in landlock_merge_ruleset()
445 landlock_put_ruleset(new_dom); in landlock_merge_ruleset()