函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\ioctl.c Create Date:2022-07-27 18:51:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blkdev_flushbuf

函数原型:static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, unsigned cmd, unsigned long arg)

返回类型:int

参数:

类型参数名称
struct block_device *bdev
fmode_tmode
unsignedcmd
unsigned longarg
403  如果非操作权限检查则返回:负EACCES
406  ret等于__blkdev_driver_ioctl(bdev, mode, cmd, arg)
407  如果非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.则返回:ret
410  fsync_bdev(bdev)
411  invalidate_bdev(bdev)
412  返回:0
调用者
名称描述
blkdev_ioctlalways keep this in sync with compat_blkdev_ioctl()