函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:16:44 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_node
函数原型:static inline struct kmem_cache_node *get_node(struct kmem_cache *s, int node)
返回类型:struct kmem_cache_node
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | s | |
int | node |
名称 | 描述 |
---|---|
cache_free_pfmemalloc | |
__drain_alien_cache | |
__cache_free_alien | |
init_cache_node | |
setup_kmem_cache_node | |
drain_cache_node_node | Drains freelist for a node on each slab cache, used for memory hot-remove.* Returns -EBUSY if all objects cannot be drained so that the node is not* removed.* Must hold slab_mutex. |
do_drain | |
cache_grow_begin | Grow (by 1) the number of slabs within a cache. This is called by* kmem_cache_alloc() when there are no active objs left in a cache. |
cache_grow_end | |
cache_alloc_refill | |
fallback_alloc | Fallback function if there was no memory available and no objects on a* certain node and fall back is permitted. First we scan all the* available node for available objects. If that fails then we* perform an allocation without specifying a node |
____cache_alloc_node | A interface to enable slab creation on nodeid |
slab_alloc_node | |
free_block | Caller needs to acquire correct kmem_cache_node's list_lock*@list: List of detached free slabs should be freed by caller |
cache_flusharray | |
setup_kmem_cache_nodes | This initializes kmem_cache_node or resizes various caches for all nodes. |
__do_tune_cpucache | Always called with the slab_mutex held |
cache_reap | ache_reap - Reclaim memory from caches |
get_any_partial | Get a page from somewhere. Search in increasing NUMA distances. |
get_partial | Get a partial page, lock it and return it. |
deactivate_slab | Remove the cpu slab |
__slab_free | Slow path handling. This may still be called frequently since objects* have a longer lifetime than the cpu slabs in most processing loads.* So we still attempt to reduce cache line usage. Just take the slab* lock and free the item |
slab_mem_offline_callback |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |