Function report |
Source Code:fs\pnode.c |
Create Date:2022-07-28 20:11:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:heck if the mount 'mnt' can be unmounted successfully.*@mnt: the mount to be checked for unmount* NOTE: unmounting 'mnt' would naturally propagate to all* other mounts its parent propagates to.* Check if any of these mounts that **do not have submounts**
Proto:int propagate_mount_busy(struct mount *mnt, int refcnt)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mount * | mnt | |
int | refcnt |
373 | parent = mnt_parent |
375 | If mnt == parent Then Return rn true if the refcount is greater than count |
383 | If Not list_empty - tests whether a list is empty*@head: the list to test. || rn true if the refcount is greater than count Then Return 1 |
388 | count = 1 |
390 | If Not child Then Continue |
396 | topper = find_topper(child) |
399 | Else if Not list_empty - tests whether a list is empty*@head: the list to test. Then Continue |
402 | If rn true if the refcount is greater than count Then Return 1 |
405 | Return 0 |
Name | Describe |
---|---|
do_umount | |
mark_mounts_for_expiry | process a list of expirable mountpoints with the intent of discarding any* mountpoints that aren't in use and haven't been touched since last we came* here |
select_submounts | Ripoff of 'select_parent()'* search the list of submounts for a given mountpoint, and move any* shrinkable submounts to the 'graveyard' list. |
may_umount | may_umount - check if a mount point is busy*@mnt: root of mount* This is called to check if a mount point has any* open files, pwds, chroots or sub mounts. If the* mount has sub mounts this will return busy* regardless of whether the sub mounts are busy. |
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 |