Searched refs:chunk (Results 1 – 4 of 4) sorted by relevance
14 union lower_chunk *chunk; in get_lower_chunk() local21 chunk = pid_list->lower_list; in get_lower_chunk()22 pid_list->lower_list = chunk->next; in get_lower_chunk()25 chunk->next = NULL; in get_lower_chunk()33 return chunk; in get_lower_chunk()38 union upper_chunk *chunk; in get_upper_chunk() local45 chunk = pid_list->upper_list; in get_upper_chunk()46 pid_list->upper_list = chunk->next; in get_upper_chunk()49 chunk->next = NULL; in get_upper_chunk()57 return chunk; in get_upper_chunk()[all …]
42 struct audit_chunk *chunk; member128 static void free_chunk(struct audit_chunk *chunk) in free_chunk() argument132 for (i = 0; i < chunk->count; i++) { in free_chunk()133 if (chunk->owners[i].owner) in free_chunk()134 put_tree(chunk->owners[i].owner); in free_chunk()136 kfree(chunk); in free_chunk()139 void audit_put_chunk(struct audit_chunk *chunk) in audit_put_chunk() argument141 if (atomic_long_dec_and_test(&chunk->refs)) in audit_put_chunk()142 free_chunk(chunk); in audit_put_chunk()147 struct audit_chunk *chunk = container_of(rcu, struct audit_chunk, head); in __put_chunk() local[all …]
229 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref() argument235 p->c[--left] = chunk; in put_tree_ref()243 p->c[30] = chunk; in put_tree_ref()2085 struct audit_chunk *chunk; in handle_one() local2094 chunk = audit_tree_lookup(inode); in handle_one()2096 if (!chunk) in handle_one()2098 if (likely(put_tree_ref(context, chunk))) in handle_one()2103 audit_put_chunk(chunk); in handle_one()2107 put_tree_ref(context, chunk); in handle_one()2131 struct audit_chunk *chunk; in handle_path() local[all …]
289 extern void audit_put_chunk(struct audit_chunk *chunk);290 extern bool audit_tree_match(struct audit_chunk *chunk,