Function report |
Source Code:mm\slab_common.c |
Create Date:2022-07-28 14:29:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kmem_cache_destroy
Proto:void kmem_cache_destroy(struct kmem_cache *s)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | s |
944 | If Value for the false possibility is greater at compile time(!s) Then Return |
947 | flush_memcg_workqueue(s) |
949 | get_online_cpus() |
950 | get_online_mems() |
952 | mutex_lock( & slab_mutex) |
955 | If Refcount for slab cache destroy Then Go to out_unlock |
958 | err = shutdown_memcg_caches(s) |
959 | If Not err Then err = shutdown_cache(s) |
962 | If err Then |
963 | pr_err("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() |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |