函数逻辑报告 |
Source Code:kernel\power\user.c |
Create Date:2022-07-27 11:04:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:snapshot_compat_ioctl
函数原型:static long snapshot_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file * | file | |
| unsigned int | cmd | |
| unsigned long | arg |
| 410 | 当:cmd恒等于SNAPSHOT_GET_IMAGE_SIZE |
| 411 | 当:cmd恒等于SNAPSHOT_AVAIL_SWAP_SIZE |
| 412 | 当:cmd恒等于SNAPSHOT_ALLOC_SWAP_PAGE |
| 418 | old_fs等于获取当前进程地址空间上限() |
| 419 | 设置寄存器值(fs) |
| 420 | err等于snapshot_ioctl(file, cmd, (unsignedlong) & offset) |
| 421 | 设置寄存器值(fs) |
| 424 | 返回:err |
| 427 | 当:cmd恒等于SNAPSHOT_CREATE_IMAGE |
| 431 | 当:cmd恒等于SNAPSHOT_SET_SWAP_AREA |
| 438 | err等于Careful: we have to cast the result to the type of the pointer* for sign reasons(offset, & offset) |
| 439 | err或等于Careful: we have to cast the result to the type of the pointer* for sign reasons(dev, & dev) |
| 442 | old_fs等于获取当前进程地址空间上限() |
| 443 | 设置寄存器值(fs) |
| 444 | err等于snapshot_ioctl(file, SNAPSHOT_SET_SWAP_AREA, (unsignedlong) & swap_area) |
| 446 | 设置寄存器值(fs) |
| 447 | 返回:err |
| 450 | 默认 |
| 451 | 返回:snapshot_ioctl(file, cmd, arg) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |