Function report | 
Source Code:include\linux\slub_def.h | 
Create Date:2022-07-28 14:03:57 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:nearest_obj
Proto:static inline void *nearest_obj(struct kmem_cache *cache, struct page *page, void *x)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kmem_cache * | cache | |
| struct page * | page | |
| void * | x | 
| 176 | object = x - (x - page_address(page)) % The size of an object including metadata | 
| 177 | last_object = page_address(page) + (objects - 1) * The size of an object including metadata | 
| 179 | result = If Value for the false possibility is greater at compile time(object > last_object) Then last_object Else object | 
| 181 | result = fixup_red_left(cache, result) | 
| 182 | Return result | 
| Name | Describe | 
|---|---|
| print_address_description | 
| 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  |