Lines Matching refs:new_entry
31 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size, in tomoyo_update_policy() argument
48 if (!check_duplicate(entry, new_entry)) in tomoyo_update_policy()
55 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_policy()
92 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size, in tomoyo_update_domain() argument
108 new_entry->cond = tomoyo_get_condition(param); in tomoyo_update_domain()
109 if (!new_entry->cond) in tomoyo_update_domain()
115 if (new_entry->cond->transit && in tomoyo_update_domain()
116 !(new_entry->type == TOMOYO_TYPE_PATH_ACL && in tomoyo_update_domain()
117 container_of(new_entry, struct tomoyo_path_acl, head) in tomoyo_update_domain()
127 if (!tomoyo_same_acl_head(entry, new_entry) || in tomoyo_update_domain()
128 !check_duplicate(entry, new_entry)) in tomoyo_update_domain()
131 entry->is_deleted = merge_duplicate(entry, new_entry, in tomoyo_update_domain()
139 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_domain()
147 tomoyo_put_condition(new_entry->cond); in tomoyo_update_domain()