Lines Matching defs:template
60 pr_err("invalid hash algorithm \"%s\" for template \"%s\"",
331 * template format and whether the file was already measured.
433 struct ima_template_desc *template;
452 MMAP_CHECK, &pcr, &template, 0);
823 struct ima_template_desc *template = NULL;
845 &pcr, &template, keyring);
853 if (!template) {
854 template = lookup_template_desc("ima-buf");
855 ret = template_desc_init_fields(template->fmt,
856 &(template->fields),
857 &(template->num_fields));
859 pr_err("template %s init failed, result: %d\n",
860 (strlen(template->name) ?
861 template->name : template->fmt), ret);
876 ret = ima_alloc_init_template(&event_data, &entry, template);