函数逻辑报告 |
Source Code:init\do_mounts_md.c |
Create Date:2022-07-27 15:21:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Parse the command-line parameters given our kernel, but do not* actually try to invoke the MD device now; that is handled by* md_setup_drive after the low-level disk drivers have initialised
函数原型:static int __init md_setup(char *str)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | str |
56 | partitioned等于0 |
57 | pername等于"" |
61 | 如果str恒等于'd'则 |
62 | partitioned等于1 |
63 | str自加 |
70 | 以ent小于md_setup_ents循环如果minor恒等于minor且partitioned恒等于partitioned则 |
75 | 退出 |
81 | 如果ent大于等于md_setup_ents则md_setup_ents自加 |
85 | 如果level恒等于0或level恒等于LEVEL_LINEAR则 |
93 | 如果level恒等于LEVEL_LINEAR则pername等于"linear" |
95 | 否则pername等于"raid0" |
97 | 退出 |
104 | level等于we need a value for 'no level specified' and 0* means 'raid0', so we need something else. This is* for internal use only |
105 | pername等于"super-block" |
110 | device_names等于str |
111 | partitioned等于partitioned |
114 | 返回:1 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |