Searched refs:defined_templates (Results 1 – 1 of 1) sorted by relevance
23 static struct ima_template_desc defined_templates[] = { variable85 int num_templates = ARRAY_SIZE(defined_templates); in ima_template_fmt_setup()96 defined_templates[num_templates - 1].fmt = str; in ima_template_fmt_setup()97 ima_template = defined_templates + num_templates - 1; in ima_template_fmt_setup()106 for (i = 0; i < ARRAY_SIZE(defined_templates); i++) { in lookup_template_desc()107 if (strcmp(defined_templates[i].name, name) == 0) in lookup_template_desc()108 return defined_templates + i; in lookup_template_desc()