函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ramfs_symlink

函数原型:static int ramfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname)

返回类型:int

参数:

类型参数名称
struct inode *dir
struct dentry *dentry
const char *symname
134  error等于负ENOSPC
136  inode等于ramfs_get_inode(i_sb, dir, S_IFLNK | S_IRWXUGO, 0)
137  如果inode
138  l等于strlen - Find the length of a string*@s: The string to be sized加1
139  error等于page_symlink(inode, symname, l)
140  如果非error
144  否则放置一个索引节点
147  返回:error