Lines Matching refs:locked
161 MutexGuard locked(lock); in addGlobalMapping() local
165 void *&CurVal = EEState.getGlobalAddressMap(locked)[GV]; in addGlobalMapping()
170 if (!EEState.getGlobalAddressReverseMap(locked).empty()) { in addGlobalMapping()
172 EEState.getGlobalAddressReverseMap(locked)[Addr]; in addGlobalMapping()
179 MutexGuard locked(lock); in clearAllGlobalMappings() local
181 EEState.getGlobalAddressMap(locked).clear(); in clearAllGlobalMappings()
182 EEState.getGlobalAddressReverseMap(locked).clear(); in clearAllGlobalMappings()
186 MutexGuard locked(lock); in clearGlobalMappingsFromModule() local
189 EEState.RemoveMapping(locked, FI); in clearGlobalMappingsFromModule()
192 EEState.RemoveMapping(locked, GI); in clearGlobalMappingsFromModule()
196 MutexGuard locked(lock); in updateGlobalMapping() local
199 EEState.getGlobalAddressMap(locked); in updateGlobalMapping()
203 return EEState.RemoveMapping(locked, GV); in updateGlobalMapping()
208 if (CurVal && !EEState.getGlobalAddressReverseMap(locked).empty()) in updateGlobalMapping()
209 EEState.getGlobalAddressReverseMap(locked).erase(CurVal); in updateGlobalMapping()
213 if (!EEState.getGlobalAddressReverseMap(locked).empty()) { in updateGlobalMapping()
215 EEState.getGlobalAddressReverseMap(locked)[Addr]; in updateGlobalMapping()
223 MutexGuard locked(lock); in getPointerToGlobalIfAvailable() local
226 EEState.getGlobalAddressMap(locked).find(GV); in getPointerToGlobalIfAvailable()
227 return I != EEState.getGlobalAddressMap(locked).end() ? I->second : 0; in getPointerToGlobalIfAvailable()
231 MutexGuard locked(lock); in getGlobalValueAtAddress() local
234 if (EEState.getGlobalAddressReverseMap(locked).empty()) { in getGlobalValueAtAddress()
236 I = EEState.getGlobalAddressMap(locked).begin(), in getGlobalValueAtAddress()
237 E = EEState.getGlobalAddressMap(locked).end(); I != E; ++I) in getGlobalValueAtAddress()
238 EEState.getGlobalAddressReverseMap(locked).insert(std::make_pair( in getGlobalValueAtAddress()
243 EEState.getGlobalAddressReverseMap(locked).find(Addr); in getGlobalValueAtAddress()
244 return I != EEState.getGlobalAddressReverseMap(locked).end() ? I->second : 0; in getGlobalValueAtAddress()
507 MutexGuard locked(lock); in getPointerToGlobal() local
508 if (void *P = EEState.getGlobalAddressMap(locked)[GV]) in getPointerToGlobal()
518 return EEState.getGlobalAddressMap(locked)[GV]; in getPointerToGlobal()