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:invalidate a dentry
Proto:void d_invalidate(struct dentry *dentry)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry |
1645 | bool had_submounts = false |
1648 | spin_unlock( & d_lock) |
1649 | Return |
1651 | drop a dentry |
1652 | spin_unlock( & d_lock) |
1655 | If Not Where the name belongs to - NULL is * negative Then Return |
1658 | prune dcache |
1659 | cycle |
1662 | If Not victim Then |
1663 | If had_submounts Then prune dcache |
1665 | Return |
1667 | had_submounts = true |
1668 | detach_mounts(victim) |
Name | Describe |
---|---|
lookup_fast | |
__lookup_slow | Fast lookup failed, do it the slow way |
lookup_open | Look up and maybe create and open the last component |
lookup_dcache | This looks up the name in dcache and possibly revalidates the found dentry.* NULL is returned if the dentry does not exist in the cache. |
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 |