| 1 | package btrfsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ |
| 2 | |
| 3 | import ( |
| 4 | "encoding/binaryscip-go gomod github.com/golang/go/src go1.12 `encoding/binary`/" |
| 5 | "encoding/hexscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/" |
| 6 | "github.com/dennwc/ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/" |
| 7 | "osscip-go gomod github.com/golang/go/src go1.12 os/" |
| 8 | "strconvscip-go gomod github.com/golang/go/src go1.12 strconv/" |
| 9 | "stringsscip-go gomod github.com/golang/go/src go1.12 strings/" |
| 10 | "unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/" |
| 11 | ) |
| 12 | |
| 13 | var orderscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/order. = binaryscip-go gomod github.com/golang/go/src go1.12 `encoding/binary`/.LittleEndianscip-go gomod github.com/golang/go/src go1.12 `encoding/binary`/LittleEndian. |
| 14 | |
| 15 | const ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic. = 0x94 |
| 16 | |
| 17 | const devicePathNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devicePathNameMax. = 1024 |
| 18 | |
| 19 | const ( |
| 20 | FSIDSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FSIDSize. = 16 |
| 21 | UUIDSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUIDSize. = 16 |
| 22 | ) |
| 23 | |
| 24 | var zeroUUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/zeroUUID. UUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID# |
| 25 | |
| 26 | type UUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID# [UUIDSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUIDSize.]byte |
| 27 | |
| 28 | func (id UUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID#) IsZeroscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID#IsZero().() bool { return id == zeroUUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/zeroUUID. } |
| 29 | func (id UUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID#) Stringscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID#String().() string { |
| 30 | if id.IsZeroscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID#IsZero().() { |
| 31 | return "<zero>" |
| 32 | } |
| 33 | buf := make([]byte, UUIDSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUIDSize.*2+4) |
| 34 | i := 0 |
| 35 | i += hexscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/.Encodescip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/Encode().(buf[i:], id[:4]) |
| 36 | buf[i] = '-' |
| 37 | i++ |
| 38 | i += hexscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/.Encodescip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/Encode().(buf[i:], id[4:6]) |
| 39 | buf[i] = '-' |
| 40 | i++ |
| 41 | i += hexscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/.Encodescip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/Encode().(buf[i:], id[6:8]) |
| 42 | buf[i] = '-' |
| 43 | i++ |
| 44 | i += hexscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/.Encodescip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/Encode().(buf[i:], id[8:10]) |
| 45 | buf[i] = '-' |
| 46 | i++ |
| 47 | i += hexscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/.Encodescip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/Encode().(buf[i:], id[10:]) |
| 48 | return string(buf) |
| 49 | } |
| 50 | |
| 51 | type FSIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FSID# [FSIDSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FSIDSize.]byte |
| 52 | |
| 53 | func (id FSIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FSID#) Stringscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FSID#String().() string { return hexscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/.EncodeToStringscip-go gomod github.com/golang/go/src go1.12 `encoding/hex`/EncodeToString().(id[:]) } |
| 54 | |
| 55 | const volNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/volNameMax. = 4087 |
| 56 | |
| 57 | // this should be 4k |
| 58 | type btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args# struct { |
| 59 | fdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#fd. int64 |
| 60 | namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#name. [volNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/volNameMax. + 1]byte |
| 61 | } |
| 62 | |
| 63 | func (arg *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) SetNamescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#SetName().(name string) { |
| 64 | n := copy(arg.namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#name.[:], name) |
| 65 | arg.namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#name.[n] = 0 |
| 66 | } |
| 67 | |
| 68 | type btrfs_qgroup_limitscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit# struct { |
| 69 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit#flags. uint64 |
| 70 | max_referencedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit#max_referenced. uint64 |
| 71 | max_exclusivescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit#max_exclusive. uint64 |
| 72 | rsv_referencedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit#rsv_referenced. uint64 |
| 73 | rsv_exclusivescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit#rsv_exclusive. uint64 |
| 74 | } |
| 75 | |
| 76 | type btrfs_qgroup_inheritscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_inherit# struct { |
| 77 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_inherit#flags. uint64 |
| 78 | num_qgroupsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_inherit#num_qgroups. uint64 |
| 79 | num_ref_copiesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_inherit#num_ref_copies. uint64 |
| 80 | num_excl_copiesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_inherit#num_excl_copies. uint64 |
| 81 | limscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_inherit#lim. btrfs_qgroup_limitscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit# |
| 82 | //qgroups [0]uint64 |
| 83 | } |
| 84 | |
| 85 | type btrfs_ioctl_qgroup_limit_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_limit_args# struct { |
| 86 | qgroupidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_limit_args#qgroupid. uint64 |
| 87 | limscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_limit_args#lim. btrfs_qgroup_limitscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_limit# |
| 88 | } |
| 89 | |
| 90 | type btrfs_ioctl_vol_args_v2_u1scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2_u1# struct { |
| 91 | sizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2_u1#size. uint64 |
| 92 | qgroup_inheritscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2_u1#qgroup_inherit. *btrfs_qgroup_inheritscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_qgroup_inherit# |
| 93 | } |
| 94 | |
| 95 | const subvolNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/subvolNameMax. = 4039 |
| 96 | |
| 97 | type SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags# uint64 |
| 98 | |
| 99 | func (f SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#) ReadOnlyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#ReadOnly().() bool { |
| 100 | return f&SubvolReadOnlyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolReadOnly. != 0 |
| 101 | } |
| 102 | func (f SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#) Stringscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#String().() string { |
| 103 | if f == 0 { |
| 104 | return "<nil>" |
| 105 | } |
| 106 | var out []string |
| 107 | if f&SubvolReadOnlyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolReadOnly. != 0 { |
| 108 | out = append(out, "RO") |
| 109 | f = f & (^SubvolReadOnlyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolReadOnly.) |
| 110 | } |
| 111 | if f != 0 { |
| 112 | out = append(out, "0x"+strconvscip-go gomod github.com/golang/go/src go1.12 strconv/.FormatIntscip-go gomod github.com/golang/go/src go1.12 strconv/FormatInt().(int64(f), 16)) |
| 113 | } |
| 114 | return stringsscip-go gomod github.com/golang/go/src go1.12 strings/.Joinscip-go gomod github.com/golang/go/src go1.12 strings/Join().(out, "|") |
| 115 | } |
| 116 | |
| 117 | // flags for subvolumes |
| 118 | // |
| 119 | // Used by: |
| 120 | // struct btrfs_ioctl_vol_args_v2.flags |
| 121 | // |
| 122 | // BTRFS_SUBVOL_RDONLY is also provided/consumed by the following ioctls: |
| 123 | // - BTRFS_IOC_SUBVOL_GETFLAGS |
| 124 | // - BTRFS_IOC_SUBVOL_SETFLAGS |
| 125 | const ( |
| 126 | subvolCreateAsyncscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/subvolCreateAsync. = SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#(1 << 0) |
| 127 | SubvolReadOnlyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolReadOnly. = SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#(1 << 1) |
| 128 | subvolQGroupInheritscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/subvolQGroupInherit. = SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#(1 << 2) |
| 129 | ) |
| 130 | |
| 131 | type btrfs_ioctl_vol_args_v2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2# struct { |
| 132 | fdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#fd. int64 |
| 133 | transidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#transid. uint64 |
| 134 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#flags. SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags# |
| 135 | btrfs_ioctl_vol_args_v2_u1scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#btrfs_ioctl_vol_args_v2_u1. |
| 136 | unusedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#unused. [2]uint64 |
| 137 | namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#name. [subvolNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/subvolNameMax. + 1]byte |
| 138 | } |
| 139 | |
| 140 | // structure to report errors and progress to userspace, either as a |
| 141 | // result of a finished scrub, a canceled scrub or a progress inquiry |
| 142 | type btrfs_scrub_progressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress# struct { |
| 143 | data_extents_scrubbedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#data_extents_scrubbed. uint64 // # of data extents scrubbed |
| 144 | tree_extents_scrubbedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#tree_extents_scrubbed. uint64 // # of tree extents scrubbed |
| 145 | data_bytes_scrubbedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#data_bytes_scrubbed. uint64 // # of data bytes scrubbed |
| 146 | tree_bytes_scrubbedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#tree_bytes_scrubbed. uint64 // # of tree bytes scrubbed |
| 147 | read_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#read_errors. uint64 // # of read errors encountered (EIO) |
| 148 | csum_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#csum_errors. uint64 // # of failed csum checks |
| 149 | // # of occurences, where the metadata of a tree block did not match the expected values, like generation or logical |
| 150 | verify_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#verify_errors. uint64 |
| 151 | // # of 4k data block for which no csum is present, probably the result of data written with nodatasum |
| 152 | no_csumscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#no_csum. uint64 |
| 153 | csum_discardsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#csum_discards. uint64 // # of csum for which no data was found in the extent tree. |
| 154 | super_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#super_errors. uint64 // # of bad super blocks encountered |
| 155 | malloc_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#malloc_errors. uint64 // # of internal kmalloc errors. These will likely cause an incomplete scrub |
| 156 | uncorrectable_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#uncorrectable_errors. uint64 // # of errors where either no intact copy was found or the writeback failed |
| 157 | corrected_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#corrected_errors. uint64 // # of errors corrected |
| 158 | // last physical address scrubbed. In case a scrub was aborted, this can be used to restart the scrub |
| 159 | last_physicalscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#last_physical. uint64 |
| 160 | // # of occurences where a read for a full (64k) bio failed, but the re- |
| 161 | // check succeeded for each 4k piece. Intermittent error. |
| 162 | unverified_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#unverified_errors. uint64 |
| 163 | } |
| 164 | |
| 165 | type btrfs_ioctl_scrub_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args# struct { |
| 166 | devidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#devid. uint64 // in |
| 167 | startscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#start. uint64 // in |
| 168 | endscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#end. uint64 // in |
| 169 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#flags. uint64 // in |
| 170 | progressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#progress. btrfs_scrub_progressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress# // out |
| 171 | // pad to 1k |
| 172 | _ [1024 - 4*8 - unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_scrub_progressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_scrub_progress#{})]byte |
| 173 | } |
| 174 | |
| 175 | type contReadingFromSrcdevModescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/contReadingFromSrcdevMode# uint64 |
| 176 | |
| 177 | const ( |
| 178 | _BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_ALWAYSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_ALWAYS. contReadingFromSrcdevModescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/contReadingFromSrcdevMode# = 0 |
| 179 | _BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOID. contReadingFromSrcdevModescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/contReadingFromSrcdevMode# = 1 |
| 180 | ) |
| 181 | |
| 182 | type btrfs_ioctl_dev_replace_start_paramsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_start_params# struct { |
| 183 | srcdevidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_start_params#srcdevid. uint64 // in, if 0, use srcdev_name instead |
| 184 | cont_reading_from_srcdev_modescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_start_params#cont_reading_from_srcdev_mode. contReadingFromSrcdevModescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/contReadingFromSrcdevMode# // in |
| 185 | srcdev_namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_start_params#srcdev_name. [devicePathNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devicePathNameMax. + 1]byte // in |
| 186 | tgtdev_namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_start_params#tgtdev_name. [devicePathNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devicePathNameMax. + 1]byte // in |
| 187 | } |
| 188 | |
| 189 | type devReplaceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devReplaceState# uint64 |
| 190 | |
| 191 | const ( |
| 192 | _BTRFS_IOCTL_DEV_REPLACE_STATE_NEVER_STARTEDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOCTL_DEV_REPLACE_STATE_NEVER_STARTED. devReplaceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devReplaceState# = 0 |
| 193 | _BTRFS_IOCTL_DEV_REPLACE_STATE_STARTEDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOCTL_DEV_REPLACE_STATE_STARTED. devReplaceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devReplaceState# = 1 |
| 194 | _BTRFS_IOCTL_DEV_REPLACE_STATE_FINISHEDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOCTL_DEV_REPLACE_STATE_FINISHED. devReplaceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devReplaceState# = 2 |
| 195 | _BTRFS_IOCTL_DEV_REPLACE_STATE_CANCELEDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOCTL_DEV_REPLACE_STATE_CANCELED. devReplaceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devReplaceState# = 3 |
| 196 | _BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDEDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED. devReplaceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devReplaceState# = 4 |
| 197 | ) |
| 198 | |
| 199 | type btrfs_ioctl_dev_replace_status_paramsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params# struct { |
| 200 | replace_statescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params#replace_state. devReplaceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devReplaceState# // out |
| 201 | progress_1000scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params#progress_1000. uint64 // out, 0 <= x <= 1000 |
| 202 | time_startedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params#time_started. uint64 // out, seconds since 1-Jan-1970 |
| 203 | time_stoppedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params#time_stopped. uint64 // out, seconds since 1-Jan-1970 |
| 204 | num_write_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params#num_write_errors. uint64 // out |
| 205 | num_uncorrectable_read_errorsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params#num_uncorrectable_read_errors. uint64 // out |
| 206 | } |
| 207 | |
| 208 | type btrfs_ioctl_dev_replace_args_u1scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u1# struct { |
| 209 | cmdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u1#cmd. uint64 // in |
| 210 | resultscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u1#result. uint64 // out |
| 211 | startscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u1#start. btrfs_ioctl_dev_replace_start_paramsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_start_params# // in |
| 212 | sparescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u1#spare. [64]uint64 |
| 213 | } |
| 214 | |
| 215 | type btrfs_ioctl_dev_replace_args_u2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u2# struct { |
| 216 | cmdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u2#cmd. uint64 // in |
| 217 | resultscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u2#result. uint64 // out |
| 218 | statusscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u2#status. btrfs_ioctl_dev_replace_status_paramsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params# // out |
| 219 | _ [unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_dev_replace_start_paramsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_start_params#{}) - unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_dev_replace_status_paramsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_status_params#{})]byte |
| 220 | sparescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u2#spare. [64]uint64 |
| 221 | } |
| 222 | |
| 223 | type btrfs_ioctl_dev_info_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args# struct { |
| 224 | devidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#devid. uint64 // in/out |
| 225 | uuidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#uuid. UUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID# // in/out |
| 226 | bytes_usedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#bytes_used. uint64 // out |
| 227 | total_bytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#total_bytes. uint64 // out |
| 228 | _ [379]uint64 // pad to 4k |
| 229 | pathscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#path. [devicePathNameMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/devicePathNameMax.]byte // out |
| 230 | } |
| 231 | |
| 232 | type btrfs_ioctl_fs_info_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args# struct { |
| 233 | max_idscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#max_id. uint64 // out |
| 234 | num_devicesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#num_devices. uint64 // out |
| 235 | fsidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#fsid. FSIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FSID# // out |
| 236 | nodesizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#nodesize. uint32 // out |
| 237 | sectorsizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#sectorsize. uint32 // out |
| 238 | clone_alignmentscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#clone_alignment. uint32 // out |
| 239 | _ [122*8 + 4]byte // pad to 1k |
| 240 | } |
| 241 | |
| 242 | type btrfs_ioctl_feature_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags# struct { |
| 243 | compat_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags#compat_flags. FeatureFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FeatureFlags# |
| 244 | compat_ro_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags#compat_ro_flags. FeatureFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/FeatureFlags# |
| 245 | incompat_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags#incompat_flags. IncompatFeaturesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/IncompatFeatures# |
| 246 | } |
| 247 | |
| 248 | type argRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/argRange# [8]byte |
| 249 | |
| 250 | func (u argRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/argRange#) asNscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/argRange#asN().() uint64 { |
| 251 | return orderscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/order..Uint64scip-go gomod github.com/golang/go/src go1.12 `encoding/binary`/littleEndian#Uint64().(u[:]) |
| 252 | } |
| 253 | func (u argRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/argRange#) asMinMaxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/argRange#asMinMax().() (min, max uint32) { |
| 254 | return orderscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/order..Uint32scip-go gomod github.com/golang/go/src go1.12 `encoding/binary`/littleEndian#Uint32().(u[:4]), orderscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/order..Uint32scip-go gomod github.com/golang/go/src go1.12 `encoding/binary`/littleEndian#Uint32().(u[4:]) |
| 255 | } |
| 256 | |
| 257 | // balance control ioctl modes |
| 258 | //#define BTRFS_BALANCE_CTL_PAUSE 1 |
| 259 | //#define BTRFS_BALANCE_CTL_CANCEL 2 |
| 260 | //#define BTRFS_BALANCE_CTL_RESUME 3 |
| 261 | |
| 262 | // this is packed, because it should be exactly the same as its disk |
| 263 | // byte order counterpart (struct btrfs_disk_balance_args) |
| 264 | type btrfs_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args# struct { |
| 265 | profilesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#profiles. uint64 |
| 266 | // usage filter |
| 267 | // BTRFS_BALANCE_ARGS_USAGE with a single value means '0..N' |
| 268 | // BTRFS_BALANCE_ARGS_USAGE_RANGE - range syntax, min..max |
| 269 | usagescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#usage. argRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/argRange# |
| 270 | devidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#devid. uint64 |
| 271 | pstartscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#pstart. uint64 |
| 272 | pendscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#pend. uint64 |
| 273 | vstartscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#vstart. uint64 |
| 274 | vendscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#vend. uint64 |
| 275 | targetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#target. uint64 |
| 276 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#flags. uint64 |
| 277 | // BTRFS_BALANCE_ARGS_LIMIT with value 'limit' (limit number of processed chunks) |
| 278 | // BTRFS_BALANCE_ARGS_LIMIT_RANGE - the extend version can use minimum and maximum |
| 279 | limitscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#limit. argRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/argRange# |
| 280 | stripes_minscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#stripes_min. uint32 |
| 281 | stripes_maxscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args#stripes_max. uint32 |
| 282 | _ [48]byte |
| 283 | } |
| 284 | |
| 285 | // Report balance progress to userspace. |
| 286 | // |
| 287 | // btrfs_balance_progress |
| 288 | type BalanceProgressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceProgress# struct { |
| 289 | Expectedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceProgress#Expected. uint64 // estimated # of chunks that will be relocated to fulfill the request |
| 290 | Consideredscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceProgress#Considered. uint64 // # of chunks we have considered so far |
| 291 | Completedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceProgress#Completed. uint64 // # of chunks relocated so far |
| 292 | } |
| 293 | |
| 294 | type BalanceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceState# uint64 |
| 295 | |
| 296 | const ( |
| 297 | BalanceStateRunningscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceStateRunning. BalanceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceState# = (1 << 0) |
| 298 | BalanceStatePauseReqscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceStatePauseReq. BalanceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceState# = (1 << 1) |
| 299 | BalanceStateCancelReqscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceStateCancelReq. BalanceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceState# = (1 << 2) |
| 300 | ) |
| 301 | |
| 302 | type btrfs_ioctl_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args# struct { |
| 303 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#flags. BalanceFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceFlags# // in/out |
| 304 | statescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#state. BalanceStatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceState# // out |
| 305 | datascip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#data. btrfs_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args# // in/out |
| 306 | metascip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#meta. btrfs_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args# // in/out |
| 307 | sysscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#sys. btrfs_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_balance_args# // in/out |
| 308 | statscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#stat. BalanceProgressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/BalanceProgress# // out |
| 309 | _ [72 * 8]byte // pad to 1k |
| 310 | } |
| 311 | |
| 312 | const _BTRFS_INO_LOOKUP_PATH_MAXscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_INO_LOOKUP_PATH_MAX. = 4080 |
| 313 | |
| 314 | type btrfs_ioctl_ino_lookup_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args# struct { |
| 315 | treeidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#treeid. objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# |
| 316 | objectidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#objectid. objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# |
| 317 | namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#name. [_BTRFS_INO_LOOKUP_PATH_MAXscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_INO_LOOKUP_PATH_MAX.]byte |
| 318 | } |
| 319 | |
| 320 | func (arg *btrfs_ioctl_ino_lookup_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#) Namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#Name().() string { |
| 321 | n := 0 |
| 322 | for i, b := range arg.namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#name. { |
| 323 | if b == '\x00' { |
| 324 | n = i |
| 325 | break |
| 326 | } |
| 327 | } |
| 328 | return string(arg.namescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#name.[:n]) |
| 329 | } |
| 330 | |
| 331 | type btrfs_ioctl_search_keyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key# struct { |
| 332 | tree_idscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#tree_id. objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# // which root are we searching. 0 is the tree of tree roots |
| 333 | // keys returned will be >= min and <= max |
| 334 | min_objectidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#min_objectid. objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# |
| 335 | max_objectidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#max_objectid. objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# |
| 336 | // keys returned will be >= min and <= max |
| 337 | min_offsetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#min_offset. uint64 |
| 338 | max_offsetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#max_offset. uint64 |
| 339 | // max and min transids to search for |
| 340 | min_transidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#min_transid. uint64 |
| 341 | max_transidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#max_transid. uint64 |
| 342 | // keys returned will be >= min and <= max |
| 343 | min_typescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#min_type. treeKeyTypescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/treeKeyType# |
| 344 | max_typescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#max_type. treeKeyTypescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/treeKeyType# |
| 345 | // how many items did userland ask for, and how many are we returning |
| 346 | nr_itemsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#nr_items. uint32 |
| 347 | _ [36]byte |
| 348 | } |
| 349 | |
| 350 | type btrfs_ioctl_search_headerscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_header# struct { |
| 351 | transidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_header#transid. uint64 |
| 352 | objectidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_header#objectid. objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# |
| 353 | offsetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_header#offset. uint64 |
| 354 | typscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_header#typ. treeKeyTypescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/treeKeyType# |
| 355 | lenscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_header#len. uint32 |
| 356 | } |
| 357 | |
| 358 | const _BTRFS_SEARCH_ARGS_BUFSIZEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEARCH_ARGS_BUFSIZE. = (4096 - unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_search_keyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key#{})) |
| 359 | |
| 360 | // the buf is an array of search headers where |
| 361 | // each header is followed by the actual item |
| 362 | // the type field is expanded to 32 bits for alignment |
| 363 | type btrfs_ioctl_search_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args# struct { |
| 364 | keyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args#key. btrfs_ioctl_search_keyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key# |
| 365 | bufscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args#buf. [_BTRFS_SEARCH_ARGS_BUFSIZEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEARCH_ARGS_BUFSIZE.]byte |
| 366 | } |
| 367 | |
| 368 | // Extended version of TREE_SEARCH ioctl that can return more than 4k of bytes. |
| 369 | // The allocated size of the buffer is set in buf_size. |
| 370 | type btrfs_ioctl_search_args_v2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args_v2# struct { |
| 371 | keyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args_v2#key. btrfs_ioctl_search_keyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_key# // in/out - search parameters |
| 372 | buf_sizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args_v2#buf_size. uint64 // in - size of buffer; out - on EOVERFLOW: needed size to store item |
| 373 | //buf [0]uint64 // out - found items |
| 374 | } |
| 375 | |
| 376 | // With a @src_length of zero, the range from @src_offset->EOF is cloned! |
| 377 | type btrfs_ioctl_clone_range_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_clone_range_args# struct { |
| 378 | src_fdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_clone_range_args#src_fd. int64 |
| 379 | src_offsetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_clone_range_args#src_offset. uint64 |
| 380 | src_lengthscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_clone_range_args#src_length. uint64 |
| 381 | dest_offsetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_clone_range_args#dest_offset. uint64 |
| 382 | } |
| 383 | |
| 384 | // flags for the defrag range ioctl |
| 385 | type defragRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/defragRange# uint64 |
| 386 | |
| 387 | const ( |
| 388 | _BTRFS_DEFRAG_RANGE_COMPRESSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEFRAG_RANGE_COMPRESS. defragRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/defragRange# = 1 |
| 389 | _BTRFS_DEFRAG_RANGE_START_IOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEFRAG_RANGE_START_IO. defragRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/defragRange# = 2 |
| 390 | ) |
| 391 | |
| 392 | const _BTRFS_SAME_DATA_DIFFERSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SAME_DATA_DIFFERS. = 1 |
| 393 | |
| 394 | // For extent-same ioctl |
| 395 | type btrfs_ioctl_same_extent_infoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_extent_info# struct { |
| 396 | fdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_extent_info#fd. int64 // in - destination file |
| 397 | logical_offsetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_extent_info#logical_offset. uint64 // in - start of extent in destination |
| 398 | bytes_dedupedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_extent_info#bytes_deduped. uint64 // out - total # of bytes we were able to dedupe from this file |
| 399 | // out; status of this dedupe operation: |
| 400 | // 0 if dedup succeeds |
| 401 | // < 0 for error |
| 402 | // == BTRFS_SAME_DATA_DIFFERS if data differs |
| 403 | statusscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_extent_info#status. int32 |
| 404 | reservedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_extent_info#reserved. uint32 |
| 405 | } |
| 406 | |
| 407 | type btrfs_ioctl_same_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_args# struct { |
| 408 | logical_offsetscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_args#logical_offset. uint64 // in - start of extent in source |
| 409 | lengthscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_args#length. uint64 // in - length of extent |
| 410 | dest_countscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_args#dest_count. uint16 // in - total elements in info array |
| 411 | _ [6]byte |
| 412 | //info [0]btrfs_ioctl_same_extent_info |
| 413 | } |
| 414 | |
| 415 | type btrfs_ioctl_defrag_range_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args# struct { |
| 416 | startscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args#start. uint64 // start of the defrag operation |
| 417 | lenscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args#len. uint64 // number of bytes to defrag, use (u64)-1 to say all |
| 418 | // flags for the operation, which can include turning |
| 419 | // on compression for this one defrag |
| 420 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args#flags. uint64 |
| 421 | // any extent bigger than this will be considered |
| 422 | // already defragged. Use 0 to take the kernel default |
| 423 | // Use 1 to say every single extent must be rewritten |
| 424 | extent_threshscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args#extent_thresh. uint32 |
| 425 | // which compression method to use if turning on compression |
| 426 | // for this defrag operation. If unspecified, zlib will be used |
| 427 | compress_typescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args#compress_type. uint32 |
| 428 | _ [16]byte // spare for later |
| 429 | } |
| 430 | |
| 431 | type btrfs_ioctl_space_infoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info# struct { |
| 432 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#flags. uint64 |
| 433 | total_bytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#total_bytes. uint64 |
| 434 | used_bytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#used_bytes. uint64 |
| 435 | } |
| 436 | |
| 437 | type btrfs_ioctl_space_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args# struct { |
| 438 | space_slotsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#space_slots. uint64 |
| 439 | total_spacesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#total_spaces. uint64 |
| 440 | //spaces [0]btrfs_ioctl_space_info |
| 441 | } |
| 442 | |
| 443 | type btrfs_data_containerscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_data_container# struct { |
| 444 | bytes_leftscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_data_container#bytes_left. uint32 // out -- bytes not needed to deliver output |
| 445 | bytes_missingscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_data_container#bytes_missing. uint32 // out -- additional bytes needed for result |
| 446 | elem_cntscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_data_container#elem_cnt. uint32 // out |
| 447 | elem_missedscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_data_container#elem_missed. uint32 // out |
| 448 | //val [0]uint64 |
| 449 | } |
| 450 | |
| 451 | type btrfs_ioctl_ino_path_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args# struct { |
| 452 | inumscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args#inum. uint64 // in |
| 453 | sizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args#size. uint64 // in |
| 454 | _ [32]byte |
| 455 | // struct btrfs_data_container *fspath; out |
| 456 | fspathscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args#fspath. uint64 // out |
| 457 | } |
| 458 | |
| 459 | type btrfs_ioctl_logical_ino_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_logical_ino_args# struct { |
| 460 | logicalscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_logical_ino_args#logical. uint64 // in |
| 461 | sizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_logical_ino_args#size. uint64 // in |
| 462 | _ [32]byte |
| 463 | // struct btrfs_data_container *inodes; out |
| 464 | inodesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_logical_ino_args#inodes. uint64 |
| 465 | } |
| 466 | |
| 467 | // disk I/O failure stats |
| 468 | const ( |
| 469 | _BTRFS_DEV_STAT_WRITE_ERRSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_WRITE_ERRS. = iota // EIO or EREMOTEIO from lower layers |
| 470 | _BTRFS_DEV_STAT_READ_ERRSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_READ_ERRS. // EIO or EREMOTEIO from lower layers |
| 471 | _BTRFS_DEV_STAT_FLUSH_ERRSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_FLUSH_ERRS. // EIO or EREMOTEIO from lower layers |
| 472 | |
| 473 | // stats for indirect indications for I/O failures |
| 474 | |
| 475 | // checksum error, bytenr error or contents is illegal: this is an |
| 476 | // indication that the block was damaged during read or write, or written to |
| 477 | // wrong location or read from wrong location |
| 478 | _BTRFS_DEV_STAT_CORRUPTION_ERRSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_CORRUPTION_ERRS. |
| 479 | _BTRFS_DEV_STAT_GENERATION_ERRSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_GENERATION_ERRS. // an indication that blocks have not been written |
| 480 | |
| 481 | _BTRFS_DEV_STAT_VALUES_MAXscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_VALUES_MAX. |
| 482 | ) |
| 483 | |
| 484 | // Reset statistics after reading; needs SYS_ADMIN capability |
| 485 | const _BTRFS_DEV_STATS_RESETscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STATS_RESET. = (1 << 0) |
| 486 | |
| 487 | type btrfs_ioctl_get_dev_statsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_get_dev_stats# struct { |
| 488 | devidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_get_dev_stats#devid. uint64 // in |
| 489 | nr_itemsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_get_dev_stats#nr_items. uint64 // in/out |
| 490 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_get_dev_stats#flags. uint64 // in/out |
| 491 | valuesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_get_dev_stats#values. [_BTRFS_DEV_STAT_VALUES_MAXscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_VALUES_MAX.]uint64 // out values |
| 492 | _ [128 - 2 - _BTRFS_DEV_STAT_VALUES_MAXscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_DEV_STAT_VALUES_MAX.]uint64 // pad to 1k |
| 493 | } |
| 494 | |
| 495 | const ( |
| 496 | _BTRFS_QUOTA_CTL_ENABLEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_QUOTA_CTL_ENABLE. = 1 |
| 497 | _BTRFS_QUOTA_CTL_DISABLEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_QUOTA_CTL_DISABLE. = 2 |
| 498 | // 3 has formerly been reserved for BTRFS_QUOTA_CTL_RESCAN |
| 499 | ) |
| 500 | |
| 501 | type btrfs_ioctl_quota_ctl_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_ctl_args# struct { |
| 502 | cmdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_ctl_args#cmd. uint64 |
| 503 | statusscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_ctl_args#status. uint64 |
| 504 | } |
| 505 | |
| 506 | type btrfs_ioctl_quota_rescan_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_rescan_args# struct { |
| 507 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_rescan_args#flags. uint64 |
| 508 | progressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_rescan_args#progress. uint64 |
| 509 | _ [6]uint64 |
| 510 | } |
| 511 | |
| 512 | type btrfs_ioctl_qgroup_assign_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_assign_args# struct { |
| 513 | assignscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_assign_args#assign. uint64 |
| 514 | srcscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_assign_args#src. uint64 |
| 515 | dstscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_assign_args#dst. uint64 |
| 516 | } |
| 517 | |
| 518 | type btrfs_ioctl_qgroup_create_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_create_args# struct { |
| 519 | createscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_create_args#create. uint64 |
| 520 | qgroupidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_create_args#qgroupid. uint64 |
| 521 | } |
| 522 | |
| 523 | type btrfs_ioctl_timespecscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_timespec# struct { |
| 524 | secscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_timespec#sec. uint64 |
| 525 | nsecscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_timespec#nsec. uint32 |
| 526 | } |
| 527 | |
| 528 | type btrfs_ioctl_received_subvol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args# struct { |
| 529 | uuidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#uuid. UUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID# // in |
| 530 | stransidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#stransid. uint64 // in |
| 531 | rtransidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#rtransid. uint64 // out |
| 532 | stimescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#stime. btrfs_ioctl_timespecscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_timespec# // in |
| 533 | rtimescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#rtime. btrfs_ioctl_timespecscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_timespec# // out |
| 534 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#flags. uint64 // in |
| 535 | _ [16]uint64 // in |
| 536 | } |
| 537 | |
| 538 | const ( |
| 539 | // Caller doesn't want file data in the send stream, even if the |
| 540 | // search of clone sources doesn't find an extent. UPDATE_EXTENT |
| 541 | // commands will be sent instead of WRITE commands. |
| 542 | _BTRFS_SEND_FLAG_NO_FILE_DATAscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEND_FLAG_NO_FILE_DATA. = 0x1 |
| 543 | // Do not add the leading stream header. Used when multiple snapshots |
| 544 | // are sent back to back. |
| 545 | _BTRFS_SEND_FLAG_OMIT_STREAM_HEADERscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEND_FLAG_OMIT_STREAM_HEADER. = 0x2 |
| 546 | // Omit the command at the end of the stream that indicated the end |
| 547 | // of the stream. This option is used when multiple snapshots are |
| 548 | // sent back to back. |
| 549 | _BTRFS_SEND_FLAG_OMIT_END_CMDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEND_FLAG_OMIT_END_CMD. = 0x4 |
| 550 | |
| 551 | _BTRFS_SEND_FLAG_MASKscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEND_FLAG_MASK. = _BTRFS_SEND_FLAG_NO_FILE_DATAscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEND_FLAG_NO_FILE_DATA. | |
| 552 | _BTRFS_SEND_FLAG_OMIT_STREAM_HEADERscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEND_FLAG_OMIT_STREAM_HEADER. | |
| 553 | _BTRFS_SEND_FLAG_OMIT_END_CMDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_SEND_FLAG_OMIT_END_CMD. |
| 554 | ) |
| 555 | |
| 556 | type btrfs_ioctl_send_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args# struct { |
| 557 | send_fdscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args#send_fd. int64 // in |
| 558 | clone_sources_countscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args#clone_sources_count. uint64 // in |
| 559 | clone_sourcesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args#clone_sources. *objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# // in |
| 560 | parent_rootscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args#parent_root. objectIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/objectID# // in |
| 561 | flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args#flags. uint64 // in |
| 562 | _ [4]uint64 // in |
| 563 | } |
| 564 | |
| 565 | var ( |
| 566 | _BTRFS_IOC_SNAP_CREATEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SNAP_CREATE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 1, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 567 | _BTRFS_IOC_DEFRAGscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEFRAG. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 2, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 568 | _BTRFS_IOC_RESIZEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_RESIZE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 3, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 569 | _BTRFS_IOC_SCAN_DEVscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCAN_DEV. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 4, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 570 | _BTRFS_IOC_TRANS_STARTscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_TRANS_START. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IO().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 6) |
| 571 | _BTRFS_IOC_TRANS_ENDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_TRANS_END. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IO().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 7) |
| 572 | _BTRFS_IOC_SYNCscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SYNC. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IO().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 8) |
| 573 | _BTRFS_IOC_CLONEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_CLONE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 9, 4) // int32 |
| 574 | _BTRFS_IOC_ADD_DEVscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_ADD_DEV. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 10, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 575 | _BTRFS_IOC_RM_DEVscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_RM_DEV. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 11, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 576 | _BTRFS_IOC_BALANCEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 12, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 577 | _BTRFS_IOC_CLONE_RANGEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_CLONE_RANGE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 13, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_clone_range_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_clone_range_args#{})) |
| 578 | _BTRFS_IOC_SUBVOL_CREATEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_CREATE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 14, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 579 | _BTRFS_IOC_SNAP_DESTROYscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SNAP_DESTROY. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 15, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 580 | _BTRFS_IOC_DEFRAG_RANGEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEFRAG_RANGE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 16, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_defrag_range_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args#{})) |
| 581 | _BTRFS_IOC_TREE_SEARCHscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_TREE_SEARCH. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 17, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_search_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args#{})) |
| 582 | _BTRFS_IOC_INO_LOOKUPscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_INO_LOOKUP. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 18, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_ino_lookup_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#{})) |
| 583 | _BTRFS_IOC_DEFAULT_SUBVOLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEFAULT_SUBVOL. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 19, 8) // uint64 |
| 584 | _BTRFS_IOC_SPACE_INFOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SPACE_INFO. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 20, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_space_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#{})) |
| 585 | _BTRFS_IOC_START_SYNCscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_START_SYNC. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 24, 8) // uint64 |
| 586 | _BTRFS_IOC_WAIT_SYNCscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_WAIT_SYNC. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 22, 8) // uint64 |
| 587 | _BTRFS_IOC_SNAP_CREATE_V2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SNAP_CREATE_V2. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 23, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_args_v2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#{})) |
| 588 | _BTRFS_IOC_SUBVOL_CREATE_V2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_CREATE_V2. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 24, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_args_v2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#{})) |
| 589 | _BTRFS_IOC_SUBVOL_GETFLAGSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_GETFLAGS. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 25, 8) // uint64 |
| 590 | _BTRFS_IOC_SUBVOL_SETFLAGSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_SETFLAGS. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 26, 8) // uint64 |
| 591 | _BTRFS_IOC_SCRUBscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCRUB. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 27, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_scrub_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#{})) |
| 592 | _BTRFS_IOC_SCRUB_CANCELscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCRUB_CANCEL. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IO().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 28) |
| 593 | _BTRFS_IOC_SCRUB_PROGRESSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCRUB_PROGRESS. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 29, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_scrub_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#{})) |
| 594 | _BTRFS_IOC_DEV_INFOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEV_INFO. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 30, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_dev_info_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#{})) |
| 595 | _BTRFS_IOC_FS_INFOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_FS_INFO. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 31, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_fs_info_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#{})) |
| 596 | _BTRFS_IOC_BALANCE_V2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE_V2. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 32, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#{})) |
| 597 | _BTRFS_IOC_BALANCE_CTLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE_CTL. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 33, 4) // int32 |
| 598 | _BTRFS_IOC_BALANCE_PROGRESSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE_PROGRESS. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 34, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#{})) |
| 599 | _BTRFS_IOC_INO_PATHSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_INO_PATHS. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 35, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_ino_path_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args#{})) |
| 600 | _BTRFS_IOC_LOGICAL_INOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_LOGICAL_INO. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 36, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_ino_path_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args#{})) |
| 601 | _BTRFS_IOC_SET_RECEIVED_SUBVOLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SET_RECEIVED_SUBVOL. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 37, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_received_subvol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#{})) |
| 602 | _BTRFS_IOC_SENDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SEND. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 38, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_send_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args#{})) |
| 603 | _BTRFS_IOC_DEVICES_READYscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEVICES_READY. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 39, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#{})) |
| 604 | _BTRFS_IOC_QUOTA_CTLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_CTL. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 40, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_quota_ctl_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_ctl_args#{})) |
| 605 | _BTRFS_IOC_QGROUP_ASSIGNscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QGROUP_ASSIGN. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 41, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_qgroup_assign_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_assign_args#{})) |
| 606 | _BTRFS_IOC_QGROUP_CREATEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QGROUP_CREATE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 42, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_qgroup_create_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_create_args#{})) |
| 607 | _BTRFS_IOC_QGROUP_LIMITscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QGROUP_LIMIT. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 43, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_qgroup_limit_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_limit_args#{})) |
| 608 | _BTRFS_IOC_QUOTA_RESCANscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_RESCAN. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 44, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_quota_rescan_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_rescan_args#{})) |
| 609 | _BTRFS_IOC_QUOTA_RESCAN_STATUSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_RESCAN_STATUS. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 45, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_quota_rescan_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_rescan_args#{})) |
| 610 | _BTRFS_IOC_QUOTA_RESCAN_WAITscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_RESCAN_WAIT. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IO().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 46) |
| 611 | _BTRFS_IOC_GET_FSLABELscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_GET_FSLABEL. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 49, labelSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/labelSize.) |
| 612 | _BTRFS_IOC_SET_FSLABELscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SET_FSLABEL. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 50, labelSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/labelSize.) |
| 613 | _BTRFS_IOC_GET_DEV_STATSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_GET_DEV_STATS. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 52, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_get_dev_statsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_get_dev_stats#{})) |
| 614 | _BTRFS_IOC_DEV_REPLACEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEV_REPLACE. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 53, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_dev_replace_args_u1scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_replace_args_u1#{})) |
| 615 | _BTRFS_IOC_FILE_EXTENT_SAMEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_FILE_EXTENT_SAME. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWRscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOWR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 54, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_same_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_args#{})) |
| 616 | _BTRFS_IOC_GET_FEATURESscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_GET_FEATURES. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 57, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_feature_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags#{})) |
| 617 | _BTRFS_IOC_SET_FEATURESscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SET_FEATURES. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IOWscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOW().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 57, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof([2]btrfs_ioctl_feature_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags#{})) |
| 618 | _BTRFS_IOC_GET_SUPPORTED_FEATURESscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_GET_SUPPORTED_FEATURES. = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.IORscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/IOR().(ioctlMagicscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/ioctlMagic., 57, unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof([3]btrfs_ioctl_feature_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags#{})) |
| 619 | ) |
| 620 | |
| 621 | func iocSnapCreatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSnapCreate().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, in *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 622 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SNAP_CREATEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SNAP_CREATE., in) |
| 623 | } |
| 624 | |
| 625 | func iocSnapCreateV2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSnapCreateV2().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, in *btrfs_ioctl_vol_args_v2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#) error { |
| 626 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SNAP_CREATE_V2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SNAP_CREATE_V2., in) |
| 627 | } |
| 628 | |
| 629 | func iocDefragscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocDefrag().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 630 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_DEFRAGscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEFRAG., out) |
| 631 | } |
| 632 | |
| 633 | func iocResizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocResize().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, in *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 634 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_RESIZEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_RESIZE., in) |
| 635 | } |
| 636 | |
| 637 | func iocScanDevscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocScanDev().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 638 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SCAN_DEVscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCAN_DEV., out) |
| 639 | } |
| 640 | |
| 641 | func iocTransStartscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocTransStart().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) error { |
| 642 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_TRANS_STARTscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_TRANS_START., nil) |
| 643 | } |
| 644 | |
| 645 | func iocTransEndscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocTransEnd().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) error { |
| 646 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_TRANS_ENDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_TRANS_END., nil) |
| 647 | } |
| 648 | |
| 649 | func iocSyncscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSync().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) error { |
| 650 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SYNCscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SYNC., nil) |
| 651 | } |
| 652 | |
| 653 | func iocClonescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocClone().(dst, src *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) error { |
| 654 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Ioctl().(dst, _BTRFS_IOC_CLONEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_CLONE., src.Fdscip-go gomod github.com/golang/go/src go1.12 os/File#Fd().()) |
| 655 | } |
| 656 | |
| 657 | func iocAddDevscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocAddDev().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 658 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_ADD_DEVscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_ADD_DEV., out) |
| 659 | } |
| 660 | |
| 661 | func iocRmDevscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocRmDev().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 662 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_RM_DEVscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_RM_DEV., out) |
| 663 | } |
| 664 | |
| 665 | func iocBalancescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocBalance().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 666 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_BALANCEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE., out) |
| 667 | } |
| 668 | |
| 669 | func iocCloneRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocCloneRange().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_clone_range_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_clone_range_args#) error { |
| 670 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_CLONE_RANGEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_CLONE_RANGE., out) |
| 671 | } |
| 672 | |
| 673 | func iocSubvolCreatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSubvolCreate().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, in *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 674 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SUBVOL_CREATEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_CREATE., in) |
| 675 | } |
| 676 | |
| 677 | func iocSubvolCreateV2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSubvolCreateV2().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, in *btrfs_ioctl_vol_args_v2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args_v2#) error { |
| 678 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SUBVOL_CREATEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_CREATE., in) |
| 679 | } |
| 680 | |
| 681 | func iocSnapDestroyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSnapDestroy().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, in *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 682 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SNAP_DESTROYscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SNAP_DESTROY., in) |
| 683 | } |
| 684 | |
| 685 | func iocDefragRangescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocDefragRange().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_defrag_range_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_defrag_range_args#) error { |
| 686 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_DEFRAG_RANGEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEFRAG_RANGE., out) |
| 687 | } |
| 688 | |
| 689 | func iocTreeSearchscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocTreeSearch().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_search_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_search_args#) error { |
| 690 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_TREE_SEARCHscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_TREE_SEARCH., out) |
| 691 | } |
| 692 | |
| 693 | func iocInoLookupscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocInoLookup().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_ino_lookup_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_lookup_args#) error { |
| 694 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_INO_LOOKUPscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_INO_LOOKUP., out) |
| 695 | } |
| 696 | |
| 697 | func iocDefaultSubvolscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocDefaultSubvol().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *uint64) error { |
| 698 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_DEFAULT_SUBVOLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEFAULT_SUBVOL., out) |
| 699 | } |
| 700 | |
| 701 | type spaceFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceFlags# uint64 |
| 702 | |
| 703 | func (f spaceFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceFlags#) BlockGroupscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceFlags#BlockGroup().() blockGroupscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/blockGroup# { |
| 704 | return blockGroupscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/blockGroup#(f) & _BTRFS_BLOCK_GROUP_MASKscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_BLOCK_GROUP_MASK. |
| 705 | } |
| 706 | |
| 707 | type spaceInfoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo# struct { |
| 708 | Flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#Flags. spaceFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceFlags# |
| 709 | TotalBytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#TotalBytes. uint64 |
| 710 | UsedBytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#UsedBytes. uint64 |
| 711 | } |
| 712 | |
| 713 | func iocSpaceInfoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSpaceInfo().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) ([]spaceInfoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#, error) { |
| 714 | arg := &btrfs_ioctl_space_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#{} |
| 715 | if err := ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SPACE_INFOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SPACE_INFO., arg); err != nil { |
| 716 | return nil, err |
| 717 | } |
| 718 | n := arg.total_spacesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#total_spaces. |
| 719 | if n == 0 { |
| 720 | return nil, nil |
| 721 | } |
| 722 | const ( |
| 723 | argSize = unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_space_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#{}) |
| 724 | infoSize = unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Sizeof(btrfs_ioctl_space_infoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#{}) |
| 725 | ) |
| 726 | buf := make([]byte, argSize+uintptr(n)*infoSize) |
| 727 | basePtr := unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Pointer(&buf[0]) |
| 728 | arg = (*btrfs_ioctl_space_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#)(basePtr) |
| 729 | arg.space_slotsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#space_slots. = n |
| 730 | if err := ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SPACE_INFOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SPACE_INFO., arg); err != nil { |
| 731 | return nil, err |
| 732 | } else if arg.total_spacesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#total_spaces. == 0 { |
| 733 | return nil, nil |
| 734 | } |
| 735 | if n > arg.total_spacesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#total_spaces. { |
| 736 | n = arg.total_spacesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_args#total_spaces. |
| 737 | } |
| 738 | out := make([]spaceInfoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#, n) |
| 739 | ptr := uintptr(basePtr) + argSize |
| 740 | for i := 0; i < int(n); i++ { |
| 741 | info := (*btrfs_ioctl_space_infoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#)(unsafescip-go gomod github.com/golang/go/src go1.12 unsafe/.Pointer(ptr)) |
| 742 | out[i] = spaceInfoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#{ |
| 743 | Flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#Flags.: spaceFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceFlags#(info.flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#flags.), |
| 744 | TotalBytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#TotalBytes.: info.total_bytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#total_bytes., |
| 745 | UsedBytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/spaceInfo#UsedBytes.: info.used_bytesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_space_info#used_bytes., |
| 746 | } |
| 747 | ptr += infoSize |
| 748 | } |
| 749 | return out, nil |
| 750 | } |
| 751 | |
| 752 | func iocStartSyncscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocStartSync().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *uint64) error { |
| 753 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_START_SYNCscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_START_SYNC., out) |
| 754 | } |
| 755 | |
| 756 | func iocWaitSyncscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocWaitSync().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *uint64) error { |
| 757 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_WAIT_SYNCscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_WAIT_SYNC., out) |
| 758 | } |
| 759 | |
| 760 | func iocSubvolGetflagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSubvolGetflags().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) (out SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#, err error) { |
| 761 | err = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SUBVOL_GETFLAGSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_GETFLAGS., &out) |
| 762 | return |
| 763 | } |
| 764 | |
| 765 | func iocSubvolSetflagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSubvolSetflags().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, flags SubvolFlagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/SubvolFlags#) error { |
| 766 | v := uint64(flags) |
| 767 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SUBVOL_SETFLAGSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SUBVOL_SETFLAGS., &v) |
| 768 | } |
| 769 | |
| 770 | func iocScrubscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocScrub().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_scrub_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#) error { |
| 771 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SCRUBscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCRUB., out) |
| 772 | } |
| 773 | |
| 774 | func iocScrubCancelscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocScrubCancel().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) error { |
| 775 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SCRUB_CANCELscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCRUB_CANCEL., nil) |
| 776 | } |
| 777 | |
| 778 | func iocScrubProgressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocScrubProgress().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_scrub_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_scrub_args#) error { |
| 779 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SCRUB_PROGRESSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SCRUB_PROGRESS., out) |
| 780 | } |
| 781 | |
| 782 | func iocFsInfoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocFsInfo().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) (out btrfs_ioctl_fs_info_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_fs_info_args#, err error) { |
| 783 | err = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_FS_INFOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_FS_INFO., &out) |
| 784 | return |
| 785 | } |
| 786 | |
| 787 | func iocDevInfoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocDevInfo().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, devid uint64, uuid UUIDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/UUID#) (out btrfs_ioctl_dev_info_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#, err error) { |
| 788 | out.devidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#devid. = devid |
| 789 | out.uuidscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_dev_info_args#uuid. = uuid |
| 790 | err = ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_DEV_INFOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEV_INFO., &out) |
| 791 | return |
| 792 | } |
| 793 | |
| 794 | func iocBalanceV2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocBalanceV2().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#) error { |
| 795 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_BALANCE_V2scip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE_V2., out) |
| 796 | } |
| 797 | |
| 798 | func iocBalanceCtlscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocBalanceCtl().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *int32) error { |
| 799 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_BALANCE_CTLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE_CTL., out) |
| 800 | } |
| 801 | |
| 802 | func iocBalanceProgressscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocBalanceProgress().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_balance_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_balance_args#) error { |
| 803 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_BALANCE_PROGRESSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_BALANCE_PROGRESS., out) |
| 804 | } |
| 805 | |
| 806 | func iocInoPathsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocInoPaths().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_ino_path_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args#) error { |
| 807 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_INO_PATHSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_INO_PATHS., out) |
| 808 | } |
| 809 | |
| 810 | func iocLogicalInoscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocLogicalIno().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_ino_path_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_ino_path_args#) error { |
| 811 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_LOGICAL_INOscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_LOGICAL_INO., out) |
| 812 | } |
| 813 | |
| 814 | func iocSetReceivedSubvolscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSetReceivedSubvol().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_received_subvol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_received_subvol_args#) error { |
| 815 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SET_RECEIVED_SUBVOLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SET_RECEIVED_SUBVOL., out) |
| 816 | } |
| 817 | |
| 818 | func iocSendscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSend().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, in *btrfs_ioctl_send_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_send_args#) error { |
| 819 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SENDscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SEND., in) |
| 820 | } |
| 821 | |
| 822 | func iocDevicesReadyscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocDevicesReady().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_vol_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_vol_args#) error { |
| 823 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_DEVICES_READYscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_DEVICES_READY., out) |
| 824 | } |
| 825 | |
| 826 | func iocQuotaCtlscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocQuotaCtl().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_quota_ctl_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_ctl_args#) error { |
| 827 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_QUOTA_CTLscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_CTL., out) |
| 828 | } |
| 829 | |
| 830 | func iocQgroupAssignscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocQgroupAssign().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_qgroup_assign_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_assign_args#) error { |
| 831 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_QGROUP_ASSIGNscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QGROUP_ASSIGN., out) |
| 832 | } |
| 833 | |
| 834 | func iocQgroupCreatescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocQgroupCreate().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_qgroup_create_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_create_args#) error { |
| 835 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_QGROUP_CREATEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QGROUP_CREATE., out) |
| 836 | } |
| 837 | |
| 838 | func iocQgroupLimitscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocQgroupLimit().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_qgroup_limit_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_qgroup_limit_args#) error { |
| 839 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_QGROUP_LIMITscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QGROUP_LIMIT., out) |
| 840 | } |
| 841 | |
| 842 | func iocQuotaRescanscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocQuotaRescan().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_quota_rescan_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_rescan_args#) error { |
| 843 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_QUOTA_RESCANscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_RESCAN., out) |
| 844 | } |
| 845 | |
| 846 | func iocQuotaRescanStatusscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocQuotaRescanStatus().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_quota_rescan_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_quota_rescan_args#) error { |
| 847 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_QUOTA_RESCAN_STATUSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_RESCAN_STATUS., out) |
| 848 | } |
| 849 | |
| 850 | func iocQuotaRescanWaitscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocQuotaRescanWait().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#) error { |
| 851 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_QUOTA_RESCAN_WAITscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_QUOTA_RESCAN_WAIT., nil) |
| 852 | } |
| 853 | |
| 854 | func iocGetFslabelscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocGetFslabel().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *[labelSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/labelSize.]byte) error { |
| 855 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_GET_FSLABELscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_GET_FSLABEL., out) |
| 856 | } |
| 857 | |
| 858 | func iocSetFslabelscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSetFslabel().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *[labelSizescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/labelSize.]byte) error { |
| 859 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SET_FSLABELscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SET_FSLABEL., out) |
| 860 | } |
| 861 | |
| 862 | func iocGetDevStatsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocGetDevStats().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_get_dev_statsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_get_dev_stats#) error { |
| 863 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_GET_DEV_STATSscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_GET_DEV_STATS., out) |
| 864 | } |
| 865 | |
| 866 | //func iocDevReplace(f *os.File, out *btrfs_ioctl_dev_replace_args) error { |
| 867 | // return ioctl.Do(f, _BTRFS_IOC_DEV_REPLACE, out) |
| 868 | //} |
| 869 | |
| 870 | func iocFileExtentSamescip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocFileExtentSame().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *btrfs_ioctl_same_argsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_same_args#) error { |
| 871 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_FILE_EXTENT_SAMEscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_FILE_EXTENT_SAME., out) |
| 872 | } |
| 873 | |
| 874 | func iocSetFeaturesscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/iocSetFeatures().(f *osscip-go gomod github.com/golang/go/src go1.12 os/.Filescip-go gomod github.com/golang/go/src go1.12 os/File#, out *[2]btrfs_ioctl_feature_flagsscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/btrfs_ioctl_feature_flags#) error { |
| 875 | return ioctlscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/.Doscip-go gomod github.com/dennwc/ioctl v1.0.0 `github.com/dennwc/ioctl`/Do().(f, _BTRFS_IOC_SET_FEATURESscip-go gomod github.com/dennwc/btrfs . `github.com/dennwc/btrfs`/_BTRFS_IOC_SET_FEATURES., out) |
| 876 | } |