函数逻辑报告 |
Source Code:mm\slab_common.c |
Create Date:2022-07-27 15:54:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ksize - get the actual amount of memory allocated for a given object*@objp: Pointer to the object* kmalloc may internally round up allocations and return more memory* than requested. ksize() can be used to determine the actual amount of* memory allocated
函数原型:size_t ksize(const void *objp)
返回类型:size_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const void * | objp |
| 1773 | 如果WARN_ON_ONCE(!objp)则返回:0 |
| 1796 | kasan_unpoison_shadow(objp, size) |
| 1797 | 返回:size |
| 名称 | 描述 |
|---|---|
| __do_krealloc | |
| kzfree | kzfree - like kfree but zero memory*@p: object to free memory of* The memory of the object @p points to is zeroed before freed.* If @p is %NULL, kzfree() does nothing.* Note: this function zeroes the whole allocated buffer which can be a good |
| kobjsize | Return the total memory allocated for this pointer, not* just what the caller asked for.* Doesn't have to be accurate, i.e. may have races. |
| tomoyo_memory_ok | moyo_memory_ok - Check memory quota.*@ptr: Pointer to allocated memory.* Returns true on success, false otherwise.* Returns true if @ptr is not NULL and quota not exceeded, false otherwise.* Caller holds tomoyo_policy_lock mutex. |
| ksize_unpoisons_memory | |
| load_microcode_amd | |
| tomoyo_memory_free | moyo_memory_free - Free memory for elements.*@ptr: Pointer to allocated memory.* Returns nothing.* Caller holds tomoyo_policy_lock mutex. |
| expand_corename | The maximal length of core_pattern is also specified in sysctl.c |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |