Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_mountpoint
Proto:static struct mountpoint *get_mountpoint(struct dentry *dentry)
Type:struct mountpoint
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 702 | struct mountpoint * mp, * new = NULL |
| 705 | If d_mountpoint(dentry) Then |
| 707 | If d_unlinked(dentry) Then Return ERR_PTR( - ENOENT) |
| 709 | mountpoint : |
| 711 | mp = lookup_mountpoint(dentry) |
| 717 | If Not new Then new = Allocation memory |
| 727 | If ret == -EBUSY Then Go to mountpoint |
| 738 | m_count = 1 |
| 739 | hlist_add_head( & m_hash, mp_hash(dentry)) |
| 740 | INIT_HLIST_HEAD( & m_list) |
| 744 | new = NULL |
| 745 | done : |
| 747 | Return mp |
| Name | Describe |
|---|---|
| attach_recursive_mnt | @source_mnt : mount tree to be attached*@nd : place the mount tree @source_mnt is attached*@parent_nd : if non-null, detach the source_mnt from its parent and* store the parent mount and mountpoint dentry |
| lock_mount |
| 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 |