Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\mutex-debug.c Create Date:2022-07-28 09:48:50
Last Modify:2022-05-22 15:17:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mutex_remove_waiter

Proto:void mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter, struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct mutex *lock
struct mutex_waiter *waiter
struct task_struct *task
64  DEBUG_LOCKS_WARN_ON(list_empty - tests whether a list is empty*@head: the list to test.)
65  DEBUG_LOCKS_WARN_ON(task != task)
66  DEBUG_LOCKS_WARN_ON(blocked_on != waiter)
67  blocked_on = NULL
69  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
70  task = NULL
Caller
NameDescribe
__mutex_lock_commonLock a mutex (possibly interruptible), slowpath: