Lines Matching refs:template_desc
742 struct ima_template_desc **template_desc, in ima_match_policy() argument
749 if (template_desc && !*template_desc) in ima_match_policy()
750 *template_desc = ima_template_desc_current(); in ima_match_policy()
785 if (template_desc && entry->template) in ima_match_policy()
786 *template_desc = entry->template; in ima_match_policy()
1413 struct ima_template_desc *template_desc; in ima_parse_rule() local
1868 template_desc = lookup_template_desc(args[0].from); in ima_parse_rule()
1869 if (!template_desc || entry->template) { in ima_parse_rule()
1879 template_desc_init_fields(template_desc->fmt, in ima_parse_rule()
1880 &(template_desc->fields), in ima_parse_rule()
1881 &(template_desc->num_fields)); in ima_parse_rule()
1882 entry->template = template_desc; in ima_parse_rule()
1896 template_desc = entry->template ? entry->template : in ima_parse_rule()
1898 check_template_modsig(template_desc); in ima_parse_rule()
1904 template_desc = entry->template ? entry->template : in ima_parse_rule()
1906 check_template_field(template_desc, "d-ngv2", in ima_parse_rule()