函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\d_path.c Create Date:2022-07-29 10:42:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Helper function for dentry_operations.d_dname() members

函数原型:char *dynamic_dname(struct dentry *dentry, char *buffer, int buflen, const char *fmt, ...)

返回类型:char

参数:

类型参数名称
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  如果sz大于temp的长度或sz大于buflen则返回:错误号
307  buffer加等于buflensz
308  返回:memcpy(buffer, temp, sz)
调用者
名称描述
ns_dname
anon_inodefs_dnameanon_inodefs_dname() is called from d_path().