函数逻辑报告 |
Source Code:init\do_mounts.c |
Create Date:2022-07-27 15:19:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Convert a name into device number
函数原型:dev_t name_to_dev_t(const char *name)
返回类型:dev_t
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | name |
227 | res等于0 |
231 | 如果字符串指定长度比较恒等于0则 |
232 | name加等于9 |
236 | 转到:done |
237 | 否则如果字符串指定长度比较恒等于0则 |
246 | put_device(dev) |
247 | 转到:done |
251 | 如果字符串指定长度比较不等于0则 |
268 | name加等于5 |
284 | p等于'!' |
285 | res等于blk_lookup_devt(s, 0) |
294 | p自减 |
299 | part等于转换字符串为无符号整形 |
300 | p等于'\0' |
301 | res等于blk_lookup_devt(s, part) |
308 | p[ - 1]等于'\0' |
309 | res等于blk_lookup_devt(s, part) |
313 | fail : |
314 | 返回:0 |
315 | done : |
316 | 返回:res |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |