Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

block/blk-crypto-profile.c blk_crypto_find_keyslot() -> blk_crypto_hash_bucket_for_key()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
DATA_SOURCE 0 profile $0
DATA_SOURCE 1 key $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &profile->lock
TYPE_LOCK (struct blk_crypto_profile)->lock

block/blk-crypto-profile.c blk_crypto_get_keyslot() -> blk_crypto_hash_bucket_for_key()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
CAPPED_DATA 0 &profile->idle_slots 1
CAPPED_DATA 0 &profile->lock 1
DATA_SOURCE 0 profile $0
DATA_SOURCE 1 key $1
PARAM_COMPARE 0 &profile->idle_slots != $0->idle_slots.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &profile->lock
TYPE_LOCK (struct blk_crypto_profile)->lock