Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/char/tpm/tpm-buf.c tpm_buf_init_sized() -> tpm_buf_reset_sized()

Type Parameter Key Value
PARAM_VALUE 0 buf 3746597789728624640,5196016078988574720
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
DATA_SOURCE 0 buf $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 buf 3746597789728624640
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
NOCHECK_CALL
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex