函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Allocate a new object from the hlist

函数原型:static struct debug_obj *__alloc_object(struct hlist_head *list)

返回类型:struct debug_obj

参数:

类型参数名称
struct hlist_head *list
211  struct debug_obj * obj = NULL
213  如果first
214  obj等于hlist_entry(first, typeof( * obj), node)
215  hlist_del( & node)
218  返回:obj
调用者
名称描述
alloc_objectAllocate a new object. If the pool is empty, switch off the debugger.* Must be called with interrupts disabled.
__free_object