Lines Matching refs:num_fields
96 for (i = 0; i < ima_template->num_fields; i++) in ima_template_has_modsig()
210 int *num_fields) in template_desc_init_fields() argument
217 if (num_fields && *num_fields > 0) /* already initialized? */ in template_desc_init_fields()
247 if (fields && num_fields) { in template_desc_init_fields()
253 *num_fields = i; in template_desc_init_fields()
300 &(template->num_fields)); in ima_init_template()
316 &(template->num_fields)); in ima_init_template()
366 template_desc->num_fields), GFP_NOFS); in ima_restore_template_data()
380 NULL, template_desc->num_fields, in ima_restore_template_data()
390 for (i = 0; i < template_desc->num_fields; i++) { in ima_restore_template_data()
502 &(template_desc->num_fields)); in ima_restore_measurement_list()