函数逻辑报告 |
Source Code:arch\x86\kernel\ldt.c |
Create Date:2022-07-27 08:35:03 |
Last Modify:2022-05-18 16:20:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:read_ldt
函数原型:static int read_ldt(void __user *ptr, unsigned long bytecount)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void __user * | ptr | |
unsigned long | bytecount |
416 | lock for reading |
418 | 如果非ldt则 |
419 | retval等于0 |
420 | 转到:out_unlock |
423 | 如果bytecount大于The size of each LDT entry. 乘Maximum number of LDT entries supported. 则bytecount等于The size of each LDT entry. 乘Maximum number of LDT entries supported. |
427 | 如果entries_size大于bytecount则entries_size等于bytecount |
430 | 如果copy_to_user(ptr, entries, entries_size)则 |
432 | 转到:out_unlock |
435 | 如果entries_size不等于bytecount则 |
437 | 如果用户内存块清零则 |
439 | 转到:out_unlock |
444 | out_unlock : |
446 | 返回:retval |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |