Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
1594a3f0
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1594a3f0
编写于
12月 20, 2006
作者:
J
Jens Axboe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bsg: use u32 etc instead of uint32_t
Signed-off-by:
N
Jens Axboe
<
jens.axboe@oracle.com
>
上级
10e8855b
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
29 addition
and
29 deletion
+29
-29
include/linux/bsg.h
include/linux/bsg.h
+29
-29
未找到文件。
include/linux/bsg.h
浏览文件 @
1594a3f0
...
...
@@ -2,42 +2,42 @@
#define BSG_H
struct
sg_io_v4
{
int32_t
guard
;
/* [i] 'Q' to differentiate from v3 */
u
int32_t
protocol
;
/* [i] 0 -> SCSI , .... */
u
int32_t
subprotocol
;
/* [i] 0 -> SCSI command, 1 -> SCSI task
s32
guard
;
/* [i] 'Q' to differentiate from v3 */
u
32
protocol
;
/* [i] 0 -> SCSI , .... */
u
32
subprotocol
;
/* [i] 0 -> SCSI command, 1 -> SCSI task
management function, .... */
u
int32_t
request_len
;
/* [i] in bytes */
u
int64_t
request
;
/* [i], [*i] {SCSI: cdb} */
u
int32_t
request_attr
;
/* [i] {SCSI: task attribute} */
u
int32_t
request_tag
;
/* [i] {SCSI: task tag (only if flagged)} */
u
int32_t
request_priority
;
/* [i] {SCSI: task priority} */
u
int32_t
max_response_len
;
/* [i] in bytes */
u
int64_t
response
;
/* [i], [*o] {SCSI: (auto)sense data} */
u
32
request_len
;
/* [i] in bytes */
u
64
request
;
/* [i], [*i] {SCSI: cdb} */
u
32
request_attr
;
/* [i] {SCSI: task attribute} */
u
32
request_tag
;
/* [i] {SCSI: task tag (only if flagged)} */
u
32
request_priority
;
/* [i] {SCSI: task priority} */
u
32
max_response_len
;
/* [i] in bytes */
u
64
response
;
/* [i], [*o] {SCSI: (auto)sense data} */
/* "din_" for data in (from device); "dout_" for data out (to device) */
u
int32_t
dout_xfer_len
;
/* [i] bytes to be transferred to device */
u
int32_t
din_xfer_len
;
/* [i] bytes to be transferred from device */
u
int64_t
dout_xferp
;
/* [i], [*i] */
u
int64_t
din_xferp
;
/* [i], [*o] */
u
32
dout_xfer_len
;
/* [i] bytes to be transferred to device */
u
32
din_xfer_len
;
/* [i] bytes to be transferred from device */
u
64
dout_xferp
;
/* [i], [*i] */
u
64
din_xferp
;
/* [i], [*o] */
u
int32_t
timeout
;
/* [i] units: millisecond */
u
int32_t
flags
;
/* [i] bit mask */
u
int64_t
usr_ptr
;
/* [i->o] unused internally */
u
int32_t
spare_in
;
/* [i] */
u
32
timeout
;
/* [i] units: millisecond */
u
32
flags
;
/* [i] bit mask */
u
64
usr_ptr
;
/* [i->o] unused internally */
u
32
spare_in
;
/* [i] */
u
int32_t
driver_status
;
/* [o] 0 -> ok */
u
int32_t
transport_status
;
/* [o] 0 -> ok */
u
int32_t
device_status
;
/* [o] {SCSI: command completion status} */
u
int32_t
retry_delay
;
/* [o] {SCSI: status auxiliary information} */
u
int32_t
info
;
/* [o] additional information */
u
int32_t
duration
;
/* [o] time to complete, in milliseconds */
u
int32_t
response_len
;
/* [o] bytes of response actually written */
int32_t
din_resid
;
/* [o] actual_din_xfer_len - din_xfer_len */
u
int32_t
generated_tag
;
/* [o] {SCSI: task tag that transport chose} */
u
int32_t
spare_out
;
/* [o] */
u
32
driver_status
;
/* [o] 0 -> ok */
u
32
transport_status
;
/* [o] 0 -> ok */
u
32
device_status
;
/* [o] {SCSI: command completion status} */
u
32
retry_delay
;
/* [o] {SCSI: status auxiliary information} */
u
32
info
;
/* [o] additional information */
u
32
duration
;
/* [o] time to complete, in milliseconds */
u
32
response_len
;
/* [o] bytes of response actually written */
s32
din_resid
;
/* [o] actual_din_xfer_len - din_xfer_len */
u
32
generated_tag
;
/* [o] {SCSI: task tag that transport chose} */
u
32
spare_out
;
/* [o] */
u
int32_t
padding
;
u
32
padding
;
};
#ifdef __KERNEL__
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录