Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sert @work before @pos in @worker

Proto:static void kthread_insert_work(struct kthread_worker *worker, struct kthread_work *work, struct list_head *pos)

Type:void

Parameter:

TypeParameterName
struct kthread_worker *worker
struct kthread_work *work
struct list_head *pos
798  kthread_insert_work_sanity_check(worker, work)
800  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
801  worker = worker
802  If Not current_work && Value is more likely to compile time(task) Then wake_up_process(task)
Caller
NameDescribe
kthread_queue_workkthread_queue_work - queue a kthread_work*@worker: target kthread_worker*@work: kthread_work to queue* Queue @work to work processor @task for async execution. @task* must have been created with kthread_worker_create(). Returns %true
kthread_delayed_work_timer_fnkthread_delayed_work_timer_fn - callback that queues the associated kthread* delayed work when the timer expires.*@t: pointer to the expired timer* The format of the function is defined by struct timer_list.
__kthread_queue_delayed_work
kthread_flush_workkthread_flush_work - flush a kthread_work*@work: work to flush* If @work is queued or executing, wait for it to finish execution.