Lines Matching refs:new_entry
28 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size, in tomoyo_update_policy() argument
44 if (!check_duplicate(entry, new_entry)) in tomoyo_update_policy()
51 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_policy()
88 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size, in tomoyo_update_domain() argument
104 new_entry->cond = tomoyo_get_condition(param); in tomoyo_update_domain()
105 if (!new_entry->cond) in tomoyo_update_domain()
111 if (new_entry->cond->transit && in tomoyo_update_domain()
112 !(new_entry->type == TOMOYO_TYPE_PATH_ACL && in tomoyo_update_domain()
113 container_of(new_entry, struct tomoyo_path_acl, head) in tomoyo_update_domain()
122 if (!tomoyo_same_acl_head(entry, new_entry) || in tomoyo_update_domain()
123 !check_duplicate(entry, new_entry)) in tomoyo_update_domain()
126 entry->is_deleted = merge_duplicate(entry, new_entry, in tomoyo_update_domain()
134 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_domain()
142 tomoyo_put_condition(new_entry->cond); in tomoyo_update_domain()