函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:50:58 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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>:
函数原型:void debug_check_no_locks_freed(const void *mem_from, unsigned long mem_len)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | mem_from | |
unsigned long | mem_len |
5286 | raw_local_irq_save(flags) |
5287 | 以i小于lockdep_depth循环 |
5288 | hlock等于held_locks加i |
5290 | 如果not_in_range(mem_from, mem_len, instance, instance的长度)则继续下一循环 |
5295 | 退出 |
5297 | raw_local_irq_restore(flags) |
名称 | 描述 |
---|---|
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 | 释放内存 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |