libparted 3.6
|
Go to the source code of this file.
Data Structures | |
struct | _HfsCPrivateLeafRec |
struct | _HfsPPrivateExtent |
struct | _HfsPPrivateFile |
struct | _HfsPPrivateFSData |
struct | _HfsPPrivateLinkExtent |
struct | _HfsPrivateFile |
struct | _HfsPrivateFSData |
struct | _HfsPrivateLinkExtent |
Macros | |
#define | BLOCK_MAX_BUFF 256 |
#define | BYTES_MAX_BUFF 8388608 |
#define | CLR_BLOC_OCCUPATION(tab, bn) (((tab)[(bn)/8]) &= ~(1<<(7-((bn)&7)))) |
#define | HFS_BAD_BLOCK_ID 0x05 |
#define | HFS_BAD_SPARED 9 |
#define | HFS_CAT_DIR 0x01 |
#define | HFS_CAT_DIR_TH 0x03 |
#define | HFS_CAT_FILE 0x02 |
#define | HFS_CAT_FILE_TH 0x04 |
#define | HFS_CATALOG_ID 0x04 |
#define | HFS_DATA_FORK 0x00 |
#define | HFS_EXT_NB 3 |
#define | HFS_FIRST_REC 0x0E |
#define | HFS_HARD_LOCK 7 |
#define | HFS_HDR_NODE 0x01 |
#define | HFS_IDX_NODE 0x00 |
#define | HFS_LEAF_NODE 0xFF |
#define | HFS_MAP_NODE 0x02 |
#define | HFS_MAP_REC 0xF8 |
#define | HFS_NSD_HD_REC 0x78 |
#define | HFS_RES_FORK 0xFF |
#define | HFS_ROOT_DIR_ID 0x02 |
#define | HFS_ROOT_PAR_ID 0x01 |
#define | HFS_SIGNATURE 0x4244 /* 'BD' */ |
#define | HFS_SOFT_LOCK 15 |
#define | HFS_UNMOUNTED 8 |
#define | HFS_XTENT_ID 0x03 |
#define | HFSJ_ENDIAN_MAGIC 0x12345678 |
#define | HFSJ_HEADER_MAGIC 0x4a4e4c78 |
#define | HFSJ_JOURN_IN_FS 0x00 |
#define | HFSJ_JOURN_NEED_INIT 0x02 |
#define | HFSJ_JOURN_OTHER_DEV 0x01 |
#define | HFSP_ALLOC_ID 0x06 |
#define | HFSP_ATTR_EXTENTS 0x30 |
#define | HFSP_ATTR_FORK 0x20 |
#define | HFSP_ATTR_INLINE 0x10 |
#define | HFSP_ATTRIB_ID 0x08 |
#define | HFSP_BOGUS_ID 0x0F |
#define | HFSP_EXT_NB 8 |
#define | HFSP_FIRST_AV_ID 0x10 |
#define | HFSP_IMPL_GnuP 0x476e7550 /* reserved */ |
#define | HFSP_IMPL_PHpx 0x50482b78 /* reserved */ |
#define | HFSP_IMPL_Resz 0x5265737a /* reserved */ |
#define | HFSP_IMPL_Shnk 0x53686e6b /* in use */ |
#define | HFSP_IMPL_traP 0x74726150 /* reserved */ |
#define | HFSP_IMPL_Xpnd 0x58706e64 /* reserved */ |
#define | HFSP_INCONSISTENT 11 |
#define | HFSP_JOURNALED 13 |
#define | HFSP_NO_CACHE 10 |
#define | HFSP_REUSE_CNID 12 |
#define | HFSP_SIGNATURE 0x482B /* 'H+' */ |
#define | HFSP_STARTUP_ID 0x07 |
#define | HFSP_VERSION 4 |
#define | HFSX_BINARY_COMPARE 0xBC /* case sensitive HFSX */ |
#define | HFSX_CASE_FOLDING 0xCF /* case insensitive HFSX */ |
#define | HFSX_SIGNATURE 0x4858 /* 'HX' */ |
#define | HFSX_VERSION 5 |
#define | SET_BLOC_OCCUPATION(tab, bn) (((tab)[(bn)/8]) |= (1<<(7-((bn)&7)))) |
#define | TST_BLOC_OCCUPATION(tab, bn) (((tab)[(bn)/8]) & (1<<(7-((bn)&7)))) |
Typedefs | |
typedef struct _HfsCatalog | HfsCatalog |
typedef struct _HfsCatalogKey | HfsCatalogKey |
typedef struct _HfsCPrivateLeafRec | HfsCPrivateLeafRec |
typedef struct _HfsDir | HfsDir |
typedef struct _HfsDirTh | HfsDirTh |
typedef HfsExtDescriptor | HfsExtDataRec[HFS_EXT_NB] |
typedef struct _HfsExtDescriptor | HfsExtDescriptor |
typedef struct _HfsExtentKey | HfsExtentKey |
typedef struct _HfsFile | HfsFile |
typedef struct _HfsDirTh | HfsFileTh |
typedef struct _HfsHeaderRecord | HfsHeaderRecord |
typedef struct _HfsJBlockInfo | HfsJBlockInfo |
typedef struct _HfsJBlockListHeader | HfsJBlockListHeader |
typedef struct _HfsJJournalHeader | HfsJJournalHeader |
typedef struct _HfsJJournalInfoBlock | HfsJJournalInfoBlock |
typedef struct _HfsMasterDirectoryBlock | HfsMasterDirectoryBlock |
typedef struct _HfsNodeDescriptor | HfsNodeDescriptor |
typedef struct _HfsPCatalog | HfsPCatalog |
typedef struct _HfsPCatalogKey | HfsPCatalogKey |
typedef struct _HfsPDir | HfsPDir |
typedef struct _HfsPThread | HfsPDirTh |
typedef HfsPExtDescriptor | HfsPExtDataRec[HFSP_EXT_NB] |
typedef struct _HfsPExtDescriptor | HfsPExtDescriptor |
typedef struct _HfsPExtentKey | HfsPExtentKey |
typedef struct _HfsPFile | HfsPFile |
typedef struct _HfsPThread | HfsPFileTh |
typedef struct _HfsPForkData | HfsPForkData |
typedef struct _HfsPForkDataAttr | HfsPForkDataAttr |
typedef struct _HfsPHeaderRecord | HfsPHeaderRecord |
typedef struct _HfsPNodeDescriptor | HfsPNodeDescriptor |
typedef uint32_t | HfsPNodeID |
typedef struct _HfsPPerms | HfsPPerms |
typedef struct _HfsPPrivateExtent | HfsPPrivateExtent |
typedef struct _HfsPPrivateFile | HfsPPrivateFile |
typedef struct _HfsPPrivateFSData | HfsPPrivateFSData |
typedef struct _HfsPPrivateGenericKey | HfsPPrivateGenericKey |
typedef struct _HfsPPrivateLinkExtent | HfsPPrivateLinkExtent |
typedef struct _HfsPrivateFile | HfsPrivateFile |
typedef struct _HfsPrivateFSData | HfsPrivateFSData |
typedef struct _HfsPrivateGenericKey | HfsPrivateGenericKey |
typedef struct _HfsPrivateLinkExtent | HfsPrivateLinkExtent |
typedef struct _HfsPUniStr255 | HfsPUniStr255 |
typedef struct _HfsPVolumeHeader | HfsPVolumeHeader |
typedef uint16_t | unichar |
Functions | |
struct | __attribute__ ((packed)) _HfsExtDescriptor |
Variables | |
uint8_t * | hfs_block |
unsigned | hfs_block_count |
uint8_t * | hfsp_block |
unsigned | hfsp_block_count |
#define BLOCK_MAX_BUFF 256 |
#define BYTES_MAX_BUFF 8388608 |
#define CLR_BLOC_OCCUPATION | ( | tab, | |
bn | |||
) | (((tab)[(bn)/8]) &= ~(1<<(7-((bn)&7)))) |
#define HFS_BAD_BLOCK_ID 0x05 |
#define HFS_BAD_SPARED 9 |
#define HFS_CAT_DIR 0x01 |
#define HFS_CAT_DIR_TH 0x03 |
#define HFS_CAT_FILE 0x02 |
#define HFS_CAT_FILE_TH 0x04 |
#define HFS_CATALOG_ID 0x04 |
#define HFS_DATA_FORK 0x00 |
#define HFS_EXT_NB 3 |
#define HFS_FIRST_REC 0x0E |
#define HFS_HARD_LOCK 7 |
#define HFS_HDR_NODE 0x01 |
#define HFS_IDX_NODE 0x00 |
#define HFS_LEAF_NODE 0xFF |
#define HFS_MAP_NODE 0x02 |
#define HFS_MAP_REC 0xF8 |
#define HFS_NSD_HD_REC 0x78 |
#define HFS_RES_FORK 0xFF |
#define HFS_ROOT_DIR_ID 0x02 |
#define HFS_ROOT_PAR_ID 0x01 |
#define HFS_SIGNATURE 0x4244 /* 'BD' */ |
#define HFS_SOFT_LOCK 15 |
#define HFS_UNMOUNTED 8 |
#define HFS_XTENT_ID 0x03 |
#define HFSJ_ENDIAN_MAGIC 0x12345678 |
#define HFSJ_HEADER_MAGIC 0x4a4e4c78 |
#define HFSJ_JOURN_IN_FS 0x00 |
#define HFSJ_JOURN_NEED_INIT 0x02 |
#define HFSJ_JOURN_OTHER_DEV 0x01 |
#define HFSP_ALLOC_ID 0x06 |
#define HFSP_ATTR_EXTENTS 0x30 |
#define HFSP_ATTR_FORK 0x20 |
#define HFSP_ATTR_INLINE 0x10 |
#define HFSP_ATTRIB_ID 0x08 |
#define HFSP_BOGUS_ID 0x0F |
#define HFSP_EXT_NB 8 |
#define HFSP_FIRST_AV_ID 0x10 |
#define HFSP_IMPL_GnuP 0x476e7550 /* reserved */ |
#define HFSP_IMPL_PHpx 0x50482b78 /* reserved */ |
#define HFSP_IMPL_Resz 0x5265737a /* reserved */ |
#define HFSP_IMPL_Shnk 0x53686e6b /* in use */ |
#define HFSP_IMPL_traP 0x74726150 /* reserved */ |
#define HFSP_IMPL_Xpnd 0x58706e64 /* reserved */ |
#define HFSP_INCONSISTENT 11 |
#define HFSP_JOURNALED 13 |
#define HFSP_NO_CACHE 10 |
#define HFSP_REUSE_CNID 12 |
#define HFSP_SIGNATURE 0x482B /* 'H+' */ |
#define HFSP_STARTUP_ID 0x07 |
#define HFSP_VERSION 4 |
#define HFSX_BINARY_COMPARE 0xBC /* case sensitive HFSX */ |
#define HFSX_CASE_FOLDING 0xCF /* case insensitive HFSX */ |
#define HFSX_SIGNATURE 0x4858 /* 'HX' */ |
#define HFSX_VERSION 5 |
#define SET_BLOC_OCCUPATION | ( | tab, | |
bn | |||
) | (((tab)[(bn)/8]) |= (1<<(7-((bn)&7)))) |
#define TST_BLOC_OCCUPATION | ( | tab, | |
bn | |||
) | (((tab)[(bn)/8]) & (1<<(7-((bn)&7)))) |
typedef struct _HfsCatalog HfsCatalog |
typedef struct _HfsCatalogKey HfsCatalogKey |
typedef struct _HfsCPrivateLeafRec HfsCPrivateLeafRec |
typedef struct _HfsDir HfsDir |
typedef struct _HfsDirTh HfsDirTh |
typedef HfsExtDescriptor HfsExtDataRec[HFS_EXT_NB] |
typedef struct _HfsExtDescriptor HfsExtDescriptor |
typedef struct _HfsExtentKey HfsExtentKey |
typedef struct _HfsFile HfsFile |
typedef struct _HfsDirTh HfsFileTh |
typedef struct _HfsHeaderRecord HfsHeaderRecord |
typedef struct _HfsJBlockInfo HfsJBlockInfo |
typedef struct _HfsJBlockListHeader HfsJBlockListHeader |
typedef struct _HfsJJournalHeader HfsJJournalHeader |
typedef struct _HfsJJournalInfoBlock HfsJJournalInfoBlock |
typedef struct _HfsMasterDirectoryBlock HfsMasterDirectoryBlock |
typedef struct _HfsNodeDescriptor HfsNodeDescriptor |
typedef struct _HfsPCatalog HfsPCatalog |
typedef struct _HfsPCatalogKey HfsPCatalogKey |
typedef struct _HfsPDir HfsPDir |
typedef struct _HfsPThread HfsPDirTh |
typedef HfsPExtDescriptor HfsPExtDataRec[HFSP_EXT_NB] |
typedef struct _HfsPExtDescriptor HfsPExtDescriptor |
typedef struct _HfsPExtentKey HfsPExtentKey |
typedef struct _HfsPFile HfsPFile |
typedef struct _HfsPThread HfsPFileTh |
typedef struct _HfsPForkData HfsPForkData |
typedef struct _HfsPForkDataAttr HfsPForkDataAttr |
typedef struct _HfsPHeaderRecord HfsPHeaderRecord |
typedef struct _HfsPNodeDescriptor HfsPNodeDescriptor |
typedef uint32_t HfsPNodeID |
typedef struct _HfsPPerms HfsPPerms |
typedef struct _HfsPPrivateExtent HfsPPrivateExtent |
typedef struct _HfsPPrivateFile HfsPPrivateFile |
typedef struct _HfsPPrivateFSData HfsPPrivateFSData |
typedef struct _HfsPPrivateGenericKey HfsPPrivateGenericKey |
typedef struct _HfsPPrivateLinkExtent HfsPPrivateLinkExtent |
typedef struct _HfsPrivateFile HfsPrivateFile |
typedef struct _HfsPrivateFSData HfsPrivateFSData |
typedef struct _HfsPrivateGenericKey HfsPrivateGenericKey |
typedef struct _HfsPrivateLinkExtent HfsPrivateLinkExtent |
typedef struct _HfsPUniStr255 HfsPUniStr255 |
typedef struct _HfsPVolumeHeader HfsPVolumeHeader |
typedef uint16_t unichar |
struct __attribute__ | ( | (packed) | ) |
|
extern |
|
extern |
|
extern |
|
extern |