Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

block/blk-crypto-profile.c blk_crypto_get_keyslot() -> (struct blk_crypto_ll_ops)->keyslot_program()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->dev 0,4096-ptr_max
PARAM_VALUE 0 profile->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 profile->dev->class 0,4096-ptr_max
PARAM_VALUE 0 profile->dev->power.request 0-4
PARAM_VALUE 0 profile->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 profile->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 profile->dev->type 0,4096-ptr_max
PARAM_VALUE 0 profile->lock.dep_map->name 0-255
PARAM_VALUE 0 profile->lock.first_waiter->handoff_set 1
PARAM_VALUE 0 profile->lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 profile->lock.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 profile->lock.first_waiter->type 0-1
PARAM_VALUE 0 profile->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 profile->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 profile->num_slots 1-u32max
CAPPED_DATA 0 &profile->idle_slots 1
CAPPED_DATA 0 &profile->lock 1
DATA_SOURCE 0 profile $0
DATA_SOURCE 1 key $1
DATA_SOURCE 2 slot r blk_crypto_keyslot_index
CONTAINER 0 -0-0+0 $(-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

block/blk-crypto-profile.c blk_crypto_reprogram_all_keys() -> (struct blk_crypto_ll_ops)->keyslot_program()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->lock.dep_map->name 0-255
PARAM_VALUE 0 profile->lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 profile->lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 profile->lock.first_waiter->type 0-1
PARAM_VALUE 0 profile->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 profile->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 profile->lock.wait_lock.owner (-1)
PARAM_VALUE 0 profile->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 profile->num_slots 1-u32max
PARAM_VALUE 0 profile->slots 4096-ptr_max
PARAM_VALUE 1 key 1-u64max
CAPPED_DATA 0 &profile->lock 1
CAPPED_DATA 2 slot 1
DATA_SOURCE 0 profile $0
CONTAINER 0 -0-0+0 $(-1)
PARAM_COMPARE 0 profile->num_slots > $2
PARAM_COMPARE 2 slot < $0->num_slots
CONSTRAINT 2 slot <3948
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &profile->lock
TYPE_LOCK (struct blk_crypto_profile)->lock