函数逻辑报告 |
Source Code:block\compat_ioctl.c |
Create Date:2022-07-27 19:36:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:compat_blkpg_ioctl
函数原型:static int compat_blkpg_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, struct compat_blkpg_ioctl_arg __user *ua32)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
fmode_t | mode | |
unsigned int | cmd | |
struct compat_blkpg_ioctl_arg __user * | ua32 |
187 | __user乘a等于Allocate user-space memory for the duration of a single system call,* in order to marshall parameters inside a compat thunk. |
194 | err或等于Careful: we have to cast the result to the type of the pointer* for sign reasons(n, & flags) |
196 | err或等于Careful: we have to cast the result to the type of the pointer* for sign reasons(n, & datalen) |
198 | err或等于Careful: we have to cast the result to the type of the pointer* for sign reasons(udata, & data) |
名称 | 描述 |
---|---|
compat_blkdev_ioctl | Most of the generic ioctls are handled in the normal fallback path.This assumes the blkdev's low level compat_ioctl always returnsENOIOCTLCMD for unknown ioctls. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |