Function report |
Source Code:fs\inode.c |
Create Date:2022-07-28 20:07:55 |
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lear_nlink - directly zero an inode's link count*@inode: inode* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink. See* drop_nlink() for why we care about i_nlink hitting zero.
Proto:void clear_nlink(struct inode *inode)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode |
| 318 | If i_nlink Then |
| 319 | __i_nlink = 0 |
| 320 | atomic_long_inc( & s_remove_count) |
| Name | Describe |
|---|---|
| set_nlink | 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |