Searched refs:chunk (Results 1 – 2 of 2) sorted by relevance
109 static void free_chunk(struct audit_chunk *chunk) in free_chunk() argument113 for (i = 0; i < chunk->count; i++) { in free_chunk()114 if (chunk->owners[i].owner) in free_chunk()115 put_tree(chunk->owners[i].owner); in free_chunk()117 kfree(chunk); in free_chunk()120 void audit_put_chunk(struct audit_chunk *chunk) in audit_put_chunk() argument122 if (atomic_long_dec_and_test(&chunk->refs)) in audit_put_chunk()123 free_chunk(chunk); in audit_put_chunk()128 struct audit_chunk *chunk = container_of(rcu, struct audit_chunk, head); in __put_chunk() local129 audit_put_chunk(chunk); in __put_chunk()[all …]
212 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref() argument217 p->c[--left] = chunk; in put_tree_ref()225 p->c[30] = chunk; in put_tree_ref()1586 struct audit_chunk *chunk; in handle_one() local1594 chunk = audit_tree_lookup(inode); in handle_one()1596 if (!chunk) in handle_one()1598 if (likely(put_tree_ref(context, chunk))) in handle_one()1603 audit_put_chunk(chunk); in handle_one()1607 put_tree_ref(context, chunk); in handle_one()1632 struct audit_chunk *chunk; in handle_path() local[all …]