Function report |
Source Code:block\ioctl.c |
Create Date:2022-07-28 17:16:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blkdev_pr_register
Proto:static int blkdev_pr_register(struct block_device *bdev, struct pr_registration __user *arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev | |
struct pr_registration __user * | arg |
294 | If Not Check operation authority Then Return -EPERM |
296 | If Not ops || Not pr_register Then Return -EOPNOTSUPP |
298 | If copy_from_user( & reg, arg, size of reg ) Then Return -EFAULT |
301 | If flags & ~gnore existing key Then Return -EOPNOTSUPP |
303 | Return pr_register(bdev, old_key, new_key, flags) |
Name | Describe |
---|---|
blkdev_ioctl | always keep this in sync with compat_blkdev_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 |