ReactOS  0.4.13-dev-242-g611e6d7
btrfs.h
Go to the documentation of this file.
1 /* btrfs.h
2  * Generic btrfs header file. Thanks to whoever it was who wrote
3  * https://btrfs.wiki.kernel.org/index.php/On-disk_Format - you saved me a lot of time!
4  *
5  * I release this file, and this file only, into the public domain - do whatever
6  * you want with it. You don't have to, but I'd appreciate if you let me know if you
7  * use it anything cool - mark@harmstone.com. */
8 
9 #ifndef BTRFS_H_DEFINED
10 #define BTRFS_H_DEFINED
11 
12 static const UINT64 superblock_addrs[] = { 0x10000, 0x4000000, 0x4000000000, 0x4000000000000, 0 };
13 
14 #define BTRFS_MAGIC 0x4d5f53665248425f
15 #define MAX_LABEL_SIZE 0x100
16 #define SUBVOL_ROOT_INODE 0x100
17 
18 #define TYPE_INODE_ITEM 0x01
19 #define TYPE_INODE_REF 0x0C
20 #define TYPE_INODE_EXTREF 0x0D
21 #define TYPE_XATTR_ITEM 0x18
22 #define TYPE_DIR_ITEM 0x54
23 #define TYPE_DIR_INDEX 0x60
24 #define TYPE_EXTENT_DATA 0x6C
25 #define TYPE_EXTENT_CSUM 0x80
26 #define TYPE_ROOT_ITEM 0x84
27 #define TYPE_ROOT_BACKREF 0x90
28 #define TYPE_ROOT_REF 0x9C
29 #define TYPE_EXTENT_ITEM 0xA8
30 #define TYPE_METADATA_ITEM 0xA9
31 #define TYPE_TREE_BLOCK_REF 0xB0
32 #define TYPE_EXTENT_DATA_REF 0xB2
33 #define TYPE_EXTENT_REF_V0 0xB4
34 #define TYPE_SHARED_BLOCK_REF 0xB6
35 #define TYPE_SHARED_DATA_REF 0xB8
36 #define TYPE_BLOCK_GROUP_ITEM 0xC0
37 #define TYPE_FREE_SPACE_INFO 0xC6
38 #define TYPE_FREE_SPACE_EXTENT 0xC7
39 #define TYPE_FREE_SPACE_BITMAP 0xC8
40 #define TYPE_DEV_EXTENT 0xCC
41 #define TYPE_DEV_ITEM 0xD8
42 #define TYPE_CHUNK_ITEM 0xE4
43 #define TYPE_TEMP_ITEM 0xF8
44 #define TYPE_DEV_STATS 0xF9
45 #define TYPE_SUBVOL_UUID 0xFB
46 #define TYPE_SUBVOL_REC_UUID 0xFC
47 
48 #define BTRFS_ROOT_ROOT 1
49 #define BTRFS_ROOT_EXTENT 2
50 #define BTRFS_ROOT_CHUNK 3
51 #define BTRFS_ROOT_DEVTREE 4
52 #define BTRFS_ROOT_FSTREE 5
53 #define BTRFS_ROOT_CHECKSUM 7
54 #define BTRFS_ROOT_UUID 9
55 #define BTRFS_ROOT_FREE_SPACE 0xa
56 #define BTRFS_ROOT_DATA_RELOC 0xFFFFFFFFFFFFFFF7
57 
58 #define BTRFS_COMPRESSION_NONE 0
59 #define BTRFS_COMPRESSION_ZLIB 1
60 #define BTRFS_COMPRESSION_LZO 2
61 #define BTRFS_COMPRESSION_ZSTD 3
62 
63 #define BTRFS_ENCRYPTION_NONE 0
64 
65 #define BTRFS_ENCODING_NONE 0
66 
67 #define EXTENT_TYPE_INLINE 0
68 #define EXTENT_TYPE_REGULAR 1
69 #define EXTENT_TYPE_PREALLOC 2
70 
71 #define BLOCK_FLAG_DATA 0x001
72 #define BLOCK_FLAG_SYSTEM 0x002
73 #define BLOCK_FLAG_METADATA 0x004
74 #define BLOCK_FLAG_RAID0 0x008
75 #define BLOCK_FLAG_RAID1 0x010
76 #define BLOCK_FLAG_DUPLICATE 0x020
77 #define BLOCK_FLAG_RAID10 0x040
78 #define BLOCK_FLAG_RAID5 0x080
79 #define BLOCK_FLAG_RAID6 0x100
80 
81 #define FREE_SPACE_CACHE_ID 0xFFFFFFFFFFFFFFF5
82 #define EXTENT_CSUM_ID 0xFFFFFFFFFFFFFFF6
83 #define BALANCE_ITEM_ID 0xFFFFFFFFFFFFFFFC
84 
85 #define BTRFS_INODE_NODATASUM 0x001
86 #define BTRFS_INODE_NODATACOW 0x002
87 #define BTRFS_INODE_READONLY 0x004
88 #define BTRFS_INODE_NOCOMPRESS 0x008
89 #define BTRFS_INODE_PREALLOC 0x010
90 #define BTRFS_INODE_SYNC 0x020
91 #define BTRFS_INODE_IMMUTABLE 0x040
92 #define BTRFS_INODE_APPEND 0x080
93 #define BTRFS_INODE_NODUMP 0x100
94 #define BTRFS_INODE_NOATIME 0x200
95 #define BTRFS_INODE_DIRSYNC 0x400
96 #define BTRFS_INODE_COMPRESS 0x800
97 
98 #define BTRFS_SUBVOL_READONLY 0x1
99 
100 #define BTRFS_COMPAT_RO_FLAGS_FREE_SPACE_CACHE 0x1
101 #define BTRFS_COMPAT_RO_FLAGS_FREE_SPACE_CACHE_VALID 0x2
102 
103 #define BTRFS_INCOMPAT_FLAGS_MIXED_BACKREF 0x0001
104 #define BTRFS_INCOMPAT_FLAGS_DEFAULT_SUBVOL 0x0002
105 #define BTRFS_INCOMPAT_FLAGS_MIXED_GROUPS 0x0004
106 #define BTRFS_INCOMPAT_FLAGS_COMPRESS_LZO 0x0008
107 #define BTRFS_INCOMPAT_FLAGS_COMPRESS_ZSTD 0x0010
108 #define BTRFS_INCOMPAT_FLAGS_BIG_METADATA 0x0020
109 #define BTRFS_INCOMPAT_FLAGS_EXTENDED_IREF 0x0040
110 #define BTRFS_INCOMPAT_FLAGS_RAID56 0x0080
111 #define BTRFS_INCOMPAT_FLAGS_SKINNY_METADATA 0x0100
112 #define BTRFS_INCOMPAT_FLAGS_NO_HOLES 0x0200
113 
114 #define BTRFS_SUPERBLOCK_FLAGS_SEEDING 0x100000000
115 
116 #pragma pack(push, 1)
117 
118 typedef struct {
119  UINT8 uuid[16];
120 } BTRFS_UUID;
121 
122 typedef struct {
126 } KEY;
127 
128 #define HEADER_FLAG_WRITTEN 0x000000000000001
129 #define HEADER_FLAG_SHARED_BACKREF 0x000000000000002
130 #define HEADER_FLAG_MIXED_BACKREF 0x100000000000000
131 
132 typedef struct {
133  UINT8 csum[32];
142 } tree_header;
143 
144 typedef struct {
148 } leaf_node;
149 
150 typedef struct {
154 } internal_node;
155 
156 typedef struct {
171 } DEV_ITEM;
172 
173 #define SYS_CHUNK_ARRAY_SIZE 0x800
174 #define BTRFS_NUM_BACKUP_ROOTS 4
175 
176 typedef struct {
201 
202 typedef struct {
235  UINT8 sys_chunk_array[SYS_CHUNK_ARRAY_SIZE];
238 } superblock;
239 
240 #define BTRFS_TYPE_UNKNOWN 0
241 #define BTRFS_TYPE_FILE 1
242 #define BTRFS_TYPE_DIRECTORY 2
243 #define BTRFS_TYPE_CHARDEV 3
244 #define BTRFS_TYPE_BLOCKDEV 4
245 #define BTRFS_TYPE_FIFO 5
246 #define BTRFS_TYPE_SOCKET 6
247 #define BTRFS_TYPE_SYMLINK 7
248 #define BTRFS_TYPE_EA 8
249 
250 typedef struct {
256  char name[1];
257 } DIR_ITEM;
258 
259 typedef struct {
262 } BTRFS_TIME;
263 
264 typedef struct {
282 } INODE_ITEM;
283 
284 typedef struct {
310 } ROOT_ITEM;
311 
312 typedef struct {
322 } CHUNK_ITEM;
323 
324 typedef struct {
329 
330 typedef struct {
338 } EXTENT_DATA;
339 
340 typedef struct {
345 } EXTENT_DATA2;
346 
347 typedef struct {
350  char name[1];
351 } INODE_REF;
352 
353 typedef struct {
357  char name[1];
358 } INODE_EXTREF;
359 
360 #define EXTENT_ITEM_DATA 0x001
361 #define EXTENT_ITEM_TREE_BLOCK 0x002
362 #define EXTENT_ITEM_SHARED_BACKREFS 0x100
363 
364 typedef struct {
368 } EXTENT_ITEM;
369 
370 typedef struct {
373 } EXTENT_ITEM2;
374 
375 typedef struct {
378 
379 typedef struct {
384 
385 typedef struct {
388 
389 typedef struct {
395 
396 typedef struct {
401 
402 typedef struct {
407 } EXTENT_REF_V0;
408 
409 typedef struct {
412 
413 typedef struct {
417 
418 #define FREE_SPACE_EXTENT 1
419 #define FREE_SPACE_BITMAP 2
420 
421 typedef struct {
426 
427 typedef struct {
433 
434 typedef struct {
438  char name[1];
439 } ROOT_REF;
440 
441 typedef struct {
447 } DEV_EXTENT;
448 
449 #define BALANCE_FLAGS_DATA 0x1
450 #define BALANCE_FLAGS_SYSTEM 0x2
451 #define BALANCE_FLAGS_METADATA 0x4
452 
453 #define BALANCE_ARGS_FLAGS_PROFILES 0x001
454 #define BALANCE_ARGS_FLAGS_USAGE 0x002
455 #define BALANCE_ARGS_FLAGS_DEVID 0x004
456 #define BALANCE_ARGS_FLAGS_DRANGE 0x008
457 #define BALANCE_ARGS_FLAGS_VRANGE 0x010
458 #define BALANCE_ARGS_FLAGS_LIMIT 0x020
459 #define BALANCE_ARGS_FLAGS_LIMIT_RANGE 0x040
460 #define BALANCE_ARGS_FLAGS_STRIPES_RANGE 0x080
461 #define BALANCE_ARGS_FLAGS_CONVERT 0x100
462 #define BALANCE_ARGS_FLAGS_SOFT 0x200
463 #define BALANCE_ARGS_FLAGS_USAGE_RANGE 0x400
464 
465 typedef struct {
467 
468  union {
470  struct {
473  };
474  };
475 
483 
484  union {
486  struct {
489  };
490  };
491 
495 } BALANCE_ARGS;
496 
497 typedef struct {
503 } BALANCE_ITEM;
504 
505 #define BTRFS_FREE_SPACE_USING_BITMAPS 1
506 
507 typedef struct {
511 
512 #define BTRFS_DEV_STAT_WRITE_ERRORS 0
513 #define BTRFS_DEV_STAT_READ_ERRORS 1
514 #define BTRFS_DEV_STAT_FLUSH_ERRORS 2
515 #define BTRFS_DEV_STAT_CORRUPTION_ERRORS 3
516 #define BTRFS_DEV_STAT_GENERATION_ERRORS 4
517 
518 #define BTRFS_SEND_CMD_SUBVOL 1
519 #define BTRFS_SEND_CMD_SNAPSHOT 2
520 #define BTRFS_SEND_CMD_MKFILE 3
521 #define BTRFS_SEND_CMD_MKDIR 4
522 #define BTRFS_SEND_CMD_MKNOD 5
523 #define BTRFS_SEND_CMD_MKFIFO 6
524 #define BTRFS_SEND_CMD_MKSOCK 7
525 #define BTRFS_SEND_CMD_SYMLINK 8
526 #define BTRFS_SEND_CMD_RENAME 9
527 #define BTRFS_SEND_CMD_LINK 10
528 #define BTRFS_SEND_CMD_UNLINK 11
529 #define BTRFS_SEND_CMD_RMDIR 12
530 #define BTRFS_SEND_CMD_SET_XATTR 13
531 #define BTRFS_SEND_CMD_REMOVE_XATTR 14
532 #define BTRFS_SEND_CMD_WRITE 15
533 #define BTRFS_SEND_CMD_CLONE 16
534 #define BTRFS_SEND_CMD_TRUNCATE 17
535 #define BTRFS_SEND_CMD_CHMOD 18
536 #define BTRFS_SEND_CMD_CHOWN 19
537 #define BTRFS_SEND_CMD_UTIMES 20
538 #define BTRFS_SEND_CMD_END 21
539 #define BTRFS_SEND_CMD_UPDATE_EXTENT 22
540 
541 #define BTRFS_SEND_TLV_UUID 1
542 #define BTRFS_SEND_TLV_TRANSID 2
543 #define BTRFS_SEND_TLV_INODE 3
544 #define BTRFS_SEND_TLV_SIZE 4
545 #define BTRFS_SEND_TLV_MODE 5
546 #define BTRFS_SEND_TLV_UID 6
547 #define BTRFS_SEND_TLV_GID 7
548 #define BTRFS_SEND_TLV_RDEV 8
549 #define BTRFS_SEND_TLV_CTIME 9
550 #define BTRFS_SEND_TLV_MTIME 10
551 #define BTRFS_SEND_TLV_ATIME 11
552 #define BTRFS_SEND_TLV_OTIME 12
553 #define BTRFS_SEND_TLV_XATTR_NAME 13
554 #define BTRFS_SEND_TLV_XATTR_DATA 14
555 #define BTRFS_SEND_TLV_PATH 15
556 #define BTRFS_SEND_TLV_PATH_TO 16
557 #define BTRFS_SEND_TLV_PATH_LINK 17
558 #define BTRFS_SEND_TLV_OFFSET 18
559 #define BTRFS_SEND_TLV_DATA 19
560 #define BTRFS_SEND_TLV_CLONE_UUID 20
561 #define BTRFS_SEND_TLV_CLONE_CTRANSID 21
562 #define BTRFS_SEND_TLV_CLONE_PATH 22
563 #define BTRFS_SEND_TLV_CLONE_OFFSET 23
564 #define BTRFS_SEND_TLV_CLONE_LENGTH 24
565 
566 #define BTRFS_SEND_MAGIC "btrfs-stream"
567 
568 typedef struct {
572 
573 typedef struct {
578 
579 typedef struct {
583 
584 #pragma pack(pop)
585 
586 #endif
UINT32 count
Definition: btrfs.h:508
UINT64 block_group
Definition: btrfs.h:269
UINT8 seek_speed
Definition: btrfs.h:167
UINT64 total_bytes
Definition: btrfs.h:213
UINT32 optimal_io_align
Definition: btrfs.h:160
UINT32 usage_end
Definition: btrfs.h:472
UINT64 generation
Definition: btrfs.h:138
UINT64 objid
Definition: btrfs.h:287
UINT64 root_tree_generation
Definition: btrfs.h:178
UINT64 usage
Definition: btrfs.h:469
UINT64 total_bytes
Definition: btrfs.h:189
static long backup()
Definition: maze.c:403
UINT64 chunk_tree_addr
Definition: btrfs.h:210
UINT64 offset
Definition: btrfs.h:125
UINT32 stripes_end
Definition: btrfs.h:493
UINT32 usage_start
Definition: btrfs.h:471
UINT32 num_items
Definition: btrfs.h:140
Definition: btrfs.h:421
BTRFS_TIME otime
Definition: btrfs.h:281
UINT64 flags
Definition: btrfs.h:136
UINT64 num_bytes
Definition: btrfs.h:344
UINT32 n
Definition: btrfs.h:221
UINT64 dir
Definition: btrfs.h:435
UINT64 address
Definition: btrfs.h:152
UINT64 root
Definition: btrfs.h:403
UINT64 num_devices
Definition: btrfs.h:216
UINT64 size
Definition: btrfs.h:342
UINT32 st_gid
Definition: btrfs.h:272
BTRFS_TIME otime
Definition: btrfs.h:306
UINT32 nanoseconds
Definition: btrfs.h:261
UINT32 st_uid
Definition: btrfs.h:271
UINT8 extent_root_level
Definition: btrfs.h:195
UINT64 byte_limit
Definition: btrfs.h:289
UINT64 offset
Definition: btrfs.h:422
UINT64 generation
Definition: btrfs.h:366
UINT64 rtransid
Definition: btrfs.h:304
u32_t magic(void)
UINT32 count
Definition: btrfs.h:406
BTRFS_UUID parent_uuid
Definition: btrfs.h:299
UINT64 obj_id
Definition: btrfs.h:123
UINT64 start_offset
Definition: btrfs.h:165
UINT64 dev_id
Definition: btrfs.h:157
UINT64 length
Definition: btrfs.h:445
UINT64 last_snapshot_generation
Definition: btrfs.h:291
UINT64 generation
Definition: btrfs.h:164
UINT64 log_root_transid
Definition: btrfs.h:212
UINT16 m
Definition: btrfs.h:253
UINT16 type
Definition: btrfs.h:580
UINT32 offset
Definition: btrfs.h:146
UINT64 offset
Definition: btrfs.h:326
UINT64 bytes_used
Definition: btrfs.h:290
BALANCE_ARGS data
Definition: btrfs.h:499
BTRFS_TIME st_ctime
Definition: btrfs.h:279
#define SYS_CHUNK_ARRAY_SIZE
Definition: btrfs.h:173
UINT8 csum_root_level
Definition: btrfs.h:198
BTRFS_TIME stime
Definition: btrfs.h:307
UINT8 root_level
Definition: btrfs.h:296
UINT64 csum_root_addr
Definition: btrfs.h:187
#define BTRFS_NUM_BACKUP_ROOTS
Definition: btrfs.h:174
UINT32 st_mode
Definition: btrfs.h:273
UINT8 obj_type
Definition: btrfs.h:124
UINT32 optimal_io_width
Definition: btrfs.h:161
UINT64 generation
Definition: btrfs.h:265
BTRFS_UUID fs_uuid
Definition: btrfs.h:170
UINT64 flags
Definition: btrfs.h:399
UINT16 csum_type
Definition: btrfs.h:226
UINT64 bytes_used
Definition: btrfs.h:190
UINT64 decoded_size
Definition: btrfs.h:332
UINT64 index
Definition: btrfs.h:355
UINT8 encryption
Definition: btrfs.h:334
EXTENT_ITEM extent_item
Definition: btrfs.h:380
unsigned int UINT32
UINT32 dev_group
Definition: btrfs.h:166
UINT64 generation
Definition: btrfs.h:153
UINT64 dev_root_generation
Definition: btrfs.h:186
UINT64 bytes_used
Definition: btrfs.h:214
UINT64 chunk_tree_addr
Definition: btrfs.h:179
UINT64 root_id
Definition: btrfs.h:314
UINT64 root_tree_addr
Definition: btrfs.h:177
UINT64 index
Definition: btrfs.h:436
UINT64 address
Definition: btrfs.h:341
r reserved
Definition: btrfs.c:2673
BTRFS_UUID received_uuid
Definition: btrfs.h:300
KEY key
Definition: btrfs.h:251
UINT64 num_devices
Definition: btrfs.h:191
UINT64 objid
Definition: btrfs.h:443
UINT8 type
Definition: btrfs.h:424
UINT8 type
Definition: btrfs.h:336
UINT64 stransid
Definition: btrfs.h:303
UINT64 compat_flags
Definition: btrfs.h:223
UINT64 dev_id
Definition: btrfs.h:325
UINT64 index
Definition: btrfs.h:348
UINT64 fs_tree_addr
Definition: btrfs.h:183
UINT32 sector_size
Definition: btrfs.h:217
UINT64 address
Definition: btrfs.h:135
DEV_ITEM dev_item
Definition: btrfs.h:230
UINT64 cache_generation
Definition: btrfs.h:232
UINT32 minimal_io_size
Definition: btrfs.h:162
UINT64 flags
Definition: btrfs.h:482
UINT64 generation
Definition: btrfs.h:286
BTRFS_TIME st_mtime
Definition: btrfs.h:280
UINT64 compat_ro_flags
Definition: btrfs.h:224
UINT64 csum_root_generation
Definition: btrfs.h:188
UINT16 sub_stripes
Definition: btrfs.h:321
UINT64 extent_tree_generation
Definition: btrfs.h:182
UINT64 fs_tree_generation
Definition: btrfs.h:184
UINT32 length
Definition: btrfs.h:574
UINT64 objid
Definition: btrfs.h:405
UINT64 limit
Definition: btrfs.h:485
BTRFS_UUID device_uuid
Definition: btrfs.h:169
UINT64 offset
Definition: btrfs.h:343
UINT16 n
Definition: btrfs.h:437
UINT64 flags
Definition: btrfs.h:292
BTRFS_UUID chunk_tree_uuid
Definition: btrfs.h:137
UINT32 sector_size
Definition: btrfs.h:319
uint8_t reserved2[12]
Definition: fsck.fat.h:58
UINT64 generation2
Definition: btrfs.h:297
UINT64 vrange_start
Definition: btrfs.h:479
UINT64 transid
Definition: btrfs.h:252
static const UINT64 superblock_addrs[]
Definition: btrfs.h:12
UINT64 block_number
Definition: btrfs.h:288
UINT8 level
Definition: btrfs.h:382
UINT32 opt_io_alignment
Definition: btrfs.h:317
UINT32 opt_io_width
Definition: btrfs.h:318
UINT8 log_root_level
Definition: btrfs.h:229
BTRFS_UUID uuid
Definition: btrfs.h:298
UINT64 flags
Definition: btrfs.h:498
KEY firstitem
Definition: btrfs.h:371
UINT64 type
Definition: btrfs.h:316
UINT8 drop_level
Definition: btrfs.h:295
UINT64 incompat_flags
Definition: btrfs.h:225
UINT32 count
Definition: btrfs.h:393
UINT64 root
Definition: btrfs.h:390
UINT32 refcount
Definition: btrfs.h:376
UINT32 version
Definition: btrfs.h:570
BTRFS_UUID dev_uuid
Definition: btrfs.h:327
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
UINT64 offset
Definition: btrfs.h:410
UINT64 drange_start
Definition: btrfs.h:477
BTRFS_TIME st_atime
Definition: btrfs.h:278
UINT64 st_blocks
Definition: btrfs.h:268
UINT16 encoding
Definition: btrfs.h:335
UINT8 type
Definition: btrfs.h:255
UINT64 size
Definition: btrfs.h:423
UINT64 chunk_root_generation
Definition: btrfs.h:222
UINT64 address
Definition: btrfs.h:444
UINT32 stripes_start
Definition: btrfs.h:492
UINT8 chunk_root_level
Definition: btrfs.h:228
UINT8 dev_root_level
Definition: btrfs.h:197
UINT32 count
Definition: btrfs.h:415
UINT64 st_rdev
Definition: btrfs.h:274
UINT32 node_size
Definition: btrfs.h:218
UINT64 otransid
Definition: btrfs.h:302
static cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum)
Definition: fdi.c:353
UINT64 chunk_tree
Definition: btrfs.h:398
UINT32 stripe_size
Definition: btrfs.h:220
KEY drop_progress
Definition: btrfs.h:294
UINT64 profiles
Definition: btrfs.h:466
uint8_t label[11]
Definition: fsck.fat.h:65
UINT8 root_level
Definition: btrfs.h:227
UINT64 type
Definition: btrfs.h:163
UINT8 compression
Definition: btrfs.h:333
UINT32 flags
Definition: btrfs.h:509
UINT64 tree_id
Definition: btrfs.h:139
UINT64 root_tree_addr
Definition: btrfs.h:209
UINT64 convert
Definition: btrfs.h:481
UINT64 offset
Definition: btrfs.h:392
Definition: btrfs.h:122
UINT64 offset
Definition: btrfs.h:414
BALANCE_ARGS metadata
Definition: btrfs.h:500
UINT64 uuid_tree_generation
Definition: btrfs.h:233
UINT64 flags
Definition: btrfs.h:367
UINT64 vrange_end
Definition: btrfs.h:480
INODE_ITEM inode
Definition: btrfs.h:285
UINT64 stripe_length
Definition: btrfs.h:315
#define MAX_LABEL_SIZE
Definition: btrfs.h:15
UINT64 chunktree
Definition: btrfs.h:442
UINT64 devid
Definition: btrfs.h:476
BTRFS_UUID fs_uuid
Definition: btrfs.h:134
UINT64 st_size
Definition: btrfs.h:267
UINT64 refcount
Definition: btrfs.h:365
#define KEY
Definition: profile.c:30
KEY key
Definition: btrfs.h:145
UINT64 num_bitmaps
Definition: btrfs.h:431
UINT64 transid
Definition: btrfs.h:266
BTRFS_UUID uuid
Definition: btrfs.h:204
UINT64 log_tree_addr
Definition: btrfs.h:211
UINT64 generation
Definition: btrfs.h:208
UINT8 root_level
Definition: btrfs.h:193
UINT32 limit_end
Definition: btrfs.h:488
UINT64 gen
Definition: btrfs.h:404
BTRFS_TIME ctime
Definition: btrfs.h:305
UINT32 limit_start
Definition: btrfs.h:487
unsigned short UINT16
UINT64 generation
Definition: btrfs.h:331
UINT64 flags
Definition: btrfs.h:275
UINT64 ctransid
Definition: btrfs.h:301
UINT64 drange_end
Definition: btrfs.h:478
UINT64 objid
Definition: btrfs.h:391
UINT8 chunk_root_level
Definition: btrfs.h:194
UINT8 level
Definition: btrfs.h:372
Definition: fs.h:216
UINT64 seconds
Definition: btrfs.h:260
UINT16 n
Definition: btrfs.h:356
UINT64 chunk_tree_generation
Definition: btrfs.h:180
Definition: name.c:36
UINT8 level
Definition: btrfs.h:141
BTRFS_TIME rtime
Definition: btrfs.h:308
UINT64 dir
Definition: btrfs.h:354
UINT32 st_nlink
Definition: btrfs.h:270
UINT64 generation
Definition: btrfs.h:429
Definition: msctf.idl:510
UINT16 n
Definition: btrfs.h:349
UINT64 size
Definition: btrfs.h:313
UINT64 num_entries
Definition: btrfs.h:430
BALANCE_ARGS system
Definition: btrfs.h:501
UINT8 fs_root_level
Definition: btrfs.h:196
unsigned long long UINT64
BTRFS_UUID chunktree_uuid
Definition: btrfs.h:446
UINT64 dev_root_addr
Definition: btrfs.h:185
UINT64 used
Definition: btrfs.h:397
UINT64 bytes_used
Definition: btrfs.h:159
UINT32 num_references
Definition: btrfs.h:293
UINT64 flags
Definition: btrfs.h:206
UINT32 size
Definition: btrfs.h:147
UINT64 magic
Definition: btrfs.h:207
UINT16 num_stripes
Definition: btrfs.h:320
unsigned char UINT8
UINT16 n
Definition: btrfs.h:254
UINT8 bandwidth
Definition: btrfs.h:168
UINT64 root_dir_objectid
Definition: btrfs.h:215
UINT64 sb_phys_addr
Definition: btrfs.h:205
UINT64 extent_tree_addr
Definition: btrfs.h:181
UINT16 length
Definition: btrfs.h:581
UINT32 leaf_size
Definition: btrfs.h:219
UINT64 num_bytes
Definition: btrfs.h:158
UINT64 sequence
Definition: btrfs.h:276
UINT64 offset
Definition: btrfs.h:386