Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-clone-metadata.c137 unsigned long *region_map; member
539 __set_bit(i, cmd->region_map); in __load_bitset_in_core()
541 __clear_bit(i, cmd->region_map); in __load_bitset_in_core()
582 cmd->region_map = kvmalloc(bitmap_size(cmd->nr_regions), GFP_KERNEL); in dm_clone_metadata_open()
583 if (!cmd->region_map) { in dm_clone_metadata_open()
603 if (bitmap_full(cmd->region_map, cmd->nr_regions)) in dm_clone_metadata_open()
612 kvfree(cmd->region_map); in dm_clone_metadata_open()
626 kvfree(cmd->region_map); in dm_clone_metadata_close()
637 return dm_clone_is_hydration_done(cmd) || test_bit(region_nr, cmd->region_map); in dm_clone_is_region_hydrated()
648 bit = find_next_zero_bit(cmd->region_map, cmd->nr_regions, start); in dm_clone_is_range_hydrated()
[all …]