Function report |
Source Code:block\compat_ioctl.c |
Create Date:2022-07-28 18:01:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:compat_blkpg_ioctl
Proto:static int compat_blkpg_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, struct compat_blkpg_ioctl_arg __user *ua32)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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. |
192 | err = Get a simple variable from user space(n, & op) |
193 | err |= Write a simple value into user space(n, & op) |
194 | err |= Get a simple variable from user space(n, & flags) |
195 | err |= Write a simple value into user space(n, & flags) |
196 | err |= Get a simple variable from user space(n, & datalen) |
197 | err |= Write a simple value into user space(n, & datalen) |
198 | err |= Get a simple variable from user space(udata, & data) |
Name | Describe |
---|---|
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. |
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 |