Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:30 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_name
Proto:static void copy_name(struct dentry *dentry, struct dentry *target)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry | |
| struct dentry * | target |
| 2777 | struct external_name * old_name = NULL |
| 2778 | If Value for the false possibility is greater at compile time(dname_external(dentry)) Then old_name = external_name(dentry) |
| 2781 | atomic_inc( & count) |
| 2783 | Else |
| 2789 | If old_name && Value is more likely to compile time(atomic_dec_and_test( & count)) Then kfree_rcu() - kfree an object after a grace period(old_name, head) |
| Name | Describe |
|---|---|
| __d_move | __d_move - move a dentry*@dentry: entry to move*@target: new dentry*@exchange: exchange the two dentries* Update the dcache to reflect the move of a file name |
| 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 |