Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/dm-vdo/
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()
941 static void fork_hash_lock(struct hash_lock *old_lock, struct data_vio *new_agent) in fork_hash_lock() argument
946 result = acquire_lock(new_agent->hash_zone, &new_agent->record_name, old_lock, in fork_hash_lock()
[all …]
Dblock-map.c2072 sequence_number_t old_lock; in finish_block_map_allocation() local
2085 old_lock = tree_page->recovery_lock; in finish_block_map_allocation()
2101 if (old_lock == 0) in finish_block_map_allocation()
2104 old_lock, tree_page->recovery_lock); in finish_block_map_allocation()
3235 sequence_number_t old_lock; in put_mapping_in_fetched_page() local
3253 old_lock = info->recovery_lock; in put_mapping_in_fetched_page()
3259 VDO_CACHE_PAGE, old_lock, info->recovery_lock); in put_mapping_in_fetched_page()
/linux-6.12.1/kernel/
Daudit.c1129 u32 old_lock, u32 new_lock, int res) in audit_log_feature_change() argument
1142 !!old_lock, !!new_lock, res); in audit_log_feature_change()
1156 u32 old_feature, new_feature, old_lock, new_lock; in audit_set_feature() local
1165 old_lock = af.lock & feature; in audit_set_feature()
1168 if (old_lock && (new_feature != old_feature)) { in audit_set_feature()
1170 old_lock, new_lock, 0); in audit_set_feature()
1177 u32 old_feature, new_feature, old_lock, new_lock; in audit_set_feature() local
1185 old_lock = af.lock & feature; in audit_set_feature()
1190 old_lock, new_lock, 1); in audit_set_feature()