• Home
  • Raw
  • Download

Lines Matching refs:is_w

1716   LSID  lsid(bool is_w) const { return lsid_[is_w]; }  in lsid()
4377 INLINE void set_ignore_accesses(bool is_w, bool on) { in set_ignore_accesses()
4378 ignore_depth_[is_w] += on ? 1 : -1; in set_ignore_accesses()
4379 CHECK(ignore_depth_[is_w] >= 0); in set_ignore_accesses()
4382 StackTrace::Delete(ignore_context_[is_w]); in set_ignore_accesses()
4383 ignore_context_[is_w] = CreateStackTrace(0, 3); in set_ignore_accesses()
4391 StackTrace *GetLastIgnoreContext(bool is_w) { in GetLastIgnoreContext()
4392 return ignore_context_[is_w]; in GetLastIgnoreContext()
4627 LSID lsid(bool is_w) { in lsid()
4628 return is_w ? wr_lockset_ : rd_lockset_; in lsid()
5128 BitSet *lock_era_access_set(int is_w) { in lock_era_access_set()
5129 return &lock_era_access_set_[is_w]; in lock_era_access_set()
5668 bool NOINLINE AddReport(TSanThread *thr, uintptr_t pc, bool is_w, uintptr_t addr, in AddReport() argument
5743 race_report->last_access_is_w = is_w; in AddReport()
5773 LSID lsid, bool is_w, in PrintConcurrentSegmentSet() argument
5783 if (!LockSet::IntersectionIsEmpty(lsid, seg->lsid(is_w))) continue; in PrintConcurrentSegmentSet()
5853 bool is_w = race->last_access_is_w; in PrintRaceReport() local
5857 LSID lsid = race->last_acces_lsid[is_w]; in PrintRaceReport()
5874 is_w ? "write" : "read", in PrintRaceReport()
5905 if (is_w) { in PrintRaceReport()
6313 bool is_w, bool need_locking) { in HandleMemoryAccess() argument
6315 MopInfo mop(pc, size, is_w, false); in HandleMemoryAccess()
6701 void HandleIgnore(Event *e, bool is_w, bool on) { in HandleIgnore() argument
6706 thread->set_ignore_accesses(is_w, on); in HandleIgnore()
6942 bool is_w, ShadowValue *res) { in MemoryStateMachine() argument
6950 if (is_w) { in MemoryStateMachine()
6963 if (is_w) { in MemoryStateMachine()
7002 INLINE bool MemoryStateMachineSameThread(bool is_w, ShadowValue old_sval, in MemoryStateMachineSameThread() argument
7023 if (is_w) { // -------------- w: {0, wr} => {0, cur} in MemoryStateMachineSameThread()
7036 if (is_w) { // -------------- w: {0, 0} => {0, cur} in MemoryStateMachineSameThread()
7052 if (is_w) { // -------------- w: {cur, 0} => {0, cur} in MemoryStateMachineSameThread()
7064 if (is_w) { // -------------- w: {rd, 0} => {0, cur} in MemoryStateMachineSameThread()
7082 if (is_w) { // -------------- w: {cur, wr} => {0, cur} in MemoryStateMachineSameThread()
7094 if (is_w) { // -------------- w: {rd, cur} => {rd, cur} in MemoryStateMachineSameThread()
7106 if (is_w) { // -------------- w: {rd, wr} => {0, cur} in MemoryStateMachineSameThread()
7126 INLINE bool HandleMemoryAccessHelper(bool is_w, in HandleMemoryAccessHelper() argument
7149 is_w, old_sval, thr, sval_p); in HandleMemoryAccessHelper()
7163 bool is_race = MemoryStateMachine(old_sval, thr, is_w, sval_p); in HandleMemoryAccessHelper()
7169 reports_.AddReport(thr, pc, is_w, addr, size, in HandleMemoryAccessHelper()
7219 bool is_w = mop->is_write(); in HandleAccessGranularityAndExecuteHelper() local
7319 if (!HandleMemoryAccessHelper(is_w, cache_line, x, 1, pc, thr, false)) in HandleAccessGranularityAndExecuteHelper()
7345 if (!HandleMemoryAccessHelper(is_w, cache_line, x, s, pc, thr, false)) in HandleAccessGranularityAndExecuteHelper()
7351 return HandleMemoryAccessHelper(is_w, cache_line, addr, size, pc, in HandleAccessGranularityAndExecuteHelper()