Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/integrity/ima/ima_template_lib.c ima_eventdigest_init() -> ima_eventdigest_init_common()

Type Parameter Key Value
PARAM_VALUE 1 digestsize 0-255
PARAM_VALUE 2 digest_type 2
PARAM_VALUE 3 hash_algo 23
PARAM_VALUE 4 field_data 4096-ptr_max
DATA_SOURCE 4 field_data $1
FUZZY_MAX 1 digestsize 20
RX_PATH
TASK_NOT_RUNNING
UNITS 1 digestsize unit_byte
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

security/integrity/ima/ima_template_lib.c ima_eventdigest_modsig_init() -> ima_eventdigest_init_common()

Type Parameter Key Value
PARAM_VALUE 0 *digest 0-255
PARAM_VALUE 2 digest_type 2
PARAM_VALUE 4 field_data 4096-ptr_max
DATA_SOURCE 4 field_data $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 3 hash_algo
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

security/integrity/ima/ima_template_lib.c ima_eventdigest_ng_init() -> ima_eventdigest_init_common()

Type Parameter Key Value
PARAM_VALUE 1 digestsize 0-255
PARAM_VALUE 2 digest_type 2
PARAM_VALUE 4 field_data 4096-ptr_max
DATA_SOURCE 4 field_data $1
FUZZY_MAX 1 digestsize 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 digestsize unit_byte
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

security/integrity/ima/ima_template_lib.c ima_eventdigest_ngv2_init() -> ima_eventdigest_init_common()

Type Parameter Key Value
PARAM_VALUE 1 digestsize 0-255
PARAM_VALUE 2 digest_type 0-1
PARAM_VALUE 4 field_data 4096-ptr_max
DATA_SOURCE 4 field_data $1
FUZZY_MAX 1 digestsize 0
FUZZY_MAX 2 digest_type 1
HARD_MAX 2 digest_type 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 digestsize unit_byte
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem