Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__down_read_killable
Proto:static inline int __down_read_killable(struct rw_semaphore *sem)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rw_semaphore * | sem |
1353 | If Not rwsem_read_trylock(sem) Then |
1354 | If IS_ERR(Wait for the read lock to be granted) Then Return -EINTR |
1357 | Else |
1358 | rwsem_set_reader_owned(sem) |
1360 | Return 0 |
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 |