Function report |
Source Code:init\do_mounts.c |
Create Date:2022-07-28 13:56:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Convert a name into device number
Proto:dev_t name_to_dev_t(const char *name)
Type:dev_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | name |
| 227 | res = 0 |
| 232 | name += 9 |
| 236 | Go to done |
| 246 | put_device(dev) |
| 247 | Go to done |
| 260 | Else |
| 265 | Go to done |
| 268 | name += 5 |
| 279 | If strlen - Find the length of a string*@s: The string to be sized > 31 Then Go to fail |
| 284 | p = '!' |
| 285 | res = blk_lookup_devt(s, 0) |
| 294 | p-- |
| 300 | p = '\0' |
| 301 | res = blk_lookup_devt(s, part) |
| 308 | p[ - 1] = '\0' |
| 309 | res = blk_lookup_devt(s, part) |
| 313 | fail : |
| 314 | Return 0 |
| 315 | done : |
| 316 | Return res |
| Name | Describe |
|---|---|
| software_resume | software_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation image |
| resume_store | |
| prepare_namespace | Prepare the namespace - decide what/where to mount, load ramdisks, etc. |
| md_setup_drive |
| 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 |