Function report |
Source Code:fs\libfs.c |
Create Date:2022-07-28 20:10:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:he inodes created here are not hashed. If you use iunique to generate* unique inode values later for this filesystem, then you must take care* to pass it an appropriate max_reserved value to avoid collisions.
Proto:int simple_fill_super(struct super_block *s, unsigned long magic, const struct tree_descr *files)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | s | |
| unsigned long | magic | |
| const struct tree_descr * | files |
| 540 | s_blocksize = PAGE_SIZE |
| 543 | s_op = simple_super_operations |
| 544 | s_time_gran = 1 |
| 546 | inode = obtain an inode |
| 559 | root = d_make_root(inode) |
| 563 | If Not name Then Continue |
| 572 | dentry = d_alloc_name(root, name) |
| 575 | inode = obtain an inode |
| 576 | If Not inode Then |
| 578 | Go to out |
| 587 | Return 0 |
| 588 | out : |
| 589 | d_genocide(root) |
| 590 | prune dcache |
| 592 | Return -ENOMEM |
| Name | Describe |
|---|---|
| sel_fill_super | |
| smk_fill_super | smk_fill_super - fill the smackfs superblock*@sb: the empty superblock*@fc: unused* Fill in the well known entries for the smack filesystem* Returns 0 on success, an error code on failure |
| apparmorfs_fill_super | |
| bm_fill_super | |
| bpf_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 |