函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-27 12:29:45
Last Modify:2020-03-17 16:31:21 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unroll_tree_refs

函数原型:static void unroll_tree_refs(struct audit_context *ctx, struct audit_tree_refs *p, int count)

返回类型:void

参数:

类型参数名称
struct audit_context *ctx
struct audit_tree_refs *p
intcount
253  如果非p
255  p等于first_trees
256  count等于31
258  如果非p则返回
261  n等于count
262 q不等于trees循环
263 n自减循环
264  audit_put_chunk(c[n])
265  c[n] = NULL
268 n自减大于tree_count循环
269  audit_put_chunk(c[n])
270  c[n] = NULL
272  trees等于p
273  tree_count等于count
调用者
名称描述
audit_free_context
__audit_syscall_exit__audit_syscall_exit - deallocate audit context after a system call*@success: success value of the syscall*@return_code: return value of the syscall* Tear down after system call
handle_one
handle_path