Lines Matching refs:SecMap
273 SecMap; typedef
282 static SecMap sm_distinguished[3];
284 static INLINE Bool is_distinguished_sm ( SecMap* sm ) { in is_distinguished_sm()
289 static void update_SM_counts(SecMap* oldSM, SecMap* newSM);
294 static SecMap* copy_for_writing ( SecMap* dist_sm ) in copy_for_writing()
296 SecMap* new_sm; in copy_for_writing()
301 new_sm = VG_(am_shadow_alloc)(sizeof(SecMap)); in copy_for_writing()
304 sizeof(SecMap) ); in copy_for_writing()
305 VG_(memcpy)(new_sm, dist_sm, sizeof(SecMap)); in copy_for_writing()
337 static void update_SM_counts(SecMap* oldSM, SecMap* newSM) in update_SM_counts()
363 static SecMap* primary_map[N_PRIMARY_MAP];
375 SecMap* sm;
595 static INLINE SecMap** get_secmap_low_ptr ( Addr a ) in get_secmap_low_ptr()
604 static INLINE SecMap** get_secmap_high_ptr ( Addr a ) in get_secmap_high_ptr()
610 static INLINE SecMap** get_secmap_ptr ( Addr a ) in get_secmap_ptr()
617 static INLINE SecMap* get_secmap_for_reading_low ( Addr a ) in get_secmap_for_reading_low()
622 static INLINE SecMap* get_secmap_for_reading_high ( Addr a ) in get_secmap_for_reading_high()
627 static INLINE SecMap* get_secmap_for_writing_low(Addr a) in get_secmap_for_writing_low()
629 SecMap** p = get_secmap_low_ptr(a); in get_secmap_for_writing_low()
635 static INLINE SecMap* get_secmap_for_writing_high ( Addr a ) in get_secmap_for_writing_high()
637 SecMap** p = get_secmap_high_ptr(a); in get_secmap_for_writing_high()
648 static INLINE SecMap* get_secmap_for_reading ( Addr a ) in get_secmap_for_reading()
662 static INLINE SecMap* get_secmap_for_writing ( Addr a ) in get_secmap_for_writing()
673 static SecMap* maybe_get_secmap_for ( Addr a ) in maybe_get_secmap_for()
732 SecMap* sm = get_secmap_for_writing(a); in set_vabits2()
740 SecMap* sm = get_secmap_for_reading(a); in get_vabits2()
753 SecMap* sm = get_secmap_for_reading(a); in get_vabits8_for_aligned_word32()
762 SecMap* sm = get_secmap_for_writing(a); in set_vabits8_for_aligned_word32()
1328 SecMap* sm = get_secmap_for_reading(a); in mc_LOADVn_slow()
1339 SecMap* sm = get_secmap_for_reading(a); in mc_LOADVn_slow()
1481 SecMap* sm = get_secmap_for_reading(a); in mc_STOREVn_slow()
1503 SecMap* sm = get_secmap_for_reading(a); in mc_STOREVn_slow()
1555 SecMap* sm; in set_address_range_perms()
1556 SecMap** sm_ptr; in set_address_range_perms()
1557 SecMap* example_dsm; in set_address_range_perms()
1725 SysRes sres = VG_(am_munmap_valgrind)((Addr)*sm_ptr, sizeof(SecMap)); in set_address_range_perms()
2609 SecMap* sm; in make_aligned_word32_undefined()
2652 SecMap* sm; in make_aligned_word32_noaccess()
2693 SecMap* sm; in make_aligned_word64_undefined()
2737 SecMap* sm; in make_aligned_word64_noaccess()
3580 SecMap* sm = get_secmap_for_writing_low(a_lo); in MC_()
3581 SecMap* sm_hi = get_secmap_for_writing_low(a_hi); in MC_()
3636 SecMap* sm = get_secmap_for_writing_low(a_lo); in MC_()
3637 SecMap* sm_hi = get_secmap_for_writing_low(a_hi); in MC_()
4307 SecMap* sm; in mc_LOADV_128_or_256()
4371 SecMap* sm; in mc_LOADV64()
4420 SecMap* sm; in mc_STOREV64()
4487 SecMap* sm; in mc_LOADV32()
4536 SecMap* sm; in mc_STOREV32()
4603 SecMap* sm; in mc_LOADV16()
4666 SecMap* sm; in mc_STOREV16()
4737 SecMap* sm; in MC_()
4779 SecMap* sm; in MC_()
4994 SecMap* sm = maybe_get_secmap_for ( a ); in MC_()
5030 SecMap* sm; in init_shadow_memory()
5083 SecMap* sm; in mc_expensive_sanity_check()
6653 n_SMs * sizeof(SecMap) / 1024UL, in print_SM_info()
6654 n_SMs * sizeof(SecMap) / (1024 * 1024UL) ); in print_SM_info()
6690 max_SMs_szB = (3 + max_non_DSM_SMs) * sizeof(SecMap); in mc_print_stats()