Lines Matching refs:lock_counter

72 		? &journal->lock_counter.logical_zone_counts[lock_number]  in get_zone_count_ptr()
73 : &journal->lock_counter.physical_zone_counts[lock_number]); in get_zone_count_ptr()
89 struct lock_counter *counter = &journal->lock_counter; in get_counter()
104 return &journal->lock_counter.journal_decrement_counts[lock_number]; in get_decrement_counter()
177 prior_state = atomic_cmpxchg(&journal->lock_counter.state, in vdo_release_recovery_journal_block_reference()
186 vdo_launch_completion(&journal->lock_counter.completion); in vdo_release_recovery_journal_block_reference()
301 static bool suspend_lock_counter(struct lock_counter *counter) in suspend_lock_counter()
351 !suspend_lock_counter(&journal->lock_counter)) in check_for_drain_complete()
564 atomic_set(&journal->lock_counter.state, LOCK_COUNTER_STATE_NOT_NOTIFYING); in reap_recovery_journal_callback()
592 struct lock_counter *counter = &journal->lock_counter; in initialize_lock_counter()
790 vdo_free(vdo_forget(journal->lock_counter.logical_zone_counts)); in vdo_free_recovery_journal()
791 vdo_free(vdo_forget(journal->lock_counter.physical_zone_counts)); in vdo_free_recovery_journal()
792 vdo_free(vdo_forget(journal->lock_counter.journal_counters)); in vdo_free_recovery_journal()
793 vdo_free(vdo_forget(journal->lock_counter.journal_decrement_counts)); in vdo_free_recovery_journal()
794 vdo_free(vdo_forget(journal->lock_counter.logical_counters)); in vdo_free_recovery_journal()
795 vdo_free(vdo_forget(journal->lock_counter.physical_counters)); in vdo_free_recovery_journal()
1646 static bool resume_lock_counter(struct lock_counter *counter) in resume_lock_counter()
1684 if (resume_lock_counter(&journal->lock_counter)) { in vdo_resume_recovery_journal()