Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->template_desc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 global &ima_write_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->template_desc 4096-ptr_max
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->pcr 10
PARAM_VALUE 0 entry->template_desc 4096-ptr_max
NOCHECK_CALL
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

security/integrity/ima/ima_api.c ima_alloc_init_template() -> ima_free_template_entry()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
BUF_SIZE 0 entry 32-u64max
DATA_SOURCE 0 entry r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->template_desc 4096-ptr_max
NOCHECK_CALL
LOCK2 &iint->mutex
TYPE_LOCK (struct ima_iint_cache)->mutex

security/integrity/ima/ima_template.c ima_restore_template_data() -> ima_free_template_entry()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
BUF_SIZE 0 entry 32-34359738384
DATA_SOURCE 0 entry r _kzalloc_noprof
NOCHECK_CALL