函数逻辑报告 |
Source Code:include\linux\refcount.h |
Create Date:2022-07-27 06:40:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED
函数原型:static inline __must_check bool refcount_dec_and_test(refcount_t *r)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
refcount_t * | r |
名称 | 描述 |
---|---|
refcount_dec_and_mutex_lock | _dec_and_mutex_lock - return holding mutex if able to decrement* refcount to 0*@r: the refcount*@lock: the mutex to be locked* Similar to atomic_dec_and_mutex_lock(), it will WARN on underflow and fail* to decrement when saturated at REFCOUNT_SATURATED |
refcount_dec_and_lock | _dec_and_lock - return holding spinlock if able to decrement* refcount to 0*@r: the refcount*@lock: the spinlock to be locked* Similar to atomic_dec_and_lock(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED |
refcount_dec_and_lock_irqsave | _dec_and_lock_irqsave - return holding spinlock with disabled* interrupts if able to decrement refcount to 0*@r: the refcount*@lock: the spinlock to be locked*@flags: saved IRQ-flags if the is acquired* Same as refcount_dec_and_lock() above except that |
threshold_remove_bank | |
put_signal_struct | |
__cleanup_sighand | |
put_task_struct_rcu_user | |
put_pid | |
put_pi_state | Drops a reference to the pi_state object and frees or caches it* when the last reference is gone. |
put_css_set_locked | |
audit_put_watch | |
put_tree | |
kcov_put | |
buffer_ref_release | |
bpf_trampoline_put | |
btf_put | |
put_ctx | |
ring_buffer_put | |
rb_free_aux | |
put_uprobe | |
ipc_rcu_putref | |
exit_sem | add semadj values to semaphores, free undo structures |
flush_end_io | |
blk_mq_free_request | |
blk_mq_check_expired | |
bsg_put_device | |
key_put | key_put - Discard a reference to a key.*@key: The key to discard a reference from.* Discard a reference to a key, and when all the references are gone, we* schedule the cleanup task to come and pull it out of the tree in process |
key_put_tag | key_put_tag - Release a ref on a tag.*@tag: The tag to release.* This releases a reference the given tag and returns true if that ref was the* last one. |
put_fc_log | Free a logging structure. |
fsnotify_put_group | Drop a reference to a group. Free it if it's through. |
fsnotify_put_mark | |
userfaultfd_ctx_put | serfaultfd_ctx_put - Releases a reference to the internal userfaultfd* context.*@ctx: [in] Pointer to userfaultfd context.* The userfaultfd context reference must have been previously acquired either* with userfaultfd_ctx_get() or userfaultfd_ctx_fdget(). |
iocb_put | |
io_put_req_find_next | Drop reference to request, return next in chain (if there is one) if this* was the last reference to this request. |
io_put_req | |
io_iopoll_complete | Find and free completed poll iocbs |
io_worker_release | |
io_worker_exit | |
add_existing_master_key | |
do_remove_key | Try to remove an fscrypt master encryption key |
put_crypt_info | |
put_task_struct | |
kref_put | kref_put - decrement refcount for object.*@kref: object.*@release: pointer to the function that will clean up the object when the* last reference to the object is released.* This pointer is required, and it is not acceptable to pass kfree |
inet_frag_put | |
skb_unref | skb_unref - decrement the skb's reference count*@skb: buffer* Returns true if we can free the skb. |
put_cgroup_ns | |
neigh_release | Neighbour references |
fib_rule_put | |
sock_put | Ungrab socket and destroy it, if it was the last reference. |
reqsk_put | |
txopt_put | |
in6_dev_put | |
in6_ifa_put | |
fib_info_put | |
posix_acl_release | Free an ACL handle. |
wb_congested_put | |
sk_psock_put | |
ipc_rcu_putref | |
netlbl_secattr_cache_free | lbl_secattr_cache_free - Frees a netlbl_lsm_cache struct*@cache: the struct to free* Description:* Frees @secattr including all of the internal buffers. |
fib6_info_release | |
xfrm_pol_put | |
xfrm_state_put | |
xfrm_state_put_sync |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |