Lines Matching refs:gaKey
779 typedef struct { Addr gaKey; SecMap* sm; } SMCacheEnt; member
785 Addr gaKey = shmem__round_to_SecMap_base(ga); in shmem__find_SecMap() local
788 if (LIKELY(gaKey == smCache[0].gaKey)) in shmem__find_SecMap()
790 if (LIKELY(gaKey == smCache[1].gaKey)) { in shmem__find_SecMap()
796 if (gaKey == smCache[2].gaKey) { in shmem__find_SecMap()
805 NULL/*keyP*/, (UWord*)&sm, (UWord)gaKey )) { in shmem__find_SecMap()
809 smCache[0].gaKey = gaKey; in shmem__find_SecMap()
825 Addr gaKey; in shmem__SecMap_do_GC() local
830 smCache[0].gaKey = 1; in shmem__SecMap_do_GC()
831 smCache[1].gaKey = 1; in shmem__SecMap_do_GC()
832 smCache[2].gaKey = 1; in shmem__SecMap_do_GC()
836 while (VG_(nextIterFM)( map_shmem, &gaKey, &secmapW )) { in shmem__SecMap_do_GC()
881 if (!VG_(delFromFM)(map_shmem, &fm_gaKey, (UWord*)&fm_sm, gaKey)) in shmem__SecMap_do_GC()
884 tl_assert (gaKey == fm_gaKey); in shmem__SecMap_do_GC()
888 VG_(initIterAtFM) (map_shmem, gaKey + N_SECMAP_ARANGE); in shmem__SecMap_do_GC()
928 Addr gaKey = shmem__round_to_SecMap_base(ga); in shmem__find_or_alloc_SecMap() local
931 VG_(addToFM)( map_shmem, (UWord)gaKey, (UWord)sm ); in shmem__find_or_alloc_SecMap()
944 Addr gaKey; in shmem__SecMap_used_linesF() local
948 while (VG_(nextIterFM)( map_shmem, &gaKey, &secmapW )) { in shmem__SecMap_used_linesF()
6898 Addr gaKey; in zsm_sset_range_noaccess() local
6909 if (!VG_(delFromFM)(map_shmem, &gaKey, (UWord*)&fm_sm, sm_start)) in zsm_sset_range_noaccess()
6912 tl_assert (gaKey == sm_start); in zsm_sset_range_noaccess()
6923 if (address_in_range(smCache[0].gaKey, FSM, FSMlen)) { in zsm_sset_range_noaccess()
6924 smCache[0].gaKey = 1; in zsm_sset_range_noaccess()
6927 if (address_in_range(smCache[1].gaKey, FSM, FSMlen)) { in zsm_sset_range_noaccess()
6928 smCache[1].gaKey = 1; in zsm_sset_range_noaccess()
6931 if (address_in_range(smCache[2].gaKey, FSM, FSMlen)) { in zsm_sset_range_noaccess()
6932 smCache[2].gaKey = 1; in zsm_sset_range_noaccess()