Lines Matching defs:new_entry
22 * @new_entry: Pointer to "struct tomoyo_acl_info".
23 * @size: Size of @new_entry in bytes.
31 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size,
48 if (!check_duplicate(entry, new_entry))
55 entry = tomoyo_commit_ok(new_entry, size);
82 * @new_entry: Pointer to "struct tomoyo_acl_info".
83 * @size: Size of @new_entry in bytes.
92 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size,
108 new_entry->cond = tomoyo_get_condition(param);
109 if (!new_entry->cond)
115 if (new_entry->cond->transit &&
116 !(new_entry->type == TOMOYO_TYPE_PATH_ACL &&
117 container_of(new_entry, struct tomoyo_path_acl, head)
127 if (!tomoyo_same_acl_head(entry, new_entry) ||
128 !check_duplicate(entry, new_entry))
131 entry->is_deleted = merge_duplicate(entry, new_entry,
139 entry = tomoyo_commit_ok(new_entry, size);
147 tomoyo_put_condition(new_entry->cond);