Function report |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-28 09:50:41 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called when kernel memory is freed (or unmapped), or if a lock* is destroyed or reinitialized - this code checks whether there is* any held lock in the memory range of <from> to <to>:
Proto:void debug_check_no_locks_freed(const void *mem_from, unsigned long mem_len)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const void * | mem_from | |
unsigned long | mem_len |
5278 | curr = current process |
5286 | raw_local_irq_save(flags) |
5287 | When i < lockdep_depth cycle |
5288 | hlock = held_locks + i |
5290 | If not_in_range(mem_from, mem_len, instance, size of instance ) Then Continue |
5295 | Break |
5297 | raw_local_irq_restore(flags) |
Name | Describe |
---|---|
debug_mutex_init | |
debug_rt_mutex_init | |
__raw_spin_lock_init | |
__rwlock_init | |
__init_srcu_struct | |
__init_srcu_struct | |
vm_unmap_ram | vm_unmap_ram - unmap linear kernel address space set up by vm_map_ram*@mem: the pointer returned by vm_map_ram*@count: the count passed to that vm_map_ram call (cannot unmap partial) |
__vunmap | |
free_pages_prepare | |
kmem_cache_free | kmem_cache_free - Deallocate an object*@cachep: The cache the allocation was from.*@objp: The previously allocated object.* Free an object which was previously allocated from this* cache. |
kmem_cache_free_bulk | |
kfree | kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble. |
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 |