Lines Matching refs:template_name
325 static struct ima_template_desc *restore_template_fmt(char *template_name) in restore_template_fmt() argument
330 ret = template_desc_init_fields(template_name, NULL, NULL); in restore_template_fmt()
333 template_name); in restore_template_fmt()
342 template_desc->fmt = kstrdup(template_name, GFP_KERNEL); in restore_template_fmt()
416 char template_name[MAX_TEMPLATE_NAME_LEN]; in ima_restore_measurement_list() local
478 memcpy(template_name, hdr[HDR_TEMPLATE_NAME].data, in ima_restore_measurement_list()
480 template_name[hdr[HDR_TEMPLATE_NAME].len] = 0; in ima_restore_measurement_list()
482 if (strcmp(template_name, "ima") == 0) { in ima_restore_measurement_list()
484 template_name); in ima_restore_measurement_list()
489 template_desc = lookup_template_desc(template_name); in ima_restore_measurement_list()
491 template_desc = restore_template_fmt(template_name); in ima_restore_measurement_list()