| Function report | 
| Source Code: block\compat_ioctl.c | Create Date:2022-07-28 18:01:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:compat_cdrom_read_audio
Proto:static int compat_cdrom_read_audio(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | If copy_in_user( & ame address , & addr, ( size of cdread_audio32 - sizeof(compat_caddr_t))) Then Return -EFAULT | 
| 135 | If Get a simple variable from user space(data, & buf) Then Return -EFAULT | 
| 138 | If Write a simple value into user space(datap, & ame buffer (size: nframes*2352 bytes) ) Then Return -EFAULT | 
| 141 | Return __blkdev_driver_ioctl(bdev, mode, cmd, (unsignedlong)cdread_audio) | 
| Name | Describe | 
|---|---|
| compat_blkdev_driver_ioctl | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |