Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 3 of 3) sorted by relevance

/kernel/
Daudit_tree.c42 struct audit_chunk *chunk; member
128 static void free_chunk(struct audit_chunk *chunk) in free_chunk() argument
132 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() argument
141 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 …]
Dauditsc.c211 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref() argument
216 p->c[--left] = chunk; in put_tree_ref()
224 p->c[30] = chunk; in put_tree_ref()
1740 struct audit_chunk *chunk; in handle_one() local
1748 chunk = audit_tree_lookup(inode); in handle_one()
1750 if (!chunk) in handle_one()
1752 if (likely(put_tree_ref(context, chunk))) in handle_one()
1757 audit_put_chunk(chunk); in handle_one()
1761 put_tree_ref(context, chunk); in handle_one()
1784 struct audit_chunk *chunk; in handle_path() local
[all …]
Daudit.h277 extern void audit_put_chunk(struct audit_chunk *chunk);
278 extern bool audit_tree_match(struct audit_chunk *chunk,