Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__mutex_lock

Proto:static int __sched __mutex_lock(struct mutex *lock, long state, unsigned int subclass, struct lockdep_map *nest_lock, unsigned long ip)

Type:int

Parameter:

TypeParameterName
struct mutex *lock
longstate
unsigned intsubclass
struct lockdep_map *nest_lock
unsigned longip
1103  Return Lock a mutex (possibly interruptible), slowpath:
Caller
NameDescribe
mutex_lock_nested
_mutex_lock_nest_lock
mutex_lock_killable_nested
mutex_lock_interruptible_nested