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:devpts_fill_super
Proto:static int devpts_fill_super(struct super_block *s, void *data, int silent)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | s | |
| void * | data | |
| int | silent |
| 450 | s_iflags &= ~Ignore devices on this fs |
| 451 | s_blocksize = 1024 |
| 452 | s_blocksize_bits = 10 |
| 453 | s_magic = DEVPTS_SUPER_MAGIC |
| 454 | s_op = devpts_sops |
| 456 | s_time_gran = 1 |
| 459 | s_fs_info = new_pts_fs_info(s) |
| 468 | inode = obtain an inode |
| 478 | s_root = d_make_root(inode) |
| 479 | If Not s_root Then |
| 484 | error = mknod_ptmx(s) |
| 488 | Return 0 |
| 489 | fail_dput : |
| 491 | s_root = NULL |
| 492 | fail : |
| 493 | Return error |
| 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 |