函数逻辑报告 | 
Source Code:fs\namespace.c | 
Create Date:2022-07-29 10:39:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:alloc_vfsmnt
函数原型:static struct mount *alloc_vfsmnt(const char *name)
返回类型:struct mount
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const char * | name | 
| 178 | 如果mnt则 | 
| 181 | err等于mnt_alloc_id(mnt) | 
| 182 | 如果err则转到:out_free_cache | 
| 185 | 如果name则 | 
| 187 | 如果非 Name of device e.g. /dev/dsk/hda1 则转到:out_free_id | 
| 198 | mnt_count等于1 | 
| 199 | mnt_writers等于0 | 
| 202 | INIT_HLIST_NODE( & mnt_hash) | 
| 203 | 初始化链表头 | 
| 204 | 初始化链表头 | 
| 205 | 初始化链表头 | 
| 206 | 初始化链表头 | 
| 207 | 初始化链表头 | 
| 208 | 初始化链表头 | 
| 209 | 初始化链表头 | 
| 211 | 初始化链表头 | 
| 212 | INIT_HLIST_HEAD( & mnt_stuck_children) | 
| 214 | 返回:mnt | 
| 220 | out_free_id : | 
| 221 | mnt_free_id(mnt) | 
| 222 | out_free_cache : | 
| 223 | kmem_cache_free(mnt_cache, mnt) | 
| 224 | 返回:NULL | 
| 名称 | 描述 | 
|---|---|
| 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 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |