Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_vfsmnt
Proto:static struct mount *alloc_vfsmnt(const char *name)
Type:struct mount
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | name |
| 178 | If mnt Then |
| 181 | err = mnt_alloc_id(mnt) |
| 182 | If err Then Go to out_free_cache |
| 185 | If name Then |
| 187 | If Not Name of device e.g. /dev/dsk/hda1 Then Go to out_free_id |
| 198 | mnt_count = 1 |
| 199 | mnt_writers = 0 |
| 202 | INIT_HLIST_NODE( & mnt_hash) |
| 212 | INIT_HLIST_HEAD( & mnt_stuck_children) |
| 214 | Return mnt |
| 220 | out_free_id : |
| 221 | mnt_free_id(mnt) |
| 222 | out_free_cache : |
| 223 | kmem_cache_free(mnt_cache, mnt) |
| 224 | Return NULL |
| Name | Describe |
|---|---|
| vfs_create_mount | vfs_create_mount - Create a mount for a configured superblock*@fc: The configuration context with the superblock attached* Create a mount to an already configured superblock. If necessary, the* caller should invoke vfs_get_tree() before calling this. |
| clone_mnt |
| 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 |