函数逻辑报告 |
Source Code:fs\namespace.c |
Create Date:2022-07-29 10:39:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:struct vfsmount *vfs_create_mount(struct fs_context *fc)
返回类型:struct vfsmount
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct fs_context * | fc |
| 940 | mnt等于alloc_vfsmnt(source ? : "none") |
| 947 | atomic_inc( & s_active) |
| 948 | pointer to superblock 等于d_sb |
| 951 | mnt_parent等于mnt |
| 953 | lock_mount_hash() |
| 954 | 添加链表项 |
| 955 | unlock_mount_hash() |
| 956 | 返回:mnt |
| 名称 | 描述 |
|---|---|
| fc_mount | |
| do_new_mount_fc | Create a new mount using a superblock configuration and request it* be added to the namespace tree. |
| SYSCALL_DEFINE3 | Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |