Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Set the iterator to point to the first _ddebug object* and return a pointer to that first object. Returns* NULL if there are no _ddebugs at all.

Proto:static struct _ddebug *ddebug_iter_first(struct ddebug_iter *iter)

Type:struct _ddebug

Parameter:

TypeParameterName
struct ddebug_iter *iter
729  If list_empty - tests whether a list is empty*@head: the list to test. Then
730  table = NULL
731  idx = 0
732  Return NULL
734  table = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structddebug_table, link)
736  idx = 0
737  Return ddebugs[idx]
Caller
NameDescribe
ddebug_proc_startSeq_ops start method. Called at the start of every* read() call from userspace. Takes the ddebug_lock and* seeks the seq_file's iterator to the given position.
ddebug_proc_nextSeq_ops next method. Called several times within a read()* call from userspace, with ddebug_lock held. Walks to the* next _ddebug object with a special case for the header line.