• Home
  • Raw
  • Download

Lines Matching refs:from_cblock

705 	disk_super->cache_blocks = cpu_to_le32(from_cblock(cmd->cache_blocks));  in __commit_transaction()
895 r = dm_array_get_value(&cmd->info, cmd->root, from_cblock(b), &value); in block_clean_combined_dirty()
921 (unsigned long long) from_cblock(begin)); in blocks_are_clean_combined_dirty()
925 begin = to_cblock(from_cblock(begin) + 1); in blocks_are_clean_combined_dirty()
939 if (from_cblock(cmd->cache_blocks) == 0) in blocks_are_clean_separate_dirty()
944 from_cblock(cmd->cache_blocks), &cmd->dirty_cursor); in blocks_are_clean_separate_dirty()
950 r = dm_bitset_cursor_skip(&cmd->dirty_cursor, from_cblock(begin)); in blocks_are_clean_separate_dirty()
965 (unsigned long long) from_cblock(begin)); in blocks_are_clean_separate_dirty()
971 begin = to_cblock(from_cblock(begin) + 1); in blocks_are_clean_separate_dirty()
1057 if (from_cblock(new_cache_size) < from_cblock(cmd->cache_blocks)) { in dm_cache_resize()
1072 r = dm_array_resize(&cmd->info, cmd->root, from_cblock(cmd->cache_blocks), in dm_cache_resize()
1073 from_cblock(new_cache_size), in dm_cache_resize()
1080 from_cblock(cmd->cache_blocks), from_cblock(new_cache_size), in dm_cache_resize()
1230 r = dm_array_set_value(&cmd->info, cmd->root, from_cblock(cblock), in __remove()
1257 r = dm_array_set_value(&cmd->info, cmd->root, from_cblock(cblock), in __insert()
1361 (unsigned long long) from_cblock(to_cblock(cb))); in __load_mapping_v1()
1403 (unsigned long long) from_cblock(to_cblock(cb))); in __load_mapping_v2()
1419 if (from_cblock(cmd->cache_blocks) == 0) in __load_mappings()
1437 from_cblock(cmd->cache_blocks), in __load_mappings()
1463 if (cb >= (from_cblock(cmd->cache_blocks) - 1)) in __load_mappings()
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()
1602 if (nr_bits != from_cblock(cmd->cache_blocks)) { in __set_dirty_bits_v2()
1736 from_cblock(cmd->cache_blocks), in write_hints()