Changeset View
Changeset View
Standalone View
Standalone View
head/sys/fs/ext2fs/ext2_extattr.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
#define EXT2_EXTATTR_BLOCK_HASH_SHIFT 16 | #define EXT2_EXTATTR_BLOCK_HASH_SHIFT 16 | ||||
struct ext2fs_extattr_header { | struct ext2fs_extattr_header { | ||||
int32_t h_magic; /* magic number for identification */ | int32_t h_magic; /* magic number for identification */ | ||||
int32_t h_refcount; /* reference count */ | int32_t h_refcount; /* reference count */ | ||||
int32_t h_blocks; /* number of disk blocks used */ | int32_t h_blocks; /* number of disk blocks used */ | ||||
int32_t h_hash; /* hash value of all attributes */ | int32_t h_hash; /* hash value of all attributes */ | ||||
uint32_t h_reserved[4]; /* zero right now */ | int32_t h_checksum; /* crc32c(uuid+id+xattrblock) */ | ||||
/* id = inum if refcount=1, blknum otherwise */ | |||||
uint32_t h_reserved[3]; /* zero right now */ | |||||
}; | }; | ||||
struct ext2fs_extattr_dinode_header { | struct ext2fs_extattr_dinode_header { | ||||
int32_t h_magic; /* magic number for identification */ | int32_t h_magic; /* magic number for identification */ | ||||
}; | }; | ||||
struct ext2fs_extattr_entry { | struct ext2fs_extattr_entry { | ||||
uint8_t e_name_len; /* length of name */ | uint8_t e_name_len; /* length of name */ | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |