Lines Matching refs:result
94 int result = 0; in ima_pcr_extend() local
97 return result; in ima_pcr_extend()
99 result = tpm_pcr_extend(TPM_ANY_NUM, CONFIG_IMA_MEASURE_PCR_IDX, hash); in ima_pcr_extend()
100 if (result != 0) in ima_pcr_extend()
101 pr_err("Error Communicating to TPM chip, result: %d\n", result); in ima_pcr_extend()
102 return result; in ima_pcr_extend()
116 int result = 0, tpmresult = 0; in ima_add_template_entry() local
123 result = -EEXIST; in ima_add_template_entry()
128 result = ima_add_digest_entry(entry); in ima_add_template_entry()
129 if (result < 0) { in ima_add_template_entry()
148 op, audit_cause, result, audit_info); in ima_add_template_entry()
149 return result; in ima_add_template_entry()