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:d_ancestor - search for an ancestor*@p1: ancestor dentry*@p2: child dentry* Returns the ancestor dentry of p2 which is a child of p1, if p1 is* an ancestor of p2, else NULL.
Proto:struct dentry *d_ancestor(struct dentry *p1, struct dentry *p2)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | p1 | |
| struct dentry * | p2 |
| 2933 | If parent directory == p1 Then Return p |
| 2936 | Return NULL |
| Name | Describe |
|---|---|
| lock_rename | p1 and p2 should be directories on the same fs. |
| __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 |
| d_splice_alias | splice a disconnected dentry into the tree if one exists |
| is_subdir | is new dentry a subdirectory of old_dentry |
| 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 |