Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\completion.c Create Date:2022-07-28 09:41:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.

Proto:void complete(struct completion *x)

Type:void

Parameter:

TypeParameterName
struct completion *x
32  spin_lock_irqsave( & lock, flags)
34  If done != UINT_MAX Then done++
36  Same as __wake_up but called with the spinlock in wait_queue_head_t held.
37  spin_unlock_irqrestore( & lock, flags)
Caller
NameDescribe
test_fw_run_batch_request
trigger_batched_cbWe wait for each callback to return with the lock held, no need to lock here
test_report_one_done
kmod_test_done_checkMust run with thread_mutex held
exit_mmTurn us into a lazy TLB process if we* aren't already..
complete_and_exit
umh_complete
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:
worker_detach_from_poolworker_detach_from_pool() - detach a worker from its pool*@worker: worker which is attached to its pool* Undo the attaching which had been done in worker_attach_to_pool(). The* caller worker shouldn't access to the pool after detached except it has
wq_barrier_func
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
flush_workqueuelush_workqueue - ensure that any scheduled work has run to completion.*@wq: workqueue to flush* This function sleeps until all work items which were queued on entry* have finished execution, but it is not livelocked by new incoming ones.
__kthread_parkme
kthread
create_kthread
kthread_flush_work_fn
test_mutex_work
__test_mutex
test_abba_work
test_abba
test_cycle_work
wakeme_after_rcuwakeme_after_rcu() - Callback function to awaken a task after grace period*@head: Pointer to rcu_head member within rcu_synchronize structure* Awaken the corresponding task now that a grace period has elapsed.
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_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
klp_kobj_release_patch
smp_call_on_cpu_callback
close_work
backtrace_test_irq_callback
cpu_stop_signal_donesignal completion unless @done is NULL
update_pages_handler
ring_buffer_consumer
ring_buffer_consumer_thread
blk_end_sync_rqlk_end_sync_rq - executes a completion event on a request*@rq: request to complete*@error: end I/O status of the request
io_ring_ctx_ref_free
io_sq_thread
io_worker_exit
io_wq_managerManager thread. Tasked with creating new workers, if we need them.
io_wq_flush_func
io_wq_create
trigger_async_request_cb