Home
last modified time | relevance | path

Searched refs:SecMap (Results 1 – 3 of 3) sorted by relevance

/external/valgrind/main/memcheck/
Dmc_main.c270 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()
[all …]
/external/valgrind/main/helgrind/
Dlibhb_core.c263 SecMap; typedef
267 static inline Bool is_sane_SecMap ( SecMap* sm ) { in is_sane_SecMap()
398 static SecMap* shmem__alloc_SecMap ( void ) in shmem__alloc_SecMap()
401 SecMap* sm = shmem__bigchunk_alloc( sizeof(SecMap) ); in shmem__alloc_SecMap()
422 typedef struct { Addr gaKey; SecMap* sm; } SMCacheEnt;
425 static SecMap* shmem__find_SecMap ( Addr ga ) in shmem__find_SecMap()
427 SecMap* sm = NULL; in shmem__find_SecMap()
460 static SecMap* shmem__find_or_alloc_SecMap ( Addr ga ) in shmem__find_or_alloc_SecMap()
462 SecMap* sm = shmem__find_SecMap ( ga ); in shmem__find_or_alloc_SecMap()
536 SecMap* sm = shmem__find_or_alloc_SecMap(tag); in find_ZF_for_reading()
[all …]
/external/valgrind/main/exp-ptrcheck/
Dh_main.c580 SecMap; typedef
582 static SecMap distinguished_secondary_map;
593 SecMap* sm;
717 static SecMap* alloc_secondary_map ( void ) in alloc_secondary_map()
719 SecMap* map; in alloc_secondary_map()
723 tl_assert(0 == (sizeof(SecMap) % VKI_MAX_PAGE_SIZE)); in alloc_secondary_map()
725 map = VG_(am_shadow_alloc)( sizeof(SecMap) ); in alloc_secondary_map()
728 sizeof(SecMap) ); in alloc_secondary_map()
766 SecMap* sm = find_or_alloc_in_primap(a)->sm; in get_mem_vseg()
775 SecMap* sm = find_or_alloc_in_primap(a)->sm; in set_mem_vseg()