函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:slab_mem_going_online_callback

函数原型:static int slab_mem_going_online_callback(void *arg)

返回类型:int

参数:

类型参数名称
void *arg
4115  marg等于arg
4116  nid等于status_change_nid_normal
4117  ret等于0
4123  如果nid小于0则返回:0
4131  mutex_lock( & slab_mutex)
4138  n等于分配高速缓存区
4139  如果非n
4140  ret等于负ENOMEM
4141  转到:out
4143  init_kmem_cache_node(n)
4144  node[nid]等于n
4146  out :
4147  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
4148  返回:ret
调用者
名称描述
slab_memory_callback