Function report |
Source Code:block\compat_ioctl.c |
Create Date:2022-07-28 18:01:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:compat_hdio_ioctl
Proto:static int compat_hdio_ioctl(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 |
| 87 | p = Allocate user-space memory for the duration of a single system call,* in order to marshall parameters inside a compat thunk. |
| 90 | If error == 0 Then |
| 93 | If Get a simple variable from user space(v, p) || Write a simple value into user space(v, uvp) Then error = -EFAULT |
| 96 | Return error |
| 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 |