Searched refs:counter_storage (Results 1 – 1 of 1) sorted by relevance
360 let mut counter_storage = ctx.borrow_mut(); in sim_set_nv_counter_for_image() localVariable361 if image_index as usize >= counter_storage.storage.len() { in sim_set_nv_counter_for_image()365 if counter_storage.storage[image_index as usize] > security_counter_value { in sim_set_nv_counter_for_image()371 counter_storage.storage[image_index as usize] = security_counter_value; in sim_set_nv_counter_for_image()381 let counter_storage = ctx.borrow(); in sim_get_nv_counter_for_image() localVariable382 if image_index as usize >= counter_storage.storage.len() { in sim_get_nv_counter_for_image()386 unsafe { *security_counter_value = counter_storage.storage[image_index as usize] }; in sim_get_nv_counter_for_image()