aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ndctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/ndctl.h')
-rw-r--r--include/uapi/linux/ndctl.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/uapi/linux/ndctl.h b/include/uapi/linux/ndctl.h
index 5b4a4be06e2b..cc68b92124d4 100644
--- a/include/uapi/linux/ndctl.h
+++ b/include/uapi/linux/ndctl.h
@@ -66,14 +66,18 @@ struct nd_cmd_ars_cap {
66 __u64 length; 66 __u64 length;
67 __u32 status; 67 __u32 status;
68 __u32 max_ars_out; 68 __u32 max_ars_out;
69 __u32 clear_err_unit;
70 __u32 reserved;
69} __packed; 71} __packed;
70 72
71struct nd_cmd_ars_start { 73struct nd_cmd_ars_start {
72 __u64 address; 74 __u64 address;
73 __u64 length; 75 __u64 length;
74 __u16 type; 76 __u16 type;
75 __u8 reserved[6]; 77 __u8 flags;
78 __u8 reserved[5];
76 __u32 status; 79 __u32 status;
80 __u32 scrub_time;
77} __packed; 81} __packed;
78 82
79struct nd_cmd_ars_status { 83struct nd_cmd_ars_status {
@@ -81,11 +85,14 @@ struct nd_cmd_ars_status {
81 __u32 out_length; 85 __u32 out_length;
82 __u64 address; 86 __u64 address;
83 __u64 length; 87 __u64 length;
88 __u64 restart_address;
89 __u64 restart_length;
84 __u16 type; 90 __u16 type;
91 __u16 flags;
85 __u32 num_records; 92 __u32 num_records;
86 struct nd_ars_record { 93 struct nd_ars_record {
87 __u32 handle; 94 __u32 handle;
88 __u32 flags; 95 __u32 reserved;
89 __u64 err_address; 96 __u64 err_address;
90 __u64 length; 97 __u64 length;
91 } __packed records[0]; 98 } __packed records[0];