Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock after reading
Proto:inline void __up_read(struct rw_semaphore *sem)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rw_semaphore * | sem |
1436 | rwsem_clear_reader_owned(sem) |
1437 | tmp = atomic_long_add_return_release( - RWSEM_READER_BIAS, & count) |
1439 | If Value for the false possibility is greater at compile time((tmp & (RWSEM_LOCK_MASK | RWSEM_FLAG_WAITERS)) == RWSEM_FLAG_WAITERS) Then |
1441 | clear_wr_nonspinnable(sem) |
Name | Describe |
---|---|
up_read | lease a read lock |
up_read_non_owner | |
__percpu_down_read |
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 |