Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep_proc.c Create Date:2022-07-28 09:50:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:l_show

Proto:static int l_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
60  class = 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.(v, structlock_class, lock_entry)
64  If v == We keep a global list of all lock classes. The list is only accessed with* the lockdep spinlock lock held. free_lock_classes is a list with free* elements. These elements are linked together by the lock_entry member in* struct lock_class. Then
65  seq_printf(m, "all lock classes:\n")
66  Return 0
69  seq_printf(m, "%p", key)
78  get_usage_chars(class, usage)
79  seq_printf(m, " %s", usage)
81  seq_printf(m, ": ")
82  print_name(m, class)
83  seq_puts(m, "\n")
86  If distance == 1 Then
87  seq_printf(m, " -> [%p] ", key)
88  print_name(m, class)
89  seq_puts(m, "\n")
92  seq_puts(m, "\n")
94  Return 0