Home
last modified time | relevance | path

Searched refs:osq (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/linux/
H A Drwsem.h57 struct optimistic_spin_queue osq; /* spinner MCS lock */ member
87 #define __RWSEM_OPT_INIT(lockname) .osq = OSQ_LOCK_UNLOCKED,
H A Dmutex.h70 struct optimistic_spin_queue osq; /* Spinner MCS lock */ member
/openbmc/linux/kernel/locking/
H A Dmutex.c52 osq_lock_init(&lock->osq); in __mutex_init()
460 if (!osq_lock(&lock->osq)) in mutex_optimistic_spin()
489 osq_unlock(&lock->osq); in mutex_optimistic_spin()
496 osq_unlock(&lock->osq); in mutex_optimistic_spin()
H A Drwsem.c328 osq_lock_init(&sem->osq); in __init_rwsem()
827 if (!osq_lock(&sem->osq)) in rwsem_optimistic_spin()
931 osq_unlock(&sem->osq); in rwsem_optimistic_spin()
/openbmc/linux/Documentation/translations/zh_CN/locking/
H A Dmutex-design.rst43 系统使用一个自旋MCS锁(->osq,译注:MCS是两个人名的合并缩写),在下文的
/openbmc/linux/Documentation/locking/
H A Dmutex-design.rst34 CONFIG_MUTEX_SPIN_ON_OWNER=y systems use a spinner MCS lock (->osq), described