Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:49:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__ksize
Proto:size_t __ksize(const void *object)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | object |
| 3925 | page = virt_to_head_page(object) |
| 3927 | If Value for the false possibility is greater at compile time(!PageSlab(page)) Then |
| 3928 | WARN_ON(!PageCompound(page)) |
| 3932 | Return slab_ksize( not slob ) |
| Name | Describe |
|---|---|
| ksize | ksize - get the actual amount of memory allocated for a given object*@objp: Pointer to the object* kmalloc may internally round up allocations and return more memory* than requested. ksize() can be used to determine the actual amount of* memory allocated |
| 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 |