函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:SMP-safe

函数原型:static int ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)

返回类型:int

参数:

类型参数名称
struct inode *dir
struct dentry *dentry
umode_tmode
dev_tdev
106  inode等于ramfs_get_inode(i_sb, dir, mode, dev)
107  error等于负ENOSPC
109  如果inode
110  为目录项建立索引
111  获得目录项引用
112  error等于0
113  i_mtime等于i_ctime等于rrent_time - Return FS time*@inode: inode.* Return the current time truncated to the time granularity supported by* the fs.* Note that inode and inode->sb cannot be NULL.* Otherwise, the function warns and returns time without truncation.
115  返回:error
调用者
名称描述
ramfs_mkdir
ramfs_create