函数逻辑报告 | 
Source Code:fs\inode.c | 
Create Date:2022-07-29 10:38:01 | 
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:set_nlink - directly set an inode's link count*@inode: inode*@nlink: new nlink (should be non-zero)* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink.
函数原型:void set_nlink(struct inode *inode, unsigned int nlink)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct inode * | inode | |
| unsigned int | nlink | 
| 335 | 如果非nlink则 | 
| 337 | 否则 | 
| 339 | 如果i_nlink恒等于0则atomic_long_dec( & s_remove_count) | 
| 名称 | 描述 | 
|---|---|
| simple_fill_super | he inodes created here are not hashed. If you use iunique to generate* unique inode values later for this filesystem, then you must take care* to pass it an appropriate max_reserved value to avoid collisions. | 
| make_empty_dir_inode | |
| fsstack_copy_attr_all | py all attributes | 
| devpts_fill_super | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |