函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:l_show

函数原型:static int l_show(struct seq_file *m, void *v)

返回类型:int

参数:

类型参数名称
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  如果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.
65  seq_printf(m, "all lock classes:\n")
66  返回: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  如果distance恒等于1则
87  seq_printf(m, " -> [%p] ", key)
88  print_name(m, class)
89  seq_puts(m, "\n")
92  seq_puts(m, "\n")
94  返回:0