Home
last modified time | relevance | path

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

/kernel/trace/
Dpid_list.c14 union lower_chunk *chunk; in get_lower_chunk() local
21 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() local
45 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 …]
/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.c229 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref() argument
235 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() local
2094 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 …]
Daudit.h289 extern void audit_put_chunk(struct audit_chunk *chunk);
290 extern bool audit_tree_match(struct audit_chunk *chunk,