Home
last modified time | relevance | path

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

/kernel/
Daudit_tree.c109 static void free_chunk(struct audit_chunk *chunk) in free_chunk() argument
113 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() argument
122 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() local
129 audit_put_chunk(chunk); in __put_chunk()
[all …]
Dauditsc.c212 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref() argument
217 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() local
1594 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 …]