Lines Matching refs:epoch
145 if (clk_[tid] < dirty.epoch) { in acquire()
146 clk_[tid] = dirty.epoch; in acquire()
159 u64 epoch = src_elem.epoch; in acquire() local
160 if (*dst_pos < epoch) { in acquire()
161 *dst_pos = epoch; in acquire()
198 if (dst->elem(tid_).epoch > last_acquire_) { in release()
217 ce.epoch = max(ce.epoch, clk_[i]); in release()
255 dst->dirty_[0].epoch = clk_[tid_]; in ReleaseStore()
271 dst->elem(tid_).epoch > last_acquire_) { in ReleaseStore()
284 ce.epoch = clk_[i]; in ReleaseStore()
325 dirty->epoch = clk_[tid_]; in UpdateCurrentThread()
333 dst->elem(tid_).epoch = clk_[tid_]; in UpdateCurrentThread()
346 if (clk_[dirty.tid] < dirty.epoch) in IsAlreadyAcquired()
449 elem(dirty->tid).epoch = dirty->epoch; in FlushDirty()
551 return dirty.epoch; in get()
553 return elem(tid).epoch; in get()
558 return elem(tid).epoch; in get_clean()
564 printf("%s%llu", i == 0 ? "" : ",", elem(i).epoch); in DebugDump()
570 dirty_[0].tid, dirty_[0].epoch, in DebugDump()
571 dirty_[1].tid, dirty_[1].epoch); in DebugDump()