Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:45:58 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:void kmem_cache_free(struct kmem_cache *cachep, void *objp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmem_cache * | cachep | |
| void * | objp |
| 3734 | cachep = cache_from_obj(cachep, objp) |
| 3735 | If Not cachep Then Return |
| 3738 | local_irq_save(flags) |
| 3740 | If Not (Used for retrieving partial slabs, etc. & SLAB_DEBUG_OBJECTS) Then debug_check_no_obj_freed(objp, The size of an object without metadata ) |
| 3743 | local_irq_restore(flags) |
| 3745 | trace_kmem_cache_free(_RET_IP_, objp) |
| Name | Describe |
|---|---|
| alloc_posix_timer | |
| k_itimer_rcu_free | |
| clone_uts_ns | Clone a new ns copying an original utsname, setting refcount to 1*@old_ns: namespace to clone* Return ERR_PTR(-ENOMEM) on error (failure to allocate), new ns otherwise |
| free_uts_ns | |
| create_user_ns | Create a new user namespace, deriving the creator from the user in the* passed credentials, and replacing that user with the new root user for the* new namespace.* This is called by copy_creds(), which will finish setting the target task's* credentials. |
| free_user_ns | |
| create_pid_namespace | |
| delayed_free_pidns | |
| audit_buffer_free | |
| audit_tree_destroy_watch | |
| taskstats_tgid_alloc | |
| trace_destroy_fields | |
| remove_event_file_dir |
| 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 |