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: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.
Proto:struct vfsmount *vfs_create_mount(struct fs_context *fc)
Type:struct vfsmount
Parameter:
Type | Parameter | Name |
---|---|---|
struct fs_context * | fc |
940 | mnt = alloc_vfsmnt(source ? : "none") |
944 | If sb_flags & his is a kern_mount call Then mnt_flags = MNT_INTERNAL |
947 | atomic_inc( & s_active) |
948 | pointer to superblock = d_sb |
951 | mnt_parent = mnt |
953 | lock_mount_hash() |
955 | unlock_mount_hash() |
956 | Return mnt |
Name | Describe |
---|---|
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. |
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 |