Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-crypt.c crypt_ctr_cipher() -> crypt_set_key()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 cc->cipher_string 4096-ptr_max
PARAM_VALUE 1 key 4096-ptr_max
BUF_SIZE 0 cc 1752-s32max
BUF_SIZE 0 cc 1752-s32max
DATA_SOURCE 1 key $2
HALF_LOCKED2 &md->type_lock

drivers/md/dm-crypt.c crypt_message() -> crypt_set_key()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 cc->key_size 0-s32max
PARAM_VALUE 1 key 4096-ptr_max
BUF_SIZE 0 cc 16,40-s32max
BUF_SIZE 0 cc 16,40-s32max
CAPPED_DATA 0 cc->key_size 1
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier