Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:13 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock_set_class
Proto:void lock_set_class(struct lockdep_map *lock, const char *name, struct lock_class_key *key, unsigned int subclass, unsigned long ip)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct lockdep_map * | lock | |
| const char * | name | |
| struct lock_class_key * | key | |
| unsigned int | subclass | |
| unsigned long | ip |
| 4436 | If Value for the false possibility is greater at compile time(lockdep_recursion) Then Return |
| 4439 | raw_local_irq_save(flags) |
| 4440 | lockdep_recursion = 1 |
| 4442 | If __lock_set_class(lock, name, key, subclass, ip) Then We are building curr_chain_key incrementally, so double-check* it from scratch, to make sure that it's done correctly: |
| 4444 | lockdep_recursion = 0 |
| 4445 | raw_local_irq_restore(flags) |
| 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 |