|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | hfs_name |
| struct | hfs_point |
| struct | hfs_rect |
| struct | hfs_finfo |
| struct | hfs_fxinfo |
| struct | hfs_dinfo |
| struct | hfs_dxinfo |
| union | hfs_finder_info |
| struct | hfs_cat_key |
| struct | hfs_ext_key |
| union | hfs_btree_key |
| struct | hfs_extent |
| struct | hfs_cat_file |
| struct | hfs_cat_dir |
| struct | hfs_cat_thread |
| union | hfs_cat_rec |
| struct | hfs_mdb |
| struct | hfs_readdir_data |
Macros | |
| #define | HFS_DD_BLK 0 /* Driver Descriptor block */ |
| #define | HFS_PMAP_BLK 1 /* First block of partition map */ |
| #define | HFS_MDB_BLK 2 /* Block (w/i partition) of MDB */ |
| #define | HFS_DRVR_DESC_MAGIC 0x4552 /* "ER": driver descriptor map */ |
| #define | HFS_OLD_PMAP_MAGIC 0x5453 /* "TS": old-type partition map */ |
| #define | HFS_NEW_PMAP_MAGIC 0x504D /* "PM": new-type partition map */ |
| #define | HFS_SUPER_MAGIC 0x4244 /* "BD": HFS MDB (super block) */ |
| #define | HFS_MFS_SUPER_MAGIC 0xD2D7 /* MFS MDB (super block) */ |
| #define | HFS_SECTOR_SIZE 512 /* size of an HFS sector */ |
| #define | HFS_SECTOR_SIZE_BITS 9 /* log_2(HFS_SECTOR_SIZE) */ |
| #define | HFS_NAMELEN 31 /* maximum length of an HFS filename */ |
| #define | HFS_MAX_NAMELEN 128 |
| #define | HFS_MAX_VALENCE 32767U |
| #define | HFS_SB_ATTRIB_HLOCK (1 << 7) |
| #define | HFS_SB_ATTRIB_UNMNT (1 << 8) |
| #define | HFS_SB_ATTRIB_SPARED (1 << 9) |
| #define | HFS_SB_ATTRIB_INCNSTNT (1 << 11) |
| #define | HFS_SB_ATTRIB_SLOCK (1 << 15) |
| #define | HFS_POR_CNID 1 /* Parent Of the Root */ |
| #define | HFS_ROOT_CNID 2 /* ROOT directory */ |
| #define | HFS_EXT_CNID 3 /* EXTents B-tree */ |
| #define | HFS_CAT_CNID 4 /* CATalog B-tree */ |
| #define | HFS_BAD_CNID 5 /* BAD blocks file */ |
| #define | HFS_ALLOC_CNID 6 /* ALLOCation file (HFS+) */ |
| #define | HFS_START_CNID 7 /* STARTup file (HFS+) */ |
| #define | HFS_ATTR_CNID 8 /* ATTRibutes file (HFS+) */ |
| #define | HFS_EXCH_CNID 15 /* ExchangeFiles temp id */ |
| #define | HFS_FIRSTUSER_CNID 16 |
| #define | HFS_CDR_DIR 0x01 /* folder (directory) */ |
| #define | HFS_CDR_FIL 0x02 /* file */ |
| #define | HFS_CDR_THD 0x03 /* folder (directory) thread */ |
| #define | HFS_CDR_FTH 0x04 /* file thread */ |
| #define | HFS_FK_DATA 0x00 |
| #define | HFS_FK_RSRC 0xFF |
| #define | HFS_FIL_LOCK 0x01 /* locked */ |
| #define | HFS_FIL_THD 0x02 /* file thread */ |
| #define | HFS_FIL_DOPEN 0x04 /* data fork open */ |
| #define | HFS_FIL_ROPEN 0x08 /* resource fork open */ |
| #define | HFS_FIL_DIR 0x10 /* directory (always clear) */ |
| #define | HFS_FIL_NOCOPY 0x40 /* copy-protected file */ |
| #define | HFS_FIL_USED 0x80 /* open */ |
| #define | HFS_DIR_LOCK 0x01 /* locked */ |
| #define | HFS_DIR_THD 0x02 /* directory thread */ |
| #define | HFS_DIR_INEXPFOLDER 0x04 /* in a shared area */ |
| #define | HFS_DIR_MOUNTED 0x08 /* mounted */ |
| #define | HFS_DIR_DIR 0x10 /* directory (always set) */ |
| #define | HFS_DIR_EXPFOLDER 0x20 /* share point */ |
| #define | HFS_FLG_INITED 0x0100 |
| #define | HFS_FLG_LOCKED 0x1000 |
| #define | HFS_FLG_INVISIBLE 0x4000 |
| #define | HFS_BKEY(X) (((void)((X)->KeyLen)), ((struct hfs_bkey *)(X))) |
| #define | HFS_MAX_CAT_KEYLEN (sizeof(struct hfs_cat_key) - sizeof(u8)) |
| #define | HFS_MAX_EXT_KEYLEN (sizeof(struct hfs_ext_key) - sizeof(u8)) |
Typedefs | |
| typedef union hfs_btree_key | hfs_btree_key |
| typedef union hfs_btree_key | btree_key |
| typedef struct hfs_extent | hfs_extent_rec [3] |
| typedef union hfs_cat_rec | hfs_cat_rec |
Variables | |
| struct hfs_name | __packed |
| #define HFS_DRVR_DESC_MAGIC 0x4552 /* "ER": driver descriptor map */ |
| #define HFS_MAX_CAT_KEYLEN (sizeof(struct hfs_cat_key) - sizeof(u8)) |
| #define HFS_MAX_EXT_KEYLEN (sizeof(struct hfs_ext_key) - sizeof(u8)) |
| #define HFS_NEW_PMAP_MAGIC 0x504D /* "PM": new-type partition map */ |
| #define HFS_OLD_PMAP_MAGIC 0x5453 /* "TS": old-type partition map */ |
| #define HFS_SECTOR_SIZE_BITS 9 /* log_2(HFS_SECTOR_SIZE) */ |
| #define HFS_SUPER_MAGIC 0x4244 /* "BD": HFS MDB (super block) */ |
| typedef union hfs_btree_key btree_key |
| typedef union hfs_btree_key hfs_btree_key |
| typedef union hfs_cat_rec hfs_cat_rec |
| typedef struct hfs_extent hfs_extent_rec[3] |
1.8.2