Lines Matching refs:num_targets
104 unsigned int num_targets, bool noio) in dm_ima_alloc_and_copy_device_data() argument
122 md->disk->minors, num_targets); in dm_ima_alloc_and_copy_device_data()
187 unsigned int num_targets, i; in dm_ima_measure_on_table_load() local
211 num_targets = dm_table_get_num_targets(table); in dm_ima_measure_on_table_load()
213 if (dm_ima_alloc_and_copy_device_data(table->md, &device_data_buf, num_targets, noio)) in dm_ima_measure_on_table_load()
237 for (i = 0; i < num_targets; i++) { in dm_ima_measure_on_table_load()
348 table->md->ima.inactive_table.num_targets = num_targets; in dm_ima_measure_on_table_load()
407 md->ima.active_table.num_targets = 0; in dm_ima_measure_on_device_resume()
421 md->ima.active_table.num_targets = md->ima.inactive_table.num_targets; in dm_ima_measure_on_device_resume()
424 md->ima.inactive_table.num_targets = 0; in dm_ima_measure_on_device_resume()
680 md->ima.inactive_table.num_targets = 0; in dm_ima_measure_on_table_clear()
692 md->ima.inactive_table.num_targets = in dm_ima_measure_on_table_clear()
693 md->ima.active_table.num_targets; in dm_ima_measure_on_table_clear()
716 md->ima.active_table.num_targets, noio)) in dm_ima_measure_on_device_rename()