Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\ioctl.c Create Date:2022-07-28 17:16:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blkdev_pr_reserve

Proto:static int blkdev_pr_reserve(struct block_device *bdev, struct pr_reservation __user *arg)

Type:int

Parameter:

TypeParameterName
struct block_device *bdev
struct pr_reservation __user *arg
309  ops = pr_ops
312  If Not Check operation authority Then Return -EPERM
314  If Not ops || Not pr_reserve Then Return -EOPNOTSUPP
316  If copy_from_user( & rsv, arg, size of rsv ) Then Return -EFAULT
319  If flags & ~gnore existing key Then Return -EOPNOTSUPP
321  Return pr_reserve(bdev, key, type, flags)
Caller
NameDescribe
blkdev_ioctlalways keep this in sync with compat_blkdev_ioctl()