• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <inttypes.h>
2 typedef uint32_t mpers_ptr_t;
3 typedef
4 struct {
5 uint64_t cmd;
6 uint64_t result;
7 union {
8 struct {
9 uint64_t srcdevid;
10 uint64_t cont_reading_from_srcdev_mode;
11 unsigned char srcdev_name[1025];
12 unsigned char tgtdev_name[1025];
13 unsigned char mpers_end_filler_1[2];
14 } ATTRIBUTE_PACKED start;
15 struct {
16 uint64_t replace_state;
17 uint64_t progress_1000;
18 uint64_t time_started;
19 uint64_t time_stopped;
20 uint64_t num_write_errors;
21 uint64_t num_uncorrectable_read_errors;
22 } ATTRIBUTE_PACKED status;
23 } ;
24 uint64_t spare[64];
25 } ATTRIBUTE_PACKED m32_struct_btrfs_ioctl_dev_replace_args;
26 #define MPERS_m32_struct_btrfs_ioctl_dev_replace_args m32_struct_btrfs_ioctl_dev_replace_args
27