Lines Matching refs:bitmap_lock
126 spinlock_t bitmap_lock; member
577 spin_lock_init(&cmd->bitmap_lock); in dm_clone_metadata_open()
769 spin_lock_irq(&cmd->bitmap_lock); in __flush_dmap()
771 spin_unlock_irq(&cmd->bitmap_lock); in __flush_dmap()
804 spin_lock_irq(&cmd->bitmap_lock); in dm_clone_metadata_pre_commit()
806 spin_unlock_irq(&cmd->bitmap_lock); in dm_clone_metadata_pre_commit()
855 spin_lock_irqsave(&cmd->bitmap_lock, flags); in dm_clone_set_region_hydrated()
870 spin_unlock_irqrestore(&cmd->bitmap_lock, flags); in dm_clone_set_region_hydrated()
889 spin_lock_irq(&cmd->bitmap_lock); in dm_clone_cond_set_range()
907 spin_unlock_irq(&cmd->bitmap_lock); in dm_clone_cond_set_range()
943 spin_lock_irqsave(&cmd->bitmap_lock, flags); in dm_clone_changed_this_transaction()
945 spin_unlock_irqrestore(&cmd->bitmap_lock, flags); in dm_clone_changed_this_transaction()
976 spin_lock_irq(&cmd->bitmap_lock); in dm_clone_metadata_set_read_only()
978 spin_unlock_irq(&cmd->bitmap_lock); in dm_clone_metadata_set_read_only()
990 spin_lock_irq(&cmd->bitmap_lock); in dm_clone_metadata_set_read_write()
992 spin_unlock_irq(&cmd->bitmap_lock); in dm_clone_metadata_set_read_write()