Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\debugobjects.c Create Date:2022-07-28 06:55:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Allocate a new object from the hlist

Proto:static struct debug_obj *__alloc_object(struct hlist_head *list)

Type:struct debug_obj

Parameter:

TypeParameterName
struct hlist_head *list
211  struct debug_obj * obj = NULL
213  If first Then
214  obj = hlist_entry(first, typeof( * obj), node)
215  hlist_del( & node)
218  Return obj
Caller
NameDescribe
alloc_objectAllocate a new object. If the pool is empty, switch off the debugger.* Must be called with interrupts disabled.
__free_object