Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blkdev_pr_clear

Proto:static int blkdev_pr_clear(struct block_device *bdev, struct pr_clear __user *arg)

Type:int

Parameter:

TypeParameterName
struct block_device *bdev
struct pr_clear __user *arg
363  ops = pr_ops
366  If Not Check operation authority Then Return -EPERM
368  If Not ops || Not pr_clear Then Return -EOPNOTSUPP
370  If copy_from_user( & c, arg, size of c ) Then Return -EFAULT
373  If flags Then Return -EOPNOTSUPP
375  Return pr_clear(bdev, key)
Caller
NameDescribe
blkdev_ioctlalways keep this in sync with compat_blkdev_ioctl()