Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:47:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Determine object index from a given position
Proto:static inline unsigned int slab_index(void *p, struct kmem_cache *s, void *addr)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | p | |
| struct kmem_cache * | s | |
| void * | addr |
| 319 | Return (kasan_reset_tag(p) - addr) / The size of an object including metadata |
| 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 |