函数逻辑报告 |
Source Code:mm\slab.h |
Create Date:2022-07-27 15:27:21 |
Last Modify:2022-05-23 16:25:42 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cache_from_obj
函数原型:static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x)
返回类型:struct kmem_cache
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | s | |
void * | x |
520 | cachep等于virt_to_cache(x) |
521 | WARN_ONCE(cachep && !slab_equal_or_root(cachep, s), "%s: Wrong slab cache. %s but object is from %s\n", __func__, Name (only for display!) , Name (only for display!) ) |
524 | 返回:cachep |
名称 | 描述 |
---|---|
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 | |
kmem_cache_free | |
build_detached_freelist | This function progressively scans the array with free objects (with* a limited look ahead) and extract objects belonging to the same* page. It builds a detached freelist directly within the given* page/objects. This can happen without any need for |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |