Lines Matching refs:num_fields
91 for (i = 0; i < ima_template->num_fields; i++) in ima_template_has_modsig()
202 int *num_fields) in template_desc_init_fields() argument
209 if (num_fields && *num_fields > 0) /* already initialized? */ in template_desc_init_fields()
239 if (fields && num_fields) { in template_desc_init_fields()
245 *num_fields = i; in template_desc_init_fields()
292 &(template->num_fields)); in ima_init_template()
308 &(template->num_fields)); in ima_init_template()
355 template_desc->num_fields), GFP_NOFS); in ima_restore_template_data()
369 NULL, template_desc->num_fields, in ima_restore_template_data()
379 for (i = 0; i < template_desc->num_fields; i++) { in ima_restore_template_data()
491 &(template_desc->num_fields)); in ima_restore_measurement_list()