Lines Matching refs:qe
51 struct ima_queue_entry *qe, *ret = NULL; in ima_lookup_digest_entry() local
57 hlist_for_each_entry_rcu(qe, &ima_htable.queue[key], hnext) { in ima_lookup_digest_entry()
58 rc = memcmp(qe->entry->digests[ima_hash_algo_idx].digest, in ima_lookup_digest_entry()
60 if ((rc == 0) && (qe->entry->pcr == pcr)) { in ima_lookup_digest_entry()
61 ret = qe; in ima_lookup_digest_entry()
96 struct ima_queue_entry *qe; in ima_add_digest_entry() local
99 qe = kmalloc(sizeof(*qe), GFP_KERNEL); in ima_add_digest_entry()
100 if (qe == NULL) { in ima_add_digest_entry()
104 qe->entry = entry; in ima_add_digest_entry()
106 INIT_LIST_HEAD(&qe->later); in ima_add_digest_entry()
107 list_add_tail_rcu(&qe->later, &ima_measurements); in ima_add_digest_entry()
112 hlist_add_head_rcu(&qe->hnext, &ima_htable.queue[key]); in ima_add_digest_entry()