Function report |
Source Code:include\linux\refcount.h |
Create Date:2022-07-28 05:38:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_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
Proto:static inline __must_check bool refcount_dec_and_test(refcount_t *r)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| refcount_t * | r |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |