函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit_watch.c Create Date:2022-07-27 12:32:18
Last Modify:2020-03-17 17:15:07 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Find and return the audit_parent on the given inode. If found a reference* is taken on this parent.

函数原型:static inline struct audit_parent *audit_find_parent(struct inode *inode)

返回类型:struct audit_parent

参数:

类型参数名称
struct inode *inode
90  struct audit_parent * parent = NULL
93  entry等于Given a list of marks, find the mark associated with given group. If found* take a reference to that mark and return it, else return NULL.
94  如果entryparent等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(entry, structaudit_parent, mark)
97  返回:parent
调用者
名称描述
audit_add_watchFind a matching watch entry, or add this one.* Caller must hold audit_filter_mutex.