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:This should be equivalent to d_instantiate() + unlock_new_inode(),* with lockdep-related part of unlock_new_inode() done before* anything else. Use that instead of open-coding d_instantiate()/* unlock_new_inode() combinations.
Proto:void d_instantiate_new(struct dentry *entry, struct inode *inode)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | entry | |
| struct inode * | inode |
| 1970 | BUG_ON(!hlist_unhashed( & de alias list )) |
| 1973 | security_d_instantiate(entry, inode) |
| 1974 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
| 1975 | __d_instantiate(entry, inode) |
| 1978 | smp_mb() |
| 1980 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
| 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 |