Lines Matching refs:desc
619 return walk_iomem_res_desc(crashk_res.desc, in kexec_walk_resources()
709 struct shash_desc *desc; in kexec_calculate_store_digests() local
729 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in kexec_calculate_store_digests()
730 desc = kzalloc(desc_size, GFP_KERNEL); in kexec_calculate_store_digests()
731 if (!desc) { in kexec_calculate_store_digests()
741 desc->tfm = tfm; in kexec_calculate_store_digests()
743 ret = crypto_shash_init(desc); in kexec_calculate_store_digests()
764 ret = crypto_shash_update(desc, ksegment->kbuf, in kexec_calculate_store_digests()
779 ret = crypto_shash_update(desc, zero_buf, bytes); in kexec_calculate_store_digests()
794 ret = crypto_shash_final(desc, digest); in kexec_calculate_store_digests()
813 kfree(desc); in kexec_calculate_store_digests()