Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:prepend

Proto:static int prepend(char **buffer, int *buflen, const char *str, int namelen)

Type:int

Parameter:

TypeParameterName
char **buffer
int *buflen
const char *str
intnamelen
13  buflen -= namelen
14  If buflen < 0 Then Return -ENAMETOOLONG
16  buffer -= namelen
17  memcpy( * buffer, str, namelen)
18  Return 0
Caller
NameDescribe
__d_path__d_path - return the path of a dentry*@path: the dentry/vfsmount to report*@root: root vfsmnt/dentry*@buf: buffer to return value in*@buflen: buffer length* Convert a dentry into an ASCII path name
d_absolute_path
path_with_deletedsame as __d_path but appends "(deleted)" for unlinked files.
prepend_unreachable
simple_dname
__dentry_pathWrite full pathname from the root of the filesystem into the buffer.
dentry_path
SYSCALL_DEFINE2NOTE! The user-level library version returns a* character pointer