Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Ripoff of 'select_parent()'* search the list of submounts for a given mountpoint, and move any* shrinkable submounts to the 'graveyard' list.
Proto:static int select_submounts(struct mount *parent, struct list_head *graveyard)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mount * | parent | |
| struct list_head * | graveyard |
| 2922 | this_parent = parent |
| 2924 | found = 0 |
| 2926 | repeat : |
| 2928 | resume : |
| 2929 | When next != list of children, anchored here cycle |
| 2934 | If Not (mnt_flags & MNT_SHRINKABLE) Then Continue |
| 2939 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then |
| 2940 | this_parent = mnt |
| 2941 | Go to repeat |
| 2952 | If this_parent != parent Then |
| 2957 | Return found |
| Name | Describe |
|---|---|
| shrink_submounts |
| 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 |