Function report | 
Source Code:arch\x86\include\asm\qspinlock.h | 
Create Date:2022-07-28 08:24:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:queued_fetch_set_pending_acquire
Proto:static __always_inline unsigned int queued_fetch_set_pending_acquire(struct qspinlock *lock)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct qspinlock * | lock | 
| 23 | val = GEN_BINARY_RMWcc(LOCK_PREFIX"btsl", counter, c, "I", _Q_PENDING_OFFSET) * _Q_PENDING_VAL | 
| 25 | val |= atomic_read( & val) & ~_Q_PENDING_MASK | 
| 27 | Return val | 
| Name | Describe | 
|---|---|
| queued_spin_lock_slowpath | queued_spin_lock_slowpath - acquire the queued spinlock*@lock: Pointer to queued spinlock structure*@val: Current value of the queued spinlock 32-bit word* (queue tail, pending bit, lock value)* fast : slow : unlock* : :* uncontended (0,0,0) -:--> (0,0,1) | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |