函数逻辑报告 |
Source Code:lib\percpu-refcount.c |
Create Date:2022-07-27 07:22:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:percpu_ref_kill_and_confirm - drop the initial ref and schedule confirmation*@ref: percpu_ref to kill*@confirm_kill: optional confirmation callback* Equivalent to percpu_ref_kill() but also schedules kill confirmation if*@confirm_kill is not NULL
函数原型:void percpu_ref_kill_and_confirm(struct percpu_ref *ref, percpu_ref_func_t *confirm_kill)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct percpu_ref * | ref | |
percpu_ref_func_t * | confirm_kill |
343 | spin_lock_irqsave( & percpu_ref_switch_lock, flags) |
345 | WARN_ONCE(* The low bit of the pointer indicates whether the ref is in percpu * mode; if set, then get/put will manipulate the atomic_t. & __PERCPU_REF_DEAD, "%s called more than once on %ps!", __func__, release) |
348 | * The low bit of the pointer indicates whether the ref is in percpu * mode; if set, then get/put will manipulate the atomic_t.或等于__PERCPU_REF_DEAD |
350 | percpu计数引用减 |
名称 | 描述 |
---|---|
kill_css | |
percpu_ref_kill | percpu_ref_kill - drop the initial ref*@ref: percpu_ref to kill* Must be used to drop the initial ref on a percpu refcount; must be called* precisely once before shutdown.* Switches @ref into atomic mode before gathering up the percpu counters |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |