Home
last modified time | relevance | path

Searched refs:mapping_state (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/
Dencodings.h143 unsigned mapping_state : 4; member
147 unsigned mapping_state : 4;
834 static inline bool vdo_is_state_compressed(const enum block_mapping_state mapping_state) in vdo_is_state_compressed() argument
836 return (mapping_state > VDO_MAPPING_STATE_UNCOMPRESSED); in vdo_is_state_compressed()
840 vdo_pack_block_map_entry(physical_block_number_t pbn, enum block_mapping_state mapping_state) in vdo_pack_block_map_entry() argument
843 .mapping_state = (mapping_state & 0x0F), in vdo_pack_block_map_entry()
856 .state = entry->mapping_state, in vdo_unpack_block_map_entry()
Dpacker.h97 int vdo_get_compressed_block_fragment(enum block_mapping_state mapping_state,
Dpacker.c46 int vdo_get_compressed_block_fragment(enum block_mapping_state mapping_state, in vdo_get_compressed_block_fragment() argument
56 if (!vdo_is_state_compressed(mapping_state)) in vdo_get_compressed_block_fragment()
63 slot = mapping_state - VDO_MAPPING_STATE_COMPRESSED_BASE; in vdo_get_compressed_block_fragment()
Dblock-map.h365 enum block_mapping_state mapping_state,
Ddata-vio.h661 enum block_mapping_state mapping_state,
Ddata-vio.c1445 enum block_mapping_state mapping_state, char *buffer) in uncompress_data_vio() argument
1450 int result = vdo_get_compressed_block_fragment(mapping_state, block, in uncompress_data_vio()
Dblock-map.c112 .mapping_state = VDO_MAPPING_STATE_UNMAPPED & 0x0F,
3193 enum block_mapping_state mapping_state, in vdo_update_block_map_page() argument
3204 vdo_pack_block_map_entry(pbn, mapping_state); in vdo_update_block_map_page()