Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:44:22 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_off_slab_cache
Proto:static bool set_off_slab_cache(struct kmem_cache *cachep, size_t size, slab_flags_t flags)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | cachep | |
size_t | size | |
slab_flags_t | flags |
1892 | num = 0 |
1898 | If flags & Avoid kmemleak tracing Then Return false |
1906 | If Not num Then Return false |
1913 | If left >= num * sizeof(freelist_idx_t) Then Return false |
1916 | colour = left / colour_off |
1918 | Return true |
Name | Describe |
---|---|
__kmem_cache_create | __kmem_cache_create - Create a cache.*@cachep: cache management descriptor*@flags: SLAB flags* Returns a ptr to the cache on success, NULL on failure.* Cannot be called within a int, but can be interrupted. |
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 |