函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:49:53 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Is this the address of a static object:
函数原型:static int static_obj(const void *obj)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | obj |
738 | unsigned long start = (unsigned long) & Usage guidelines:* _text, _data: architecture specific, don't use them in arch-independent code* [_stext, _etext]: contains .text.* sections, may also contain .rodata.** and/or .init.* sections* [_sdata, _edata]: contains , end = (unsigned long) & _end, addr = obj |
742 | 如果Check if an address is part of freed initmem则返回:0 |
751 | 如果arch_is_kernel_data(addr)则返回:1 |
757 | 如果is_kernel_percpu_address(addr)则返回:1 |
名称 | 描述 |
---|---|
assign_lock_key | Static locks do not have their class-keys yet - for them the key is* the lock object itself. If the lock is in the per cpu area, the* canonical address of the lock (per cpu offset removed) is used. |
lockdep_register_key | Register a dynamically allocated key. |
is_dynamic_key | Check whether a key has been registered as a dynamic key. |
register_lock_class | Register a lock's class in the hash-table, if the class is not present* yet. Otherwise we look it up. We cache the result in the lock object* itself, so actual lookup of the hash should be once per lock object. |
lockdep_init_map | Initialize a lock instance's lock-class mapping info: |
lockdep_unregister_key | Unregister a dynamically allocated key. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |