Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-28 09:04:53
Last Modify:2022-05-22 11:14:39 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:r_show

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

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
107  root = PDE_DATA(file_inode(file))
108  r = v
110  width = If end < 0x10000 Then 4 Else 8
113  When depth < MAX_IORES_LEVEL cycle If parent == root Then
115  Break
117  If file_ns_capable(file, & init_user_ns, Allow setting zone reclaim policy ) Then
118  start = start
119  end = end
120  Else
121  start = end = 0
124  seq_printf(m, "%*s%0*llx-%0*llx : %s\n", depth * 2, "", width, start, width, end, name ? name : "<BAD>")
129  Return 0