函数逻辑报告 |
Source Code:block\ioctl.c |
Create Date:2022-07-27 18:51:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blkdev_roset
函数原型:static int blkdev_roset(struct block_device *bdev, fmode_t mode, unsigned cmd, unsigned long arg)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
fmode_t | mode | |
unsigned | cmd | |
unsigned long | arg |
426 | 如果Careful: we have to cast the result to the type of the pointer* for sign reasons(n, (int__user * )arg)则返回:负EFAULT |
428 | set_device_ro(bdev, n) |
429 | 返回:0 |
名称 | 描述 |
---|---|
blkdev_ioctl | always keep this in sync with compat_blkdev_ioctl() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |