Lines Matching refs:SecMap
270 SecMap; typedef
279 static SecMap sm_distinguished[3];
281 static INLINE Bool is_distinguished_sm ( SecMap* sm ) { in is_distinguished_sm()
286 static void update_SM_counts(SecMap* oldSM, SecMap* newSM);
291 static SecMap* copy_for_writing ( SecMap* dist_sm ) in copy_for_writing()
293 SecMap* new_sm; in copy_for_writing()
298 new_sm = VG_(am_shadow_alloc)(sizeof(SecMap)); in copy_for_writing()
301 sizeof(SecMap) ); in copy_for_writing()
302 VG_(memcpy)(new_sm, dist_sm, sizeof(SecMap)); in copy_for_writing()
334 static void update_SM_counts(SecMap* oldSM, SecMap* newSM) in update_SM_counts()
360 static SecMap* primary_map[N_PRIMARY_MAP];
372 SecMap* sm;
592 static INLINE SecMap** get_secmap_low_ptr ( Addr a ) in get_secmap_low_ptr()
601 static INLINE SecMap** get_secmap_high_ptr ( Addr a ) in get_secmap_high_ptr()
607 static SecMap** get_secmap_ptr ( Addr a ) in get_secmap_ptr()
614 static INLINE SecMap* get_secmap_for_reading_low ( Addr a ) in get_secmap_for_reading_low()
619 static INLINE SecMap* get_secmap_for_reading_high ( Addr a ) in get_secmap_for_reading_high()
624 static INLINE SecMap* get_secmap_for_writing_low(Addr a) in get_secmap_for_writing_low()
626 SecMap** p = get_secmap_low_ptr(a); in get_secmap_for_writing_low()
632 static INLINE SecMap* get_secmap_for_writing_high ( Addr a ) in get_secmap_for_writing_high()
634 SecMap** p = get_secmap_high_ptr(a); in get_secmap_for_writing_high()
645 static INLINE SecMap* get_secmap_for_reading ( Addr a ) in get_secmap_for_reading()
659 static SecMap* get_secmap_for_writing ( Addr a ) in get_secmap_for_writing()
670 static SecMap* maybe_get_secmap_for ( Addr a ) in maybe_get_secmap_for()
729 SecMap* sm = get_secmap_for_writing(a); in set_vabits2()
737 SecMap* sm = get_secmap_for_reading(a); in get_vabits2()
750 SecMap* sm = get_secmap_for_reading(a); in get_vabits8_for_aligned_word32()
759 SecMap* sm = get_secmap_for_writing(a); in set_vabits8_for_aligned_word32()
1181 SecMap* sm = get_secmap_for_reading(a); in mc_LOADVn_slow()
1192 SecMap* sm = get_secmap_for_reading(a); in mc_LOADVn_slow()
1263 SecMap* sm = get_secmap_for_reading(a); in mc_STOREVn_slow()
1285 SecMap* sm = get_secmap_for_reading(a); in mc_STOREVn_slow()
1337 SecMap* sm; in set_address_range_perms()
1338 SecMap** sm_ptr; in set_address_range_perms()
1339 SecMap* example_dsm; in set_address_range_perms()
1507 VG_(am_munmap_valgrind)((Addr)*sm_ptr, sizeof(SecMap)); in set_address_range_perms()
2384 SecMap* sm; in make_aligned_word32_undefined()
2427 SecMap* sm; in make_aligned_word32_noaccess()
2468 SecMap* sm; in make_aligned_word64_undefined()
2512 SecMap* sm; in make_aligned_word64_noaccess()
3355 SecMap* sm = get_secmap_for_writing_low(a_lo); in MC_()
3356 SecMap* sm_hi = get_secmap_for_writing_low(a_hi); in MC_()
3411 SecMap* sm = get_secmap_for_writing_low(a_lo); in MC_()
3412 SecMap* sm_hi = get_secmap_for_writing_low(a_hi); in MC_()
4019 SecMap* sm; in mc_LOADV64()
4068 SecMap* sm; in mc_STOREV64()
4127 SecMap* sm; in mc_LOADV32()
4176 SecMap* sm; in mc_STOREV32()
4243 SecMap* sm; in mc_LOADV16()
4294 SecMap* sm; in mc_STOREV16()
4355 SecMap* sm; in MC_()
4397 SecMap* sm; in MC_()
4563 SecMap* sm = maybe_get_secmap_for ( a ); in MC_()
4596 SecMap* sm; in init_shadow_memory()
4649 SecMap* sm; in mc_expensive_sanity_check()
5653 n_SMs * sizeof(SecMap) / 1024UL, in print_SM_info()
5654 n_SMs * sizeof(SecMap) / (1024 * 1024UL) ); in print_SM_info()
5716 max_SMs_szB = (3 + max_non_DSM_SMs) * sizeof(SecMap); in mc_fini()