Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns true when the work could not be queued at the moment.* It happens when it is already pending in a worker list* or when it is being cancelled.

Proto:static inline bool queuing_blocked(struct kthread_worker *worker, struct kthread_work *work)

Type:bool

Parameter:

TypeParameterName
struct kthread_worker *worker
struct kthread_work *work
779  lockdep_assert_held( & lock)
781  Return Not list_empty - tests whether a list is empty*@head: the list to test. || Number of canceling calls that are running at the moment.
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_queue_delayed_workkthread_queue_delayed_work - queue the associated kthread work* after a delay