函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:simple_link

函数原型:int simple_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)

返回类型:int

参数:

类型参数名称
struct dentry *old_dentry
struct inode *dir
struct dentry *dentry
323  inode等于获得目录项的索引节点
325  i_ctime等于i_ctime等于i_mtime等于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.
326  _nlink - directly increment an inode's link count*@inode: inode* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink. Currently,* it is only here for parity with dec_nlink().
327  get additional reference to inode; caller must already hold one.
328  获得目录项引用
329  为目录项建立索引
330  返回:0