Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/char/tpm/tpm2-sessions.c tpm2_start_auth_session() -> tpm_buf_append_u8()

Type Parameter Key Value
PARAM_VALUE 0 buf 3238085801097465856
PARAM_VALUE 0 buf->data 0
PARAM_VALUE 1 value 0
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/tpm2-sessions.c tpm_buf_append_auth() -> tpm_buf_append_u8()

Type Parameter Key Value
PARAM_VALUE 0 buf 1289353834079596544,2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->handles 0-1
PARAM_VALUE 1 value 0
DATA_SOURCE 0 buf $1
HARD_MAX 0 buf->handles 1
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/tpm2-sessions.c tpm_buf_append_empty_auth() -> tpm_buf_append_u8()

Type Parameter Key Value
PARAM_VALUE 0 buf 8979946474034294784
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 1 value 0
DATA_SOURCE 0 buf $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 buf 1289353834079596544,2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 1 value 1,33,65-66
DATA_SOURCE 0 buf $1
DATA_SOURCE 1 value $2 [m]
BIT_INFO 1 value 0x1,0x7f
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_vtpm_proxy.c vtpm_proxy_request_locality() -> tpm_buf_append_u8()

Type Parameter Key Value
PARAM_VALUE 0 buf 3379137064221065216
PARAM_VALUE 0 buf->data 0
PARAM_VALUE 1 value 0
DATA_SOURCE 1 value $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->ops_sem
HALF_LOCKED2 &chip->tpm_mutex
HALF_LOCKED2 &dev->mutex

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

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 value 0
DATA_SOURCE 0 buf $0
NOCHECK_CALL

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

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->handles 0
PARAM_VALUE 1 value 0
DATA_SOURCE 0 buf $0
NOCHECK_CALL

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

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->handles 0
PARAM_VALUE 1 value 0
DATA_SOURCE 0 buf $0
NOCHECK_CALL

drivers/char/tpm/tpm2-cmd.c tpm2_do_selftest() -> tpm_buf_append_u8()

Type Parameter Key Value
PARAM_VALUE 0 buf 6267099816396873728
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 value 0-1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/char/tpm/tpm2-cmd.c tpm2_pcr_read() -> tpm_buf_append_u8()

Type Parameter Key Value
PARAM_VALUE 0 buf 8607141726755409920
PARAM_VALUE 0 buf->data 0
PARAM_VALUE 1 value 3
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_buf_append_auth() -> tpm_buf_append_u8()

Type Parameter Key Value
PARAM_VALUE 0 buf 4765448974262747136
PARAM_VALUE 0 buf->data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 buf->handles 0
PARAM_VALUE 1 value 0
DATA_SOURCE 0 buf $0
DATA_SOURCE 1 value $4
NOCHECK_CALL
LOCK2 &chip->ops_sem
LOCK2 &chip->tpm_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex