Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\atomic-instrumented.h Create Date:2022-07-28 05:34:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:atomic_dec_and_test

Proto:static inline bool atomic_dec_and_test(atomic_t *v)

Type:bool

Parameter:

TypeParameterName
atomic_t *v
747  kasan_check_write(v, size of v )
748  Return arch_atomic_dec_and_test - decrement and test*@v: pointer of type atomic_t* Atomically decrements @v by 1 and* returns true if the result is 0, or false for all other* cases.
Caller
NameDescribe
_atomic_dec_and_lockThis is an implementation of the notion of "decrement a* reference count, and return locked if it decremented to zero"
_atomic_dec_and_lock_irqsave
test_report_one_done
threadfunc
move_myself
rdtgroup_kn_unlock
mmdrop_async
mmputDecrement the use count and release all resources for an mm.
mmput_async
exit_mmTurn us into a lazy TLB process if we* aren't already..
do_exit
helper_unlock
wq_worker_sleepingwq_worker_sleeping - a worker is going to sleep*@task: task going to sleep* This function is called from schedule() when a busy worker is* going to sleep.
pwq_dec_nr_in_flightpwq_dec_nr_in_flight - decrement pwq's nr_in_flight*@pwq: pwq of interest*@color: color of work which left the queue* A work either has completed or is removed from pending queue,* decrement nr_in_flight of its pwq and handle workqueue flushing.* CONTEXT:
flush_workqueue_prep_pwqslush_workqueue_prep_pwqs - prepare pwqs for workqueue flushing*@wq: workqueue being flushed*@flush_color: new flush color, < 0 for no-op*@work_color: new work color, < 0 for no-op* Prepare pwqs for workqueue flushing
switch_task_namespaces
rq_attach_root
sched_put_rd
free_sched_groups
destroy_sched_domain
atomic_dec_and_mutex_lockatomic_dec_and_mutex_lock - return holding mutex if we dec to 0*@cnt: the atomic which we are to dec*@lock: the mutex to return holding if we dec to 0* return true and hold lock if we dec to 0, return false otherwise
hib_end_io
wake_threads_waitq
srcu_barrier_cbCallback function for srcu_barrier() use.
srcu_barriersrcu_barrier - Wait until all in-flight call_srcu() callbacks complete.*@ssp: srcu_struct on which to wait for in-flight callbacks.
rcu_torture_barrier_cbskthread function to register callbacks used to test RCU barriers.
rcu_barrier_callbackRCU callback function for rcu_barrier(). If we are last, wake* up the task executing rcu_barrier().
rcu_barrier_barrier - Wait until all in-flight call_rcu() callbacks complete
css_killed_work_fnThis is called when the refcnt of a css is confirmed to be killed.* css_tryget_online() is now guaranteed to fail. Tell the subsystem to* initate destruction and put the css ref from kill_css().
css_killed_ref_fnss kill confirmation processing requires process context, bounce
free_user_ns
cpu_stop_signal_donesignal completion unless @done is NULL
ack_stateLast one to ack a state moves to the next state.
put_cpu_map_entry
perf_sched_delayedperf_sched_events : >0 events exist* perf_cgroup_events: >0 per-cpu cgroup events exist on this cpu
__perf_event_overflowGeneric event overflow handling, sampling.
padata_replace
__static_key_slow_dec_cpuslocked
page_lock_anon_vma_readSimilar to page_get_anon_vma() except it locks the anon_vma.* Its a little more complex as it tries to keep the fast path to a single* atomic op -- the trylock. If we fail the trylock, we fall back to getting a
__put_anon_vma
__mpol_putSlow path of a mpol destructor.
put_huge_zero_page
put_objectDecrement the object use_count. Once the count is 0, free the object using* an RCU callback. Since put_object() may be called via the kmemleak_free() ->* delete_object() path, the delayed RCU freeing ensures that there is no
bio_put_put - release a reference to a bio*@bio: bio to release reference to* Description:* Put a reference to a &struct bio, either one you have gotten with* bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.
bio_remaining_done
put_io_context_activeput_io_context_active - put active reference on ioc*@ioc: ioc of interest* Undo get_io_context_active(). If active reference reaches zero after* put, @ioc can never issue further IOs and ioscheds are notified.
tomoyo_close_controlmoyo_close_control - close() for /sys/kernel/security/tomoyo/ interface.*@head: Pointer to "struct tomoyo_io_buffer".
deactivate_locked_superdeactivate_locked_super - drop an active reference to superblock*@s: superblock to deactivate* Drops an active reference to superblock, converting it into a temporary* one if there is no other active references left
release_dentry_name_snapshot
dentry_free
copy_name
put_files_struct
put_mnt_ns
finish_writeback_work
blkdev_bio_end_io
fsnotify_put_mark_wakePuts marks and wakes up group destruction if necessary.* Pairs with fsnotify_get_mark_safe()
free_ioctx_reqs
io_wqe_dec_running
iomap_read_finish
iomap_finish_page_writeback
iomap_dio_bio_end_io
iomap_dio_rwmap_dio_rw() always completes O_[D]SYNC writes regardless of whether the IO* is being issued as AIO or not. This allows us to optimise pure data writes* to use REQ_FUA rather than requiring generic_write_sync() to issue a* REQ_FLUSH post write
atomic_long_dec_and_test