Searched refs:chunk (Results 1 – 2 of 2) sorted by relevance
114 struct audit_chunk *chunk; in alloc_chunk() local119 chunk = kzalloc(size, GFP_KERNEL); in alloc_chunk()120 if (!chunk) in alloc_chunk()123 INIT_LIST_HEAD(&chunk->hash); in alloc_chunk()124 INIT_LIST_HEAD(&chunk->trees); in alloc_chunk()125 chunk->count = count; in alloc_chunk()126 atomic_long_set(&chunk->refs, 1); in alloc_chunk()128 INIT_LIST_HEAD(&chunk->owners[i].list); in alloc_chunk()129 chunk->owners[i].index = i; in alloc_chunk()131 inotify_init_watch(&chunk->watch); in alloc_chunk()[all …]
331 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref() argument336 p->c[--left] = chunk; in put_tree_ref()344 p->c[30] = chunk; in put_tree_ref()1724 struct audit_chunk *chunk; in handle_one() local1732 chunk = audit_tree_lookup(inode); in handle_one()1734 if (!chunk) in handle_one()1736 if (likely(put_tree_ref(context, chunk))) in handle_one()1741 audit_put_chunk(chunk); in handle_one()1745 put_tree_ref(context, chunk); in handle_one()1770 struct audit_chunk *chunk; in handle_path() local[all …]