Go to the documentation of this file.
35 #include <linux/types.h>
47 #define CHARSPEC_TYPE_CS0 0x00
48 #define CHARSPEC_TYPE_CS1 0x01
49 #define CHARSPEC_TYPE_CS2 0x02
50 #define CHARSPEC_TYPE_CS3 0x03
51 #define CHARSPEC_TYPE_CS4 0x04
52 #define CHARSPEC_TYPE_CS5 0x05
53 #define CHARSPEC_TYPE_CS6 0x06
54 #define CHARSPEC_TYPE_CS7 0x07
55 #define CHARSPEC_TYPE_CS8 0x08
74 #define TIMESTAMP_TYPE_MASK 0xF000
75 #define TIMESTAMP_TYPE_CUT 0x0000
76 #define TIMESTAMP_TYPE_LOCAL 0x1000
77 #define TIMESTAMP_TYPE_AGREEMENT 0x2000
78 #define TIMESTAMP_TIMEZONE_MASK 0x0FFF
88 #define ENTITYID_FLAGS_DIRTY 0x00
89 #define ENTITYID_FLAGS_PROTECTED 0x01
92 #define VSD_STD_ID_LEN 5
101 #define VSD_STD_ID_NSR02 "NSR02"
104 #define VSD_STD_ID_BEA01 "BEA01"
105 #define VSD_STD_ID_BOOT2 "BOOT2"
106 #define VSD_STD_ID_CD001 "CD001"
107 #define VSD_STD_ID_CDW02 "CDW02"
108 #define VSD_STD_ID_NSR03 "NSR03"
109 #define VSD_STD_ID_TEA01 "TEA01"
146 #define BOOT_FLAGS_ERASE 0x01
172 #define TAG_IDENT_PVD 0x0001
173 #define TAG_IDENT_AVDP 0x0002
174 #define TAG_IDENT_VDP 0x0003
175 #define TAG_IDENT_IUVD 0x0004
176 #define TAG_IDENT_PD 0x0005
177 #define TAG_IDENT_LVD 0x0006
178 #define TAG_IDENT_USD 0x0007
179 #define TAG_IDENT_TD 0x0008
180 #define TAG_IDENT_LVID 0x0009
218 #define PVD_FLAGS_VSID_COMMON 0x0001
261 #define PD_PARTITION_FLAGS_ALLOC 0x0001
264 #define PD_PARTITION_CONTENTS_NSR02 "+NSR02"
267 #define PD_PARTITION_CONTENTS_FDC01 "+FDC01"
268 #define PD_PARTITION_CONTENTS_CD001 "+CD001"
269 #define PD_PARTITION_CONTENTS_CDW02 "+CDW02"
270 #define PD_PARTITION_CONTENTS_NSR03 "+NSR03"
273 #define PD_ACCESS_TYPE_NONE 0x00000000
274 #define PD_ACCESS_TYPE_READ_ONLY 0x00000001
275 #define PD_ACCESS_TYPE_WRITE_ONCE 0x00000002
276 #define PD_ACCESS_TYPE_REWRITABLE 0x00000003
277 #define PD_ACCESS_TYPE_OVERWRITABLE 0x00000004
304 #define GP_PARTITION_MAP_TYPE_UNDEF 0x00
305 #define GP_PARTIITON_MAP_TYPE_1 0x01
306 #define GP_PARTITION_MAP_TYPE_2 0x02
352 #define LVID_INTEGRITY_TYPE_OPEN 0x00000000
353 #define LVID_INTEGRITY_TYPE_CLOSE 0x00000001
404 #define TAG_IDENT_FSD 0x0100
405 #define TAG_IDENT_FID 0x0101
406 #define TAG_IDENT_AED 0x0102
407 #define TAG_IDENT_IE 0x0103
408 #define TAG_IDENT_TE 0x0104
409 #define TAG_IDENT_FE 0x0105
410 #define TAG_IDENT_EAHD 0x0106
411 #define TAG_IDENT_USE 0x0107
412 #define TAG_IDENT_SBD 0x0108
413 #define TAG_IDENT_PIE 0x0109
414 #define TAG_IDENT_EFE 0x010A
463 #define FID_FILE_CHAR_HIDDEN 0x01
464 #define FID_FILE_CHAR_DIRECTORY 0x02
465 #define FID_FILE_CHAR_DELETED 0x04
466 #define FID_FILE_CHAR_PARENT 0x08
467 #define FID_FILE_CHAR_METADATA 0x10
489 #define ICBTAG_STRATEGY_TYPE_UNDEF 0x0000
490 #define ICBTAG_STRATEGY_TYPE_1 0x0001
491 #define ICBTAG_STRATEGY_TYPE_2 0x0002
492 #define ICBTAG_STRATEGY_TYPE_3 0x0003
493 #define ICBTAG_STRATEGY_TYPE_4 0x0004
496 #define ICBTAG_FILE_TYPE_UNDEF 0x00
497 #define ICBTAG_FILE_TYPE_USE 0x01
498 #define ICBTAG_FILE_TYPE_PIE 0x02
499 #define ICBTAG_FILE_TYPE_IE 0x03
500 #define ICBTAG_FILE_TYPE_DIRECTORY 0x04
501 #define ICBTAG_FILE_TYPE_REGULAR 0x05
502 #define ICBTAG_FILE_TYPE_BLOCK 0x06
503 #define ICBTAG_FILE_TYPE_CHAR 0x07
504 #define ICBTAG_FILE_TYPE_EA 0x08
505 #define ICBTAG_FILE_TYPE_FIFO 0x09
506 #define ICBTAG_FILE_TYPE_SOCKET 0x0A
507 #define ICBTAG_FILE_TYPE_TE 0x0B
508 #define ICBTAG_FILE_TYPE_SYMLINK 0x0C
509 #define ICBTAG_FILE_TYPE_STREAMDIR 0x0D
512 #define ICBTAG_FLAG_AD_MASK 0x0007
513 #define ICBTAG_FLAG_AD_SHORT 0x0000
514 #define ICBTAG_FLAG_AD_LONG 0x0001
515 #define ICBTAG_FLAG_AD_EXTENDED 0x0002
516 #define ICBTAG_FLAG_AD_IN_ICB 0x0003
517 #define ICBTAG_FLAG_SORTED 0x0008
518 #define ICBTAG_FLAG_NONRELOCATABLE 0x0010
519 #define ICBTAG_FLAG_ARCHIVE 0x0020
520 #define ICBTAG_FLAG_SETUID 0x0040
521 #define ICBTAG_FLAG_SETGID 0x0080
522 #define ICBTAG_FLAG_STICKY 0x0100
523 #define ICBTAG_FLAG_CONTIGUOUS 0x0200
524 #define ICBTAG_FLAG_SYSTEM 0x0400
525 #define ICBTAG_FLAG_TRANSFORMED 0x0800
526 #define ICBTAG_FLAG_MULTIVERSIONS 0x1000
527 #define ICBTAG_FLAG_STREAM 0x2000
569 #define FE_PERM_O_EXEC 0x00000001U
570 #define FE_PERM_O_WRITE 0x00000002U
571 #define FE_PERM_O_READ 0x00000004U
572 #define FE_PERM_O_CHATTR 0x00000008U
573 #define FE_PERM_O_DELETE 0x00000010U
574 #define FE_PERM_G_EXEC 0x00000020U
575 #define FE_PERM_G_WRITE 0x00000040U
576 #define FE_PERM_G_READ 0x00000080U
577 #define FE_PERM_G_CHATTR 0x00000100U
578 #define FE_PERM_G_DELETE 0x00000200U
579 #define FE_PERM_U_EXEC 0x00000400U
580 #define FE_PERM_U_WRITE 0x00000800U
581 #define FE_PERM_U_READ 0x00001000U
582 #define FE_PERM_U_CHATTR 0x00002000U
583 #define FE_PERM_U_DELETE 0x00004000U
586 #define FE_RECORD_FMT_UNDEF 0x00
587 #define FE_RECORD_FMT_FIXED_PAD 0x01
588 #define FE_RECORD_FMT_FIXED 0x02
589 #define FE_RECORD_FMT_VARIABLE8 0x03
590 #define FE_RECORD_FMT_VARIABLE16 0x04
591 #define FE_RECORD_FMT_VARIABLE16_MSB 0x05
592 #define FE_RECORD_FMT_VARIABLE32 0x06
593 #define FE_RECORD_FMT_PRINT 0x07
594 #define FE_RECORD_FMT_LF 0x08
595 #define FE_RECORD_FMT_CR 0x09
596 #define FE_RECORD_FMT_CRLF 0x0A
597 #define FE_RECORD_FMT_LFCR 0x0B
600 #define FE_RECORD_DISPLAY_ATTR_UNDEF 0x00
601 #define FE_RECORD_DISPLAY_ATTR_1 0x01
602 #define FE_RECORD_DISPLAY_ATTR_2 0x02
603 #define FE_RECORD_DISPLAY_ATTR_3 0x03
655 #define FTE_CREATION 0x00000001
656 #define FTE_DELETION 0x00000004
657 #define FTE_EFFECTIVE 0x00000008
658 #define FTE_BACKUP 0x00000002
705 #define EXTATTR_CHAR_SET 1
706 #define EXTATTR_ALT_PERMS 3
707 #define EXTATTR_FILE_TIMES 5
708 #define EXTATTR_INFO_TIMES 6
709 #define EXTATTR_DEV_SPEC 12
710 #define EXTATTR_IMP_USE 2048
711 #define EXTATTR_APP_USE 65536
743 #define EXT_RECORDED_ALLOCATED 0x00000000
744 #define EXT_NOT_RECORDED_ALLOCATED 0x40000000
745 #define EXT_NOT_RECORDED_NOT_ALLOCATED 0x80000000
746 #define EXT_NEXT_EXTENT_ALLOCDECS 0xC0000000