函数逻辑报告 | 
Source Code:include\linux\kref.h | 
Create Date:2022-07-27 06:45:11 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:kref_get_unless_zero - Increment refcount for object unless it is zero
函数原型:static inline int __must_check kref_get_unless_zero(struct kref *kref)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct kref * | kref | 
| 名称 | 描述 | 
|---|---|
| kobject_get_unless_zero | |
| klist_iter_init_node | 初始化klist_iter结构 | 
| zswap_pool_get | |
| __zswap_pool_release | |
| bsg_job_get | |
| tty_port_get | |
| __aa_get_label | __aa_get_label - get a reference count to uncounted label reference*@l: reference to get a count on* Returns: pointer to reference OR NULL if race is lost and reference is* being repeated.* Requires: lock held, and the return code MUST be checked | 
| aa_get_label_rcu | aa_get_label_rcu - increment refcount on a label that can be replaced*@l: pointer to label that can be replaced (NOT NULL)* Returns: pointer to a refcounted label.* else NULL if no label | 
| aa_get_profile_not0 | aa_get_profile_not0 - increment refcount on profile @p found via lookup*@p: profile (MAYBE NULL)* Returns: pointer to @p if @p is NULL will return NULL* Requires: @p must be held with valid refcount when called | 
| aa_get_profile_rcu | aa_get_profile_rcu - increment a refcount profile that can be replaced*@p: pointer to profile that can be replaced (NOT NULL)* Returns: pointer to a refcounted profile.* else NULL if no profile | 
| __aa_get_loaddata | __aa_get_loaddata - get a reference count to uncounted data reference*@data: reference to get a count on* Returns: pointer to reference OR NULL if race is lost and reference is* being repeated | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |