Function report |
Source Code:fs\devpts\inode.c |
Create Date:2022-07-28 20:34:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mknod_ptmx
Proto:static int mknod_ptmx(struct super_block *sb)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb |
330 | opts = mount_opts |
331 | ptmx_uid = current_fsuid() |
332 | ptmx_gid = current_fsgid() |
337 | If ptmx_dentry Then |
342 | dentry = d_alloc_name(root, "ptmx") |
343 | If Not dentry Then |
351 | inode = obtain an inode |
352 | If Not inode Then |
362 | init_special_inode(inode, mode, MKDEV(TTYAUX_MAJOR, 2)) |
368 | ptmx_dentry = dentry |
369 | rc = 0 |
370 | out : |
372 | Return rc |
Name | Describe |
---|---|
devpts_fill_super |
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 |