Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/char/tpm/tpm1-cmd.c tpm1_get_random() -> tpm_buf_reset()

Type Parameter Key Value
PARAM_VALUE 0 buf 6547586339947524096
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 1 tag 193
PARAM_VALUE 2 ordinal 70
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

drivers/char/tpm/tpm1-cmd.c tpm1_pm_suspend() -> tpm_buf_reset()

Type Parameter Key Value
PARAM_VALUE 0 buf 3132235788938567680
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->flags 0
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 0 buf->length 10
PARAM_VALUE 1 tag 193
PARAM_VALUE 2 ordinal 152
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
HALF_LOCKED2 &fsm->lock
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

security/keys/trusted-keys/trusted_tpm1.c oiap() -> tpm_buf_reset()

Type Parameter Key Value
PARAM_VALUE 0 buf 8256672715506819072
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->flags 0
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 0 buf->length 10
PARAM_VALUE 1 tag 193
PARAM_VALUE 2 ordinal 10
DATA_SOURCE 0 buf $0
NOCHECK_CALL

security/keys/trusted-keys/trusted_tpm1.c osap() -> tpm_buf_reset()

Type Parameter Key Value
PARAM_VALUE 0 buf 6258139523740004352
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->flags 0
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 0 buf->length 10
PARAM_VALUE 1 tag 193
PARAM_VALUE 2 ordinal 11
DATA_SOURCE 0 buf $0
NOCHECK_CALL

security/keys/trusted-keys/trusted_tpm1.c tpm_seal() -> tpm_buf_reset()

Type Parameter Key Value
PARAM_VALUE 0 buf 6258139523740004352
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->data->length 10
PARAM_VALUE 0 buf->data->ordinal 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008
PARAM_VALUE 0 buf->data->return_code 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008
PARAM_VALUE 0 buf->data->tag 0,193-195,32769-32770
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 1 tag 194
PARAM_VALUE 2 ordinal 23
DATA_SOURCE 0 buf $0
NOCHECK_CALL

security/keys/trusted-keys/trusted_tpm1.c tpm_unseal() -> tpm_buf_reset()

Type Parameter Key Value
PARAM_VALUE 0 buf 8256672715506819072
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->data->length 10
PARAM_VALUE 0 buf->data->ordinal 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008
PARAM_VALUE 0 buf->data->return_code 0,10-11,20-21,23-24,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378-379,382,386,536875008
PARAM_VALUE 0 buf->data->tag 0,193-195,32769-32770
PARAM_VALUE 0 buf->flags 0
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 0 buf->length 10
PARAM_VALUE 1 tag 195
PARAM_VALUE 2 ordinal 24
DATA_SOURCE 0 buf $0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 buf 1289353834079596544
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 1 tag 32770
PARAM_VALUE 2 ordinal 379
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex

drivers/char/tpm/tpm-buf.c tpm_buf_init() -> tpm_buf_reset()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 1 tag 0,193,32769-32770
PARAM_VALUE 2 ordinal 0,20-21,70,83,101,124,152-153,305,323-325,339,343,350,353-354,357,371,374,378,382,386,536875008
DATA_SOURCE 0 buf $0
DATA_SOURCE 1 tag $1
DATA_SOURCE 2 ordinal $2
HARD_MAX 1 tag 32770
HARD_MAX 2 ordinal 536875008
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex
HALF_LOCKED2 &of->mutex