函数逻辑报告 |
Source Code:mm\slab_common.c |
Create Date:2022-07-27 15:54:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:删除高速缓存区
函数原型:void kmem_cache_destroy(struct kmem_cache *s)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | s |
944 | 如果此条件成立可能性小(为编译器优化)(!s)则返回 |
947 | flush_memcg_workqueue(s) |
949 | get_online_cpus() |
950 | get_online_mems() |
952 | mutex_lock( & slab_mutex) |
955 | 如果Refcount for slab cache destroy 则转到:out_unlock |
958 | err等于shutdown_memcg_caches(s) |
959 | 如果非err则err等于shutdown_cache(s) |
962 | 如果err则 |
963 | 打印错误信息("kmem_cache_destroy %s: Slab cache still has objects\n", Name (only for display!) ) |
965 | dump_stack() |
967 | out_unlock : |
970 | put_online_mems() |
971 | put_online_cpus() |
名称 | 描述 |
---|---|
kmem_cache_oob | |
memcg_accounted_kmem_cache | |
kmem_cache_double_free | |
kmem_cache_invalid_free | |
do_kmem_cache_size | Test kmem_cache with given parameters: |
do_kmem_cache_rcu_persistent | Check that the data written to an RCU-allocated object survives* reallocation. |
btree_module_exit | |
debug_objects_mem_init | Called after the kmem_caches are functional to setup a dedicated* cache pool, which has the SLAB_DEBUG_OBJECTS flag set. This flag* prevents that the debug code is called on kmem_cache_free() for the* debug tracker objects to avoid recursive calls. |
sg_pool_init | |
sg_pool_exit | |
zswap_entry_cache_destroy | |
ksm_slab_init | |
ksm_slab_free | |
khugepaged_destroy | |
create_cache | |
destroy_cache | |
z3fold_create_pool | z3fold_create_pool() - create a new z3fold pool*@name: pool name*@gfp: gfp flags when allocating the z3fold pool structure*@ops: user-defined operations for the z3fold pool* Return: pointer to the new z3fold pool or NULL if the metadata allocation* failed. |
z3fold_destroy_pool | z3fold_destroy_pool() - destroys an existing z3fold pool*@pool: the z3fold pool to be destroyed* The pool should be emptied before this function is called. |
elv_register | |
elv_unregister | |
bfq_slab_kill | |
fsverity_exit_info_cache | |
mbcache_exit | |
dcookie_init | |
dcookie_exit | |
init_mqueue_fs | |
bio_put_slab | |
smack_init | smack_init - initialize the smack system* Returns 0 on success, -ENOMEM is there's no memory |
fscrypt_init | scrypt_init() - Set up for fs encryption. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |