函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__blkdev_driver_ioctl

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

返回类型:int

参数:

类型参数名称
struct block_device *bdev
fmode_tmode
unsignedcmd
unsigned longarg
274  disk等于bd_disk
276  如果ioctl则返回:ioctl(bdev, mode, cmd, arg)
279  返回:负ENOTTY
调用者
名称描述
blkdev_flushbuf
blkdev_roset
blkdev_ioctlalways keep this in sync with compat_blkdev_ioctl()
compat_hdio_ioctl
compat_cdrom_read_audio
compat_cdrom_generic_command
compat_blkdev_driver_ioctl