Lines Matching refs:new_entry
31 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size, in tomoyo_update_policy() argument
47 if (!check_duplicate(entry, new_entry)) in tomoyo_update_policy()
54 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_policy()
91 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size, in tomoyo_update_domain() argument
107 new_entry->cond = tomoyo_get_condition(param); in tomoyo_update_domain()
108 if (!new_entry->cond) in tomoyo_update_domain()
114 if (new_entry->cond->transit && in tomoyo_update_domain()
115 !(new_entry->type == TOMOYO_TYPE_PATH_ACL && in tomoyo_update_domain()
116 container_of(new_entry, struct tomoyo_path_acl, head) in tomoyo_update_domain()
125 if (!tomoyo_same_acl_head(entry, new_entry) || in tomoyo_update_domain()
126 !check_duplicate(entry, new_entry)) in tomoyo_update_domain()
129 entry->is_deleted = merge_duplicate(entry, new_entry, in tomoyo_update_domain()
137 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_domain()
145 tomoyo_put_condition(new_entry->cond); in tomoyo_update_domain()