Home
last modified time | relevance | path

Searched refs:qe (Results 1 – 3 of 3) sorted by relevance

/security/integrity/ima/
Dima_queue.c55 struct ima_queue_entry *qe, *ret = NULL; in ima_lookup_digest_entry() local
61 hlist_for_each_entry_rcu(qe, &ima_htable.queue[key], hnext) { in ima_lookup_digest_entry()
62 rc = memcmp(qe->entry->digest, digest_value, TPM_DIGEST_SIZE); in ima_lookup_digest_entry()
63 if ((rc == 0) && (qe->entry->pcr == pcr)) { in ima_lookup_digest_entry()
64 ret = qe; in ima_lookup_digest_entry()
99 struct ima_queue_entry *qe; in ima_add_digest_entry() local
102 qe = kmalloc(sizeof(*qe), GFP_KERNEL); in ima_add_digest_entry()
103 if (qe == NULL) { in ima_add_digest_entry()
107 qe->entry = entry; in ima_add_digest_entry()
109 INIT_LIST_HEAD(&qe->later); in ima_add_digest_entry()
[all …]
Dima_fs.c82 struct ima_queue_entry *qe; in ima_measurements_start() local
86 list_for_each_entry_rcu(qe, &ima_measurements, later) { in ima_measurements_start()
89 return qe; in ima_measurements_start()
98 struct ima_queue_entry *qe = v; in ima_measurements_next() local
104 qe = list_entry_rcu(qe->later.next, struct ima_queue_entry, later); in ima_measurements_next()
108 return (&qe->later == &ima_measurements) ? NULL : qe; in ima_measurements_next()
132 struct ima_queue_entry *qe = v; in ima_measurements_show() local
140 e = qe->entry; in ima_measurements_show()
221 struct ima_queue_entry *qe = v; in ima_ascii_measurements_show() local
227 e = qe->entry; in ima_ascii_measurements_show()
Dima_kexec.c22 struct ima_queue_entry *qe; in ima_dump_measurement_list() local
40 list_for_each_entry_rcu(qe, &ima_measurements, later) { in ima_dump_measurement_list()
43 ima_measurements_show(&file, qe); in ima_dump_measurement_list()