Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:14 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock_downgrade
Proto:void lock_downgrade(struct lockdep_map *lock, unsigned long ip)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct lockdep_map * | lock | |
unsigned long | ip |
4453 | If Value for the false possibility is greater at compile time(lockdep_recursion) Then Return |
4456 | raw_local_irq_save(flags) |
4457 | lockdep_recursion = 1 |
4459 | If __lock_downgrade(lock, ip) Then We are building curr_chain_key incrementally, so double-check* it from scratch, to make sure that it's done correctly: |
4461 | lockdep_recursion = 0 |
4462 | raw_local_irq_restore(flags) |
Name | Describe |
---|---|
downgrade_write | downgrade write lock to read lock |
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 |