Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:26 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock_parent
Proto:static inline struct dentry *lock_parent(struct dentry *dentry)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 627 | parent = parent directory |
| 628 | If linux/include/linux/dcache.h* Dirent cache data structures* (C) Copyright 1997 Thomas Schoebel-Theuer,* with heavy changes by Linus Torvalds(dentry) Then Return NULL |
| 630 | If Value is more likely to compile time(spin_trylock( & d_lock)) Then Return parent |
| 632 | Return __lock_parent(dentry) |
| Name | Describe |
|---|---|
| dentry_kill | Finish off a dentry we've decided to kill.* Returns dentry requiring refcount drop, or NULL if we're done. |
| d_prune_aliases | Try to kill dentries associated with this inode.* WARNING: you must own a reference to inode. |
| 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 |