Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/char/tpm/tpm2-cmd.c tpm2_get_random() -> tpm2_start_auth_session()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.driver_data->state 0-9223372036854775799
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.done 0
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->flags 2-u32max
PARAM_VALUE 0 chip->ops_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 chip->ops_sem.first_waiter->type 0-1
PARAM_VALUE 0 chip->tpm_mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->prev 5159360019465732096
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->flags 0x2,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->ops_sem
LOCK2 0 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

drivers/char/tpm/tpm2-cmd.c tpm2_pcr_extend() -> tpm2_start_auth_session()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.driver_data->state 0-9223372036854775799
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.done 0
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->flags 2-u32max
PARAM_VALUE 0 chip->nr_allocated_banks 0-s32max
PARAM_VALUE 0 chip->ops_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 chip->ops_sem.first_waiter->type 0-1
PARAM_VALUE 0 chip->tpm_mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->prev 5159360019465732096
CAPPED_DATA 0 chip->nr_allocated_banks 1
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->flags 0x2,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->ops_sem
LOCK2 0 &chip->tpm_mutex
HALF_LOCKED2 global &ima_extend_list_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

security/keys/trusted-keys/trusted_tpm2.c tpm2_load_cmd() -> tpm2_start_auth_session()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->dev.driver_data->state 0-9223372036854775799
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.done 0
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 chip->ops->cmd_ready 0,4096-ptr_max
PARAM_VALUE 0 chip->ops_sem.dep_map->name 0-255
PARAM_VALUE 0 chip->ops_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 chip->ops_sem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 chip->ops_sem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 chip->ops_sem.first_waiter->type 0-1
PARAM_VALUE 0 chip->tpm_mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
DATA_SOURCE 0 chip $0
LOCK2 0 &chip->ops_sem
LOCK2 0 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm2_start_auth_session()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.driver_data->locality_count 0-4294967295
PARAM_VALUE 0 chip->dev.driver_data->state 0-9223372036854775799
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.done 0
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 chip->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 chip->ops->cmd_ready 0,4096-ptr_max
PARAM_VALUE 0 chip->ops->go_idle 0,4096-ptr_max
PARAM_VALUE 0 chip->ops_sem.dep_map->name 0-255
PARAM_VALUE 0 chip->ops_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 chip->ops_sem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 chip->ops_sem.first_waiter->type 0-1
PARAM_VALUE 0 chip->tpm_mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
DATA_SOURCE 0 chip $0
LOCK2 0 &chip->ops_sem
LOCK2 0 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

security/keys/trusted-keys/trusted_tpm2.c tpm2_unseal_cmd() -> tpm2_start_auth_session()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->auth->aes_key.k->rndkeys 0-255
PARAM_VALUE 0 chip->auth->aes_key.nrounds 10,12,14
PARAM_VALUE 0 chip->auth->attrs 1,33,65-66
PARAM_VALUE 0 chip->auth->handle 0-255
PARAM_VALUE 0 chip->auth->ordinal 0-4294967295
PARAM_VALUE 0 chip->auth->passphrase_len s32min-s32max
PARAM_VALUE 0 chip->auth->session 1-s32max
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 chip->dev.driver_data->locality_count_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->dev.driver_data->state 0-9223372036854775799
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.done 0
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 chip->ops->cmd_ready 0,4096-ptr_max
PARAM_VALUE 0 chip->ops_sem.dep_map->name 0-255
PARAM_VALUE 0 chip->ops_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 chip->ops_sem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 chip->ops_sem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 chip->ops_sem.first_waiter->type 0-1
PARAM_VALUE 0 chip->tpm_mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 *chip->auth->name_h 0-4294967295
PARAM_VALUE 0 *chip->auth->our_nonce 0-255
PARAM_VALUE 0 *chip->auth->passphrase 0-255
PARAM_VALUE 0 *chip->auth->scratch 0-255
PARAM_VALUE 0 *chip->auth->tpm_nonce 0-255
DATA_SOURCE 0 chip $0
LOCK2 0 &chip->ops_sem
LOCK2 0 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex