Lines Matching refs:epoch
155 if (clk_[tid] < dirty.epoch) { in acquire()
156 clk_[tid] = dirty.epoch; in acquire()
169 u64 epoch = src_elem.epoch; in acquire() local
170 if (*dst_pos < epoch) { in acquire()
171 *dst_pos = epoch; in acquire()
214 if (clk_[i] < ce.epoch) { in releaseStoreAcquire()
215 clk_[i] = ce.epoch; in releaseStoreAcquire()
218 ce.epoch = tmp; in releaseStoreAcquire()
270 ce.epoch = max(ce.epoch, clk_[i]); in release()
306 dst->dirty_[0].epoch = clk_[tid_]; in ReleaseStore()
335 ce.epoch = clk_[i]; in ReleaseStore()
376 dirty->epoch = clk_[tid_]; in UpdateCurrentThread()
384 dst->elem(tid_).epoch = clk_[tid_]; in UpdateCurrentThread()
397 if (clk_[dirty.tid] < dirty.epoch) in IsAlreadyAcquired()
407 const u64 my_epoch = dst->elem(tid_).epoch; in HasAcquiredAfterRelease()
508 elem(dirty->tid).epoch = dirty->epoch; in FlushDirty()
610 return dirty.epoch; in get()
612 return elem(tid).epoch; in get()
617 return elem(tid).epoch; in get_clean()
623 printf("%s%llu", i == 0 ? "" : ",", elem(i).epoch); in DebugDump()
629 dirty_[0].tid, dirty_[0].epoch, in DebugDump()
630 dirty_[1].tid, dirty_[1].epoch); in DebugDump()