Home
last modified time | relevance | path

Searched refs:num_fields (Results 1 – 5 of 5) sorted by relevance

/security/integrity/ima/
Dima_template.c53 int *num_fields);
157 int *num_fields) in template_desc_init_fields() argument
164 if (num_fields && *num_fields > 0) /* already initialized? */ in template_desc_init_fields()
194 if (fields && num_fields) { in template_desc_init_fields()
200 *num_fields = i; in template_desc_init_fields()
238 &(template->num_fields)); in ima_init_template()
284 template_desc->num_fields * sizeof(struct ima_field_data), in ima_restore_template_data()
290 NULL, template_desc->num_fields, in ima_restore_template_data()
299 for (i = 0; i < template_desc->num_fields; i++) { in ima_restore_template_data()
411 &(template_desc->num_fields)); in ima_restore_measurement_list()
Dima_api.c31 for (i = 0; i < entry->template_desc->num_fields; i++) in ima_free_template_entry()
46 *entry = kzalloc(sizeof(**entry) + template_desc->num_fields * in ima_alloc_init_template()
52 for (i = 0; i < template_desc->num_fields; i++) { in ima_alloc_init_template()
102 int num_fields = entry->template_desc->num_fields; in ima_store_template() local
108 num_fields, &hash.hdr); in ima_store_template()
Dima_crypto.c489 int num_fields, in ima_calc_field_array_hash_tfm() argument
505 for (i = 0; i < num_fields; i++) { in ima_calc_field_array_hash_tfm()
535 struct ima_template_desc *desc, int num_fields, in ima_calc_field_array_hash() argument
545 rc = ima_calc_field_array_hash_tfm(field_data, desc, num_fields, in ima_calc_field_array_hash()
Dima.h91 int num_fields; member
141 struct ima_template_desc *desc, int num_fields,
Dima_fs.c177 for (i = 0; i < e->template_desc->num_fields; i++) { in ima_measurements_show()
244 for (i = 0; i < e->template_desc->num_fields; i++) { in ima_ascii_measurements_show()