Lines Matching refs:SecMap
272 SecMap; typedef
281 static SecMap sm_distinguished[3];
283 static INLINE Bool is_distinguished_sm ( SecMap* sm ) { in is_distinguished_sm()
288 static void update_SM_counts(SecMap* oldSM, SecMap* newSM);
293 static SecMap* copy_for_writing ( SecMap* dist_sm ) in copy_for_writing()
295 SecMap* new_sm; in copy_for_writing()
300 new_sm = VG_(am_shadow_alloc)(sizeof(SecMap)); in copy_for_writing()
303 sizeof(SecMap) ); in copy_for_writing()
304 VG_(memcpy)(new_sm, dist_sm, sizeof(SecMap)); in copy_for_writing()
336 static void update_SM_counts(SecMap* oldSM, SecMap* newSM) in update_SM_counts()
362 static SecMap* primary_map[N_PRIMARY_MAP];
374 SecMap* sm;
594 static INLINE SecMap** get_secmap_low_ptr ( Addr a ) in get_secmap_low_ptr()
603 static INLINE SecMap** get_secmap_high_ptr ( Addr a ) in get_secmap_high_ptr()
609 static SecMap** get_secmap_ptr ( Addr a ) in get_secmap_ptr()
616 static INLINE SecMap* get_secmap_for_reading_low ( Addr a ) in get_secmap_for_reading_low()
621 static INLINE SecMap* get_secmap_for_reading_high ( Addr a ) in get_secmap_for_reading_high()
626 static INLINE SecMap* get_secmap_for_writing_low(Addr a) in get_secmap_for_writing_low()
628 SecMap** p = get_secmap_low_ptr(a); in get_secmap_for_writing_low()
634 static INLINE SecMap* get_secmap_for_writing_high ( Addr a ) in get_secmap_for_writing_high()
636 SecMap** p = get_secmap_high_ptr(a); in get_secmap_for_writing_high()
647 static INLINE SecMap* get_secmap_for_reading ( Addr a ) in get_secmap_for_reading()
661 static SecMap* get_secmap_for_writing ( Addr a ) in get_secmap_for_writing()
672 static SecMap* maybe_get_secmap_for ( Addr a ) in maybe_get_secmap_for()
731 SecMap* sm = get_secmap_for_writing(a); in set_vabits2()
739 SecMap* sm = get_secmap_for_reading(a); in get_vabits2()
752 SecMap* sm = get_secmap_for_reading(a); in get_vabits8_for_aligned_word32()
761 SecMap* sm = get_secmap_for_writing(a); in set_vabits8_for_aligned_word32()
1147 SecMap* sm = get_secmap_for_reading(a); in mc_LOADVn_slow()
1158 SecMap* sm = get_secmap_for_reading(a); in mc_LOADVn_slow()
1282 SecMap* sm = get_secmap_for_reading(a); in mc_STOREVn_slow()
1304 SecMap* sm = get_secmap_for_reading(a); in mc_STOREVn_slow()
1356 SecMap* sm; in set_address_range_perms()
1357 SecMap** sm_ptr; in set_address_range_perms()
1358 SecMap* example_dsm; in set_address_range_perms()
1526 SysRes sres = VG_(am_munmap_valgrind)((Addr)*sm_ptr, sizeof(SecMap)); in set_address_range_perms()
2404 SecMap* sm; in make_aligned_word32_undefined()
2447 SecMap* sm; in make_aligned_word32_noaccess()
2488 SecMap* sm; in make_aligned_word64_undefined()
2532 SecMap* sm; in make_aligned_word64_noaccess()
3375 SecMap* sm = get_secmap_for_writing_low(a_lo); in MC_()
3376 SecMap* sm_hi = get_secmap_for_writing_low(a_hi); in MC_()
3431 SecMap* sm = get_secmap_for_writing_low(a_lo); in MC_()
3432 SecMap* sm_hi = get_secmap_for_writing_low(a_hi); in MC_()
4098 SecMap* sm; in mc_LOADV64()
4147 SecMap* sm; in mc_STOREV64()
4206 SecMap* sm; in mc_LOADV32()
4255 SecMap* sm; in mc_STOREV32()
4322 SecMap* sm; in mc_LOADV16()
4373 SecMap* sm; in mc_STOREV16()
4434 SecMap* sm; in MC_()
4476 SecMap* sm; in MC_()
4646 SecMap* sm = maybe_get_secmap_for ( a ); in MC_()
4682 SecMap* sm; in init_shadow_memory()
4735 SecMap* sm; in mc_expensive_sanity_check()
6140 n_SMs * sizeof(SecMap) / 1024UL, in print_SM_info()
6141 n_SMs * sizeof(SecMap) / (1024 * 1024UL) ); in print_SM_info()
6210 max_SMs_szB = (3 + max_non_DSM_SMs) * sizeof(SecMap); in mc_fini()