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 struct dentry *__lock_parent(struct dentry *dentry)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 601 | spin_unlock( & d_lock) |
| 602 | again : |
| 603 | parent = READ_ONCE( parent directory ) |
| 614 | spin_unlock( & d_lock) |
| 615 | Go to again |
| 618 | If parent != dentry Then spin_lock_nested( & d_lock, DENTRY_D_LOCK_NESTED) |
| 620 | Else parent = NULL |
| 622 | Return parent |
| Name | Describe |
|---|---|
| lock_parent | |
| dentry_kill | Finish off a dentry we've decided to kill.* Returns dentry requiring refcount drop, or NULL if we're done. |
| 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 |