Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:handle waking up a waiter on the semaphore* - up_read/up_write has decremented the active part of count if we come here
Proto:static struct rw_semaphore *rwsem_wake(struct rw_semaphore *sem, long count)
Type:struct rw_semaphore
Parameter:
Type | Parameter | Name |
---|---|---|
struct rw_semaphore * | sem | |
long | count |
1306 | raw_spin_lock_irqsave( & wait_lock, flags) |
1311 | raw_spin_unlock_irqrestore( & wait_lock, flags) |
1314 | Return sem |
Name | Describe |
---|---|
__up_read | lock after reading |
__up_write | lock after writing |
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 |