| 函数逻辑报告 | 
| Source Code: security\tomoyo\gc.c | Create Date:2022-07-27 21:11:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:moyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not.*@element: Pointer to "struct list_head".* Returns true if @element is used by /sys/kernel/security/tomoyo/ users,* false otherwise.
函数原型:static bool tomoyo_struct_used_by_io_buffer(const struct list_head *element)
返回类型:bool
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const struct list_head * | element | 
| 43 | bool in_use = false | 
| 45 | 加自旋锁 | 
| 48 | 自旋锁解锁 | 
| 54 | 加自旋锁 | 
| 59 | 自旋锁解锁 | 
| 60 | 返回:in_use | 
| 名称 | 描述 | 
|---|---|
| tomoyo_try_to_gc | moyo_try_to_gc - Try to kfree() an entry.*@type: One of values in "enum tomoyo_policy_id".*@element: Pointer to "struct list_head".* Returns nothing.* Caller holds tomoyo_policy_lock mutex. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |