Function report |
Source Code:kernel\locking\qrwlock.c |
Create Date:2022-07-28 09:53:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queued_read_lock_slowpath - acquire read lock of a queue rwlock*@lock: Pointer to queue rwlock structure
Proto:void queued_read_lock_slowpath(struct qrwlock *lock)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct qrwlock * | lock |
33 | atomic_cond_read_acquire( & cnts, !(VAL & A writer holds the lock )) |
34 | Return |
36 | atomic_sub(_QR_BIAS, & cnts) |
42 | atomic_add(_QR_BIAS, & cnts) |
49 | atomic_cond_read_acquire( & cnts, !(VAL & A writer holds the lock )) |
54 | arch_spin_unlock( & wait_lock) |
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 |