Function report |
Source Code:mm\slab.h |
Create Date:2022-07-28 14:04:18 |
Last Modify:2022-05-23 16:25:42 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cache_from_obj
Proto:static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x)
Type:struct kmem_cache
Parameter:
Type | Parameter | Name |
---|---|---|
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 | Return cachep |
Name | Describe |
---|---|
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 |
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 |