Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Helper function for dentry_operations.d_dname() members

Proto:char *dynamic_dname(struct dentry *dentry, char *buffer, int buflen, const char *fmt, ...)

Type:char

Parameter:

TypeParameterName
struct dentry *dentry
char *buffer
intbuflen
const char *fmt
300  va_start(args, fmt)
301  sz = vsnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@args: Arguments for the format string* This function generally + 1
302  va_end(args)
304  If sz > size of temp || sz > buflen Then Return ERR_PTR( - ENAMETOOLONG)
307  buffer += buflen - sz
308  Return memcpy(buffer, temp, sz)
Caller
NameDescribe
ns_dname
anon_inodefs_dnameanon_inodefs_dname() is called from d_path().