Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blkdev_flushbuf

Proto:static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, unsigned cmd, unsigned long arg)

Type:int

Parameter:

TypeParameterName
struct block_device *bdev
fmode_tmode
unsignedcmd
unsigned longarg
403  If Not Check operation authority Then Return -EACCES
406  ret = __blkdev_driver_ioctl(bdev, mode, cmd, arg)
407  If Not Is it an unrecognized ioctl? The correct returns are either* ENOTTY (final) or ENOIOCTLCMD ("I don't know this one, try a* fallback"). ENOIOCTLCMD gets turned into ENOTTY by the ioctl* code before returning. Then Return ret
410  fsync_bdev(bdev)
411  invalidate_bdev(bdev)
412  Return 0
Caller
NameDescribe
blkdev_ioctlalways keep this in sync with compat_blkdev_ioctl()