le2h
return le2h(GetHeader()->blk_level);
return le2h(GetHeader()->blk_nr_item);
return le2h(GetHeader()->blk_free_space);
uint32 GetBlockNumber() const { return le2h(dc_block_number); }
uint16 GetSize() const { return le2h(dc_size); }
uint32 GetOffset() const { return le2h(deh_offset); }
uint32 GetDirID() const { return le2h(deh_dir_id); }
uint32 GetObjectID() const { return le2h(deh_objectid); }
uint16 GetLocation() const { return le2h(deh_location); }
uint16 GetState() const { return le2h(deh_state); }
number = le2h(((uint32*)GetData())[index]);
uint16 GetLen() const { return le2h(ih_item_len); }
uint16 GetLocation() const { return le2h(ih_item_location); }
uint16 GetVersion() const { return le2h(ih_version); }
? 0 : le2h(u.ih_free_space_reserved));
uint16 GetEntryCount() const { return le2h(u.ih_entry_count); }
switch (le2h(u.k_offset_v1.k_uniqueness)) {
uint32 GetDirID() const { return le2h(k_dir_id); }
uint32 GetObjectID() const { return le2h(k_objectid); }
: le2h(u.k_offset_v1.k_offset));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_mode)
: le2h(fOldData->sd_mode));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_nlink)
: le2h(fOldData->sd_nlink));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_uid)
: le2h(fOldData->sd_uid));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_gid)
: le2h(fOldData->sd_gid));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_size)
: le2h(fOldData->sd_size));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_atime)
: le2h(fOldData->sd_atime));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_mtime)
: le2h(fOldData->sd_mtime));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_ctime)
: le2h(fOldData->sd_ctime));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->sd_blocks)
: le2h(fOldData->u.sd_blocks));
return (GetVersion() == STAT_DATA_V2 ? le2h(fCurrentData->u.sd_rdev)
: le2h(fOldData->u.sd_rdev));
? le2h(fCurrentData->u.sd_generation) : 0);
? le2h(fCurrentData->s_blocksize) : le2h(fOldData->s_blocksize));
? le2h(fCurrentData->s_block_count)
: le2h(fOldData->s_block_count));
? le2h(fCurrentData->s_free_blocks)
: le2h(fOldData->s_free_blocks));
? le2h(fCurrentData->s_version) : REISERFS_VERSION_0);
? le2h(fCurrentData->s_root_block) : le2h(fOldData->s_root_block));
? le2h(fCurrentData->s_state) : le2h(fOldData->s_state));
? le2h(fCurrentData->s_hash_function_code) : UNSET_HASH);
? le2h(fCurrentData->s_tree_height)
: le2h(fOldData->s_tree_height));