Lines Matching refs:trd
318 struct dm_verity_loadpin_trusted_root_digest *trd; in read_trusted_verity_root_digests() local
339 trd = kzalloc(struct_size(trd, data, len), GFP_KERNEL); in read_trusted_verity_root_digests()
340 if (!trd) { in read_trusted_verity_root_digests()
344 trd->len = len; in read_trusted_verity_root_digests()
346 if (hex2bin(trd->data, d, len)) { in read_trusted_verity_root_digests()
347 kfree(trd); in read_trusted_verity_root_digests()
352 list_add_tail(&trd->node, &dm_verity_loadpin_trusted_root_digests); in read_trusted_verity_root_digests()
369 struct dm_verity_loadpin_trusted_root_digest *trd, *tmp; in read_trusted_verity_root_digests() local
371 list_for_each_entry_safe(trd, tmp, &dm_verity_loadpin_trusted_root_digests, node) { in read_trusted_verity_root_digests()
372 list_del(&trd->node); in read_trusted_verity_root_digests()
373 kfree(trd); in read_trusted_verity_root_digests()