| Function report | 
| Source Code: init\do_mounts.c | Create Date:2022-07-28 13:57:09 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mount_block_root
Proto:void __init mount_block_root(char *name, int flags)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | name | |
| int | flags | 
| 429 | page = alloc_page(GFP_KERNEL) | 
| 430 | fs_names = page_address(page) | 
| 438 | get_fs_names(fs_names) | 
| 439 | retry : | 
| 441 | err = do_mount_root(name, p, flags, root_mount_data) | 
| 443 | Case err == 0 | 
| 444 | Go to out | 
| 447 | Continue | 
| 455 | __bdevname(ROOT_DEV, b) | 
| 461 | printk_all_partitions() | 
| 468 | If Not (flags & Mount read-only ) Then | 
| 469 | flags |= Mount read-only | 
| 470 | Go to retry | 
| 474 | printk_all_partitions() | 
| 480 | __bdevname(ROOT_DEV, b) | 
| 483 | out : | 
| Name | Describe | 
|---|---|
| mount_root | |
| prepare_namespace | Prepare the namespace - decide what/where to mount, load ramdisks, etc. | 
| handle_initrd | 
| 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 |