Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:03 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rwsem_read_trylock
Proto:static inline bool rwsem_read_trylock(struct rw_semaphore *sem)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rw_semaphore * | sem |
| 277 | If WARN_ON_ONCE(cnt < 0) Then Set the RWSEM_NONSPINNABLE bits if the RWSEM_READER_OWNED flag* remains set. Otherwise, the operation will be aborted. |
| 279 | Return Not (cnt & RWSEM_READ_FAILED_MASK) |
| Name | Describe |
|---|---|
| __down_read | lock for reading |
| __down_read_killable |
| 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 |