Lines Matching refs:cblock
1224 static int __remove(struct dm_cache_metadata *cmd, dm_cblock_t cblock) in __remove() argument
1230 r = dm_array_set_value(&cmd->info, cmd->root, from_cblock(cblock), in __remove()
1239 int dm_cache_remove_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock) in dm_cache_remove_mapping() argument
1244 r = __remove(cmd, cblock); in dm_cache_remove_mapping()
1251 dm_cblock_t cblock, dm_oblock_t oblock) in __insert() argument
1257 r = dm_array_set_value(&cmd->info, cmd->root, from_cblock(cblock), in __insert()
1267 dm_cblock_t cblock, dm_oblock_t oblock) in dm_cache_insert_mapping() argument
1272 r = __insert(cmd, cblock, oblock); in dm_cache_insert_mapping()
1512 static int __dump_mapping(void *context, uint64_t cblock, void *leaf) in __dump_mapping() argument
1547 static int __dirty(struct dm_cache_metadata *cmd, dm_cblock_t cblock, bool dirty) in __dirty() argument
1554 r = dm_array_get_value(&cmd->info, cmd->root, from_cblock(cblock), &value); in __dirty()
1567 r = dm_array_set_value(&cmd->info, cmd->root, from_cblock(cblock), in __dirty()