Function report | 
Source Code:kernel\locking\rwsem.c | 
Create Date:2022-07-28 09:48:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Initialize an rwsem:
Proto:void __init_rwsem(struct rw_semaphore *sem, const char *name, struct lock_class_key *key)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rw_semaphore * | sem | |
| const char * | name | |
| struct lock_class_key * | key | 
| 331 | debug_check_no_locks_freed((void * )sem, size of sem ) | 
| 332 | lockdep_init_map( & dep_map, name, key, 0) | 
| 337 | atomic_long_set( & count, RWSEM_UNLOCKED_VALUE) | 
| 338 | raw_spin_lock_init( & wait_lock) | 
| Name | Describe | 
|---|---|
| init_class_Y | |
| init_class_Z | |
| __percpu_init_rwsem | |
| init_class_X | |
| init_held_spin | |
| init_held_wlock | |
| init_held_rlock | |
| init_held_mutex | |
| init_held_wsem | |
| init_held_rsem | 
| 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  |