Lines Matching refs:desc
588 return walk_iomem_res_desc(crashk_res.desc, in kexec_walk_resources()
677 struct shash_desc *desc; in kexec_calculate_store_digests() local
697 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in kexec_calculate_store_digests()
698 desc = kzalloc(desc_size, GFP_KERNEL); in kexec_calculate_store_digests()
699 if (!desc) { in kexec_calculate_store_digests()
711 desc->tfm = tfm; in kexec_calculate_store_digests()
713 ret = crypto_shash_init(desc); in kexec_calculate_store_digests()
734 ret = crypto_shash_update(desc, ksegment->kbuf, in kexec_calculate_store_digests()
749 ret = crypto_shash_update(desc, zero_buf, bytes); in kexec_calculate_store_digests()
764 ret = crypto_shash_final(desc, digest); in kexec_calculate_store_digests()
783 kfree(desc); in kexec_calculate_store_digests()