Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mutex_trylock_recursive

Proto:__must_check enum mutex_trylock_recursive_enum mutex_trylock_recursive(struct mutex *lock)

Type:enum mutex_trylock_recursive_enum

Parameter:

TypeParameterName
struct mutex *lock
92  If Value for the false possibility is greater at compile time(Internal helper function; C doesn't allow us to hide it :/* DO NOT USE (outside of mutex code). == current process) Then Return MUTEX_TRYLOCK_RECURSIVE
95  Return mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically