Lines Matching refs:trd
298 struct dm_verity_loadpin_trusted_root_digest *trd; in read_trusted_verity_root_digests() local
319 trd = kzalloc(struct_size(trd, data, len), GFP_KERNEL); in read_trusted_verity_root_digests()
320 if (!trd) { in read_trusted_verity_root_digests()
325 if (hex2bin(trd->data, d, len)) { in read_trusted_verity_root_digests()
326 kfree(trd); in read_trusted_verity_root_digests()
331 trd->len = len; in read_trusted_verity_root_digests()
333 list_add_tail(&trd->node, &dm_verity_loadpin_trusted_root_digests); in read_trusted_verity_root_digests()
351 struct dm_verity_loadpin_trusted_root_digest *trd, *tmp; in read_trusted_verity_root_digests() local
353 list_for_each_entry_safe(trd, tmp, &dm_verity_loadpin_trusted_root_digests, node) { in read_trusted_verity_root_digests()
354 list_del(&trd->node); in read_trusted_verity_root_digests()
355 kfree(trd); in read_trusted_verity_root_digests()