Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 cc->key_string 0
BUF_SIZE 0 cc 16,40-s32max
BUF_SIZE 0 cc 16,40-s32max
DATA_SOURCE 0 cc $0
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-crypt.c crypt_set_keyring_key() -> crypt_setkey()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 *cc->key 0-255
BUF_SIZE 0 cc 16,40-s32max
BUF_SIZE 0 cc 16,40-s32max
DATA_SOURCE 0 cc $0
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-crypt.c crypt_wipe_key() -> crypt_setkey()

Type Parameter Key Value
PARAM_VALUE 0 cc 4096-ptr_max
PARAM_VALUE 0 cc->iv_gen_ops 0,4096-ptr_max
PARAM_VALUE 0 cc->iv_gen_ops->wipe 0,2103142863556907008,2200986808028323840,7301564220461129728
PARAM_VALUE 0 cc->key_string 0
BUF_SIZE 0 cc 16,40-s32max
BUF_SIZE 0 cc 16,40-s32max
DATA_SOURCE 0 cc $0
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier