Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:49:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:slab_memory_callback
Proto:static int slab_memory_callback(struct notifier_block *self, unsigned long action, void *arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct notifier_block * | self | |
unsigned long | action | |
void * | arg |
4154 | ret = 0 |
4157 | Case action == MEM_GOING_ONLINE |
4158 | ret = slab_mem_going_online_callback(arg) |
4159 | Break |
4160 | Case action == xposed to userspace |
4161 | ret = slab_mem_going_offline_callback(arg) |
4162 | Break |
4163 | Case action == xposed to userspace |
4164 | Case action == MEM_CANCEL_ONLINE |
4165 | slab_mem_offline_callback(arg) |
4166 | Break |
4167 | Case action == xposed to userspace |
4168 | Case action == MEM_CANCEL_OFFLINE |
4169 | Break |
4175 | Return ret |
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 |