Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/char/tpm/tpm2-sessions.c tpm_buf_append_hmac_session() -> tpm2_chip_auth()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
DATA_SOURCE 0 chip $0
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-sessions.c tpm_buf_append_name() -> tpm2_chip_auth()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->auth 1-u64max
DATA_SOURCE 0 chip $0
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_get_random() -> tpm2_chip_auth()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
DATA_SOURCE 0 chip $0
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

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

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
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