template_desc 96 security/integrity/ima/ima.h struct ima_template_desc *template_desc; /* template descriptor */ template_desc 210 security/integrity/ima/ima.h struct ima_template_desc **template_desc); template_desc 219 security/integrity/ima/ima.h struct ima_template_desc *template_desc); template_desc 224 security/integrity/ima/ima.h struct ima_template_desc *template_desc); template_desc 234 security/integrity/ima/ima.h struct ima_template_desc **template_desc); template_desc 27 security/integrity/ima/ima_api.c for (i = 0; i < entry->template_desc->num_fields; i++) template_desc 40 security/integrity/ima/ima_api.c struct ima_template_desc *template_desc; template_desc 44 security/integrity/ima/ima_api.c template_desc = desc; template_desc 46 security/integrity/ima/ima_api.c template_desc = ima_template_desc_current(); template_desc 49 security/integrity/ima/ima_api.c template_desc->num_fields), GFP_NOFS); template_desc 53 security/integrity/ima/ima_api.c (*entry)->template_desc = template_desc; template_desc 54 security/integrity/ima/ima_api.c for (i = 0; i < template_desc->num_fields; i++) { template_desc 56 security/integrity/ima/ima_api.c template_desc->fields[i]; template_desc 97 security/integrity/ima/ima_api.c char *template_name = entry->template_desc->name; template_desc 105 security/integrity/ima/ima_api.c int num_fields = entry->template_desc->num_fields; template_desc 110 security/integrity/ima/ima_api.c entry->template_desc, template_desc 186 security/integrity/ima/ima_api.c struct ima_template_desc **template_desc) template_desc 193 security/integrity/ima/ima_api.c template_desc); template_desc 297 security/integrity/ima/ima_api.c struct ima_template_desc *template_desc) template_desc 321 security/integrity/ima/ima_api.c result = ima_alloc_init_template(&event_data, &entry, template_desc); template_desc 143 security/integrity/ima/ima_fs.c template_name = (e->template_desc->name[0] != '\0') ? template_desc 144 security/integrity/ima/ima_fs.c e->template_desc->name : e->template_desc->fmt; template_desc 176 security/integrity/ima/ima_fs.c for (i = 0; i < e->template_desc->num_fields; i++) { template_desc 179 security/integrity/ima/ima_fs.c e->template_desc->fields[i]; template_desc 231 security/integrity/ima/ima_fs.c template_name = (e->template_desc->name[0] != '\0') ? template_desc 232 security/integrity/ima/ima_fs.c e->template_desc->name : e->template_desc->fmt; template_desc 244 security/integrity/ima/ima_fs.c for (i = 0; i < e->template_desc->num_fields; i++) { template_desc 249 security/integrity/ima/ima_fs.c e->template_desc->fields[i]->field_show(m, IMA_SHOW_ASCII, template_desc 48 security/integrity/ima/ima_main.c struct ima_template_desc *template_desc = ima_template_desc_current(); template_desc 54 security/integrity/ima/ima_main.c if (strcmp(template_desc->name, IMA_TEMPLATE_IMA_NAME) == 0) { template_desc 198 security/integrity/ima/ima_main.c struct ima_template_desc *template_desc = NULL; template_desc 218 security/integrity/ima/ima_main.c &template_desc); template_desc 306 security/integrity/ima/ima_main.c strcmp(template_desc->name, IMA_TEMPLATE_IMA_NAME) != 0) { template_desc 318 security/integrity/ima/ima_main.c if (!rc && ima_template_has_modsig(template_desc) && template_desc 336 security/integrity/ima/ima_main.c template_desc); template_desc 645 security/integrity/ima/ima_main.c struct ima_template_desc *template_desc = NULL; template_desc 655 security/integrity/ima/ima_main.c &template_desc); template_desc 667 security/integrity/ima/ima_main.c ret = ima_alloc_init_template(&event_data, &entry, template_desc); template_desc 494 security/integrity/ima/ima_policy.c struct ima_template_desc **template_desc) template_desc 499 security/integrity/ima/ima_policy.c if (template_desc) template_desc 500 security/integrity/ima/ima_policy.c *template_desc = ima_template_desc_current(); template_desc 530 security/integrity/ima/ima_policy.c if (template_desc && entry->template) template_desc 531 security/integrity/ima/ima_policy.c *template_desc = entry->template; template_desc 897 security/integrity/ima/ima_policy.c struct ima_template_desc *template_desc; template_desc 1206 security/integrity/ima/ima_policy.c template_desc = lookup_template_desc(args[0].from); template_desc 1207 security/integrity/ima/ima_policy.c if (!template_desc || entry->template) { template_desc 1217 security/integrity/ima/ima_policy.c template_desc_init_fields(template_desc->fmt, template_desc 1218 security/integrity/ima/ima_policy.c &(template_desc->fields), template_desc 1219 security/integrity/ima/ima_policy.c &(template_desc->num_fields)); template_desc 1220 security/integrity/ima/ima_policy.c entry->template = template_desc; template_desc 1234 security/integrity/ima/ima_policy.c template_desc = entry->template ? entry->template : template_desc 1236 security/integrity/ima/ima_policy.c check_template_modsig(template_desc); template_desc 82 security/integrity/ima/ima_queue.c size += strlen(entry->template_desc->name); template_desc 82 security/integrity/ima/ima_template.c struct ima_template_desc *template_desc; template_desc 94 security/integrity/ima/ima_template.c template_desc = lookup_template_desc(str); template_desc 95 security/integrity/ima/ima_template.c if (!template_desc) { template_desc 111 security/integrity/ima/ima_template.c ima_template = template_desc; template_desc 138 security/integrity/ima/ima_template.c struct ima_template_desc *template_desc; template_desc 142 security/integrity/ima/ima_template.c list_for_each_entry_rcu(template_desc, &defined_templates, list) { template_desc 143 security/integrity/ima/ima_template.c if ((strcmp(template_desc->name, name) == 0) || template_desc 144 security/integrity/ima/ima_template.c (strcmp(template_desc->fmt, name) == 0)) { template_desc 150 security/integrity/ima/ima_template.c return found ? template_desc : NULL; template_desc 275 security/integrity/ima/ima_template.c struct ima_template_desc *template_desc = NULL; template_desc 285 security/integrity/ima/ima_template.c template_desc = kzalloc(sizeof(*template_desc), GFP_KERNEL); template_desc 286 security/integrity/ima/ima_template.c if (!template_desc) template_desc 289 security/integrity/ima/ima_template.c template_desc->name = ""; template_desc 290 security/integrity/ima/ima_template.c template_desc->fmt = kstrdup(template_name, GFP_KERNEL); template_desc 291 security/integrity/ima/ima_template.c if (!template_desc->fmt) template_desc 295 security/integrity/ima/ima_template.c list_add_tail_rcu(&template_desc->list, &defined_templates); template_desc 298 security/integrity/ima/ima_template.c return template_desc; template_desc 301 security/integrity/ima/ima_template.c static int ima_restore_template_data(struct ima_template_desc *template_desc, template_desc 310 security/integrity/ima/ima_template.c template_desc->num_fields), GFP_NOFS); template_desc 315 security/integrity/ima/ima_template.c NULL, template_desc->num_fields, template_desc 323 security/integrity/ima/ima_template.c (*entry)->template_desc = template_desc; template_desc 324 security/integrity/ima/ima_template.c for (i = 0; i < template_desc->num_fields; i++) { template_desc 361 security/integrity/ima/ima_template.c struct ima_template_desc *template_desc; template_desc 422 security/integrity/ima/ima_template.c template_desc = lookup_template_desc(template_name); template_desc 423 security/integrity/ima/ima_template.c if (!template_desc) { template_desc 424 security/integrity/ima/ima_template.c template_desc = restore_template_fmt(template_name); template_desc 425 security/integrity/ima/ima_template.c if (!template_desc) template_desc 433 security/integrity/ima/ima_template.c ret = template_desc_init_fields(template_desc->fmt, template_desc 434 security/integrity/ima/ima_template.c &(template_desc->fields), template_desc 435 security/integrity/ima/ima_template.c &(template_desc->num_fields)); template_desc 438 security/integrity/ima/ima_template.c template_desc->fmt); template_desc 443 security/integrity/ima/ima_template.c ret = ima_restore_template_data(template_desc,