Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\initramfs.c Create Date:2022-07-28 13:54:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_link

Proto:static char __init *find_link(int major, int minor, int ino, umode_t mode, char *name)

Type:char

Parameter:

TypeParameterName
intmajor
intminor
intino
umode_tmode
char *name
67  When p cycle
68  If ino != ino Then Continue
70  If minor != minor Then Continue
72  If major != major Then Continue
74  If (mode ^ mode) & S_IFMT Then Continue
76  Return name
78  q = Allocation memory
79  If Not q Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
81  major = major
82  minor = minor
83  ino = ino
84  mode = mode
85  strcpy(name, name)
86  next = NULL
87  p = q
88  Return NULL
Caller
NameDescribe
maybe_link