Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex.c Create Date:2022-07-28 09:51:58
Last Modify:2020-03-17 14:26:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rt_mutex_waiter_less

Proto:static inline int rt_mutex_waiter_less(struct rt_mutex_waiter *left, struct rt_mutex_waiter *right)

Type:int

Parameter:

TypeParameterName
struct rt_mutex_waiter *left
struct rt_mutex_waiter *right
238  If prio < prio Then Return 1
247  If dl_prio(prio) Then Return dl_time_before(deadline, deadline)
250  Return 0
Caller
NameDescribe
rt_mutex_enqueue
rt_mutex_enqueue_pi
try_to_take_rt_mutexTry to take an rt-mutex* Must be called with lock->wait_lock held and interrupts disabled*@lock: The lock to be acquired