函数逻辑报告 |
Source Code:block\compat_ioctl.c |
Create Date:2022-07-27 19:36:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:compat_cdrom_read_audio
函数原型:static int compat_cdrom_read_audio(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct block_device * | bdev | |
| fmode_t | mode | |
| unsigned int | cmd | |
| unsigned long | arg |
| 121 | __user乘cdread_audio |
| 122 | __user乘cdread_audio32 |
| 126 | cdread_audio等于Allocate user-space memory for the duration of a single system call,* in order to marshall parameters inside a compat thunk. |
| 129 | 如果copy_in_user( & ame address , & addr, (cdread_audio32的长度 - sizeof(compat_caddr_t)))则返回:负EFAULT |
| 135 | 如果Careful: we have to cast the result to the type of the pointer* for sign reasons(data, & buf)则返回:负EFAULT |
| 138 | 如果put_user - Write a simple value into user space(datap, & ame buffer (size: nframes*2352 bytes) )则返回:负EFAULT |
| 141 | 返回:__blkdev_driver_ioctl(bdev, mode, cmd, (unsignedlong)cdread_audio) |
| 名称 | 描述 |
|---|---|
| compat_blkdev_driver_ioctl |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |