Home
last modified time | relevance | path

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

/linux/drivers/md/dm-vdo/
H A Ddedupe.c438 struct hash_lock *old_lock = data_vio->hash_lock; in set_hash_lock() local
440 if (old_lock != NULL) { in set_hash_lock()
445 VDO_ASSERT_LOG_ONLY(old_lock->reference_count > 0, in set_hash_lock()
448 if ((old_lock->state != VDO_HASH_LOCK_BYPASSING) && in set_hash_lock()
449 (old_lock->state != VDO_HASH_LOCK_UNLOCKING)) { in set_hash_lock()
454 VDO_ASSERT_LOG_ONLY(old_lock->reference_count > 1, in set_hash_lock()
456 get_hash_lock_state_name(old_lock->state)); in set_hash_lock()
460 old_lock->reference_count -= 1; in set_hash_lock()
943 static void fork_hash_lock(struct hash_lock *old_lock, struct data_vio *new_agent) in fork_hash_lock() argument
948 result = acquire_lock(new_agent->hash_zone, &new_agent->record_name, old_lock, in fork_hash_lock()
[all …]
H A Dblock-map.c2089 sequence_number_t old_lock; in finish_block_map_allocation() local
2102 old_lock = tree_page->recovery_lock; in finish_block_map_allocation()
2118 if (old_lock == 0) in finish_block_map_allocation()
2121 old_lock, tree_page->recovery_lock); in finish_block_map_allocation()
3267 sequence_number_t old_lock; in put_mapping_in_fetched_page() local
3285 old_lock = info->recovery_lock; in put_mapping_in_fetched_page()
3291 VDO_CACHE_PAGE, old_lock, info->recovery_lock); in put_mapping_in_fetched_page()
/linux/kernel/
H A Daudit.c1165 u32 old_lock, u32 new_lock, int res) in audit_log_feature_change() argument
1178 !!old_lock, !!new_lock, res); in audit_log_feature_change()
1192 u32 old_feature, new_feature, old_lock, new_lock; in audit_set_feature() local
1201 old_lock = af.lock & feature; in audit_set_feature()
1204 if (old_lock && (new_feature != old_feature)) { in audit_set_feature()
1206 old_lock, new_lock, 0); in audit_set_feature()
1213 u32 old_feature, new_feature, old_lock, new_lock; in audit_set_feature() local
1221 old_lock = af.lock & feature; in audit_set_feature()
1226 old_lock, new_lock, 1); in audit_set_feature()