Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/firmware/efi/libstub/tpm.c __calc_tpm2_event_size() -> TPM_MEMREMAP()

Type Parameter Key Value
PARAM_VALUE 0 start 1-u64max
PARAM_VALUE 1 size 0-s32max,18446744071562067968-u64max
UNITS 0 start unit_byte
UNITS 1 size unit_byte

drivers/firmware/efi/libstub/tpm.c __calc_tpm2_event_size() -> TPM_MEMREMAP()

Type Parameter Key Value
PARAM_VALUE 0 start 4096-u64max
PARAM_VALUE 1 size 2
UNITS 0 start unit_byte
UNITS 1 size unit_byte

drivers/firmware/efi/libstub/tpm.c __calc_tpm2_event_size() -> TPM_MEMREMAP()

Type Parameter Key Value
PARAM_VALUE 0 start 4096-u64max
PARAM_VALUE 1 size 0-s32max,18446744071562067968-u64max
PARAM_COMPARE 0 start > $0
UNITS 0 start unit_byte
UNITS 1 size unit_byte

drivers/char/tpm/eventlog/tpm2.c __calc_tpm2_event_size() -> TPM_MEMREMAP()

Type Parameter Key Value
PARAM_VALUE 1 size 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 start (-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 start unit_byte
UNITS 1 size unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/char/tpm/eventlog/tpm2.c __calc_tpm2_event_size() -> TPM_MEMREMAP()

Type Parameter Key Value
PARAM_VALUE 0 start 4096-u64max
PARAM_VALUE 1 size 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 start unit_byte
UNITS 1 size unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/char/tpm/eventlog/tpm2.c __calc_tpm2_event_size() -> TPM_MEMREMAP()

Type Parameter Key Value
PARAM_VALUE 0 start 4096-u64max
PARAM_VALUE 1 size 0-s32max,18446744071562067968-u64max
PARAM_COMPARE 0 start > $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 start unit_byte
UNITS 1 size unit_byte
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock