Home
last modified time | relevance | path

Searched refs:slot_refs (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/block/
H A Dkeyslot-manager.c39 atomic_t slot_refs; member
170 if (atomic_inc_return(&slot->slot_refs) == 1) { in blk_ksm_find_and_grab_keyslot()
251 atomic_set(&slot->slot_refs, 1); in blk_ksm_get_slot_for_key()
277 if (atomic_dec_and_lock_irqsave(&slot->slot_refs, in blk_ksm_put_slot()
330 if (WARN_ON_ONCE(atomic_read(&slot->slot_refs) != 0)) { in blk_ksm_evict_key()
/kernel/linux/linux-6.6/block/
H A Dblk-crypto-profile.c38 atomic_t slot_refs; member
213 if (atomic_inc_return(&slot->slot_refs) == 1) { in blk_crypto_find_and_grab_keyslot()
309 atomic_set(&slot->slot_refs, 1); in blk_crypto_get_keyslot()
330 if (atomic_dec_and_lock_irqsave(&slot->slot_refs, in blk_crypto_put_keyslot()
390 if (WARN_ON_ONCE(atomic_read(&slot->slot_refs) != 0)) { in __blk_crypto_evict_key()

Completed in 2 milliseconds