Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

security/integrity/ima/ima_main.c process_buffer_measurement() -> ima_store_template()

Type Parameter Key Value
PARAM_VALUE 0 entry 0,4096-ptr_max
PARAM_VALUE 1 violation 0
PARAM_VALUE 2 inode 0
PARAM_VALUE 4 pcr s32min-(-1),1-s32max
BUF_SIZE 3 filename (-1),1-1000000001,2147479553
DATA_SOURCE 4 pcr $6 [m]
FUZZY_MAX 4 pcr 10
STR_LEN 0 entry (-1),7,9-11,13
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 *filename 0-255
USER_PTR 3 filename
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 global &ima_write_mutex

security/integrity/ima/ima_init.c ima_add_boot_aggregate() -> ima_store_template()

Type Parameter Key Value
PARAM_VALUE 0 entry 0,4096-ptr_max
PARAM_VALUE 1 violation 0
PARAM_VALUE 2 inode 0
PARAM_VALUE 3 filename 1386973853826129920
PARAM_VALUE 4 pcr 10
BUF_SIZE 3 filename 20
BUF_SIZE 3 filename 20

security/integrity/ima/ima_api.c ima_add_violation() -> ima_store_template()

Type Parameter Key Value
PARAM_VALUE 0 entry 0,4096-ptr_max
PARAM_VALUE 1 violation 1
PARAM_VALUE 3 filename 1-ptr_max
PARAM_VALUE 4 pcr 10
BUF_SIZE 3 filename (-1),255
BUF_SIZE 3 filename (-1),255
DATA_SOURCE 3 filename $1
STR_LEN 0 entry 6,12
STR_LEN 3 filename 6,12
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

security/integrity/ima/ima_api.c ima_store_measurement() -> ima_store_template()

Type Parameter Key Value
PARAM_VALUE 0 entry 0,4096-ptr_max
PARAM_VALUE 1 violation 0
PARAM_VALUE 3 filename 1-ptr_max
BUF_SIZE 3 filename (-1),255
BUF_SIZE 3 filename (-1),255
DATA_SOURCE 3 filename $2
DATA_SOURCE 4 pcr $6
LOCK2 &iint->mutex
TYPE_LOCK (struct ima_iint_cache)->mutex