Lines Matching refs:result
140 int result = 0; in ima_pcr_extend() local
143 return result; in ima_pcr_extend()
145 result = tpm_pcr_extend(ima_tpm_chip, pcr, digests_arg); in ima_pcr_extend()
146 if (result != 0) in ima_pcr_extend()
147 pr_err("Error Communicating to TPM chip, result: %d\n", result); in ima_pcr_extend()
148 return result; in ima_pcr_extend()
168 int result = 0, tpmresult = 0; in ima_add_template_entry() local
174 result = -EEXIST; in ima_add_template_entry()
179 result = ima_add_digest_entry(entry, in ima_add_template_entry()
181 if (result < 0) { in ima_add_template_entry()
200 op, audit_cause, result, audit_info); in ima_add_template_entry()
201 return result; in ima_add_template_entry()
206 int result = 0; in ima_restore_measurement_entry() local
209 result = ima_add_digest_entry(entry, 0); in ima_restore_measurement_entry()
211 return result; in ima_restore_measurement_entry()