Lines Matching refs:trd
313 struct dm_verity_loadpin_trusted_root_digest *trd; in read_trusted_verity_root_digests() local
334 trd = kzalloc(struct_size(trd, data, len), GFP_KERNEL); in read_trusted_verity_root_digests()
335 if (!trd) { in read_trusted_verity_root_digests()
339 trd->len = len; in read_trusted_verity_root_digests()
341 if (hex2bin(trd->data, d, len)) { in read_trusted_verity_root_digests()
342 kfree(trd); in read_trusted_verity_root_digests()
347 list_add_tail(&trd->node, &dm_verity_loadpin_trusted_root_digests); in read_trusted_verity_root_digests()
365 struct dm_verity_loadpin_trusted_root_digest *trd, *tmp; in read_trusted_verity_root_digests() local
367 list_for_each_entry_safe(trd, tmp, &dm_verity_loadpin_trusted_root_digests, node) { in read_trusted_verity_root_digests()
368 list_del(&trd->node); in read_trusted_verity_root_digests()
369 kfree(trd); in read_trusted_verity_root_digests()