函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-29 10:46:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:block_ioctl

函数原型:static long block_ioctl(struct file *file, unsigned cmd, unsigned long arg)

返回类型:long

参数:

类型参数名称
struct file *file
unsignedcmd
unsigned longarg
1971  bdev等于I_BDEV(bdev_file_inode(file))
1972  mode等于f_mode
1978  如果f_flags按位与O_NDELAYmode或等于File is opened with O_NDELAY (only set for block devices)
1980  否则mode与等于File is opened with O_NDELAY (only set for block devices) 的反
1983  返回:blkdev_ioctl(bdev, mode, cmd, arg)