Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:28 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:d_flags_for_inode
Proto:static unsigned d_flags_for_inode(struct inode *inode)
Type:unsigned
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode |
| 1885 | If Not inode Then Return Negative dentry (maybe fallthru to nowhere) |
| 1889 | add_flags = Normal directory |
| 1890 | If Value for the false possibility is greater at compile time(!(i_opflags & IOP_LOOKUP)) Then |
| 1891 | If Value for the false possibility is greater at compile time(!lookup) Then add_flags = Lookupless directory (presumed automount) |
| 1893 | Else i_opflags |= IOP_LOOKUP |
| 1896 | Go to type_determined |
| 1899 | If Value for the false possibility is greater at compile time(!(i_opflags & IOP_NOFOLLOW)) Then |
| 1902 | Go to type_determined |
| 1904 | i_opflags |= IOP_NOFOLLOW |
| 1907 | If Value for the false possibility is greater at compile time(!S_ISREG(i_mode)) Then add_flags = Other file type (or fallthru to such) |
| 1910 | type_determined : |
| 1911 | If Value for the false possibility is greater at compile time(IS_AUTOMOUNT(inode)) Then add_flags |= handle automount on this dir |
| 1913 | Return add_flags |
| Name | Describe |
|---|---|
| __d_instantiate | |
| __d_instantiate_anon | |
| __d_add |
| 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 |