函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c |
Create Date:2022-07-27 09:05:26 |
Last Modify:2022-05-18 17:35:08 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mtrr_del_page - delete a memory type region*@reg: Register returned by mtrr_add*@base: Physical base address*@size: Size of region* If register is supplied then base and size are ignored. This is* how drivers should call it.* Releases an MTRR region
函数原型:int mtrr_del_page(int reg, unsigned long base, unsigned long size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | reg | |
unsigned long | base | |
unsigned long | size |
485 | 如果非mtrr_enabled()则返回:负ENODEV |
488 | max等于num_var_ranges |
490 | get_online_cpus() |
491 | mutex_lock( & mtrr_mutex) |
492 | 如果reg小于0则 |
501 | 如果reg小于0则 |
512 | 如果lsize小于1则 |
516 | 如果mtrr_usage_table[reg]小于1则 |
520 | 如果mtrr_usage_table[reg]先自减小于1则set_mtrr_cpuslocked(reg, 0, 0, 0) |
523 | out : |
524 | mutex_unlock( & mtrr_mutex) |
525 | put_online_cpus() |
526 | 返回:error |
名称 | 描述 |
---|---|
mtrr_del | mtrr_del - delete a memory type region*@reg: Register returned by mtrr_add*@base: Physical base address*@size: Size of region* If register is supplied then base and size are ignored. This is* how drivers should call it.* Releases an MTRR region |
mtrr_file_del | |
mtrr_write | seq_file can seek but we ignore it.* Format of control line:* "base=%Lx size=%Lx type=%s" or "disable=%d" |
mtrr_ioctl |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |