函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:23:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:slab_memory_callback

函数原型:static int slab_memory_callback(struct notifier_block *self, unsigned long action, void *arg)

返回类型:int

参数:

类型参数名称
struct notifier_block *self
unsigned longaction
void *arg
4154  ret等于0
4157  :action恒等于MEM_GOING_ONLINE
4158  ret等于slab_mem_going_online_callback(arg)
4159  退出
4160  :action恒等于xposed to userspace
4161  ret等于slab_mem_going_offline_callback(arg)
4162  退出
4163  :action恒等于xposed to userspace
4164  :action恒等于MEM_CANCEL_ONLINE
4165  slab_mem_offline_callback(arg)
4166  退出
4167  :action恒等于xposed to userspace
4168  :action恒等于MEM_CANCEL_OFFLINE
4169  退出
4171  如果retret等于Encapsulate (negative) errno value (in particular, NOTIFY_BAD <=> EPERM).
4173  否则ret等于Suits me
4175  返回:ret