Lines Matching refs:data
47 auto* data = Get(); in SetColumnFamilyInfoKey() local
48 if (data == nullptr) { in SetColumnFamilyInfoKey()
54 data->enable_tracking = (cf_key != nullptr); in SetColumnFamilyInfoKey()
55 data->cf_key.store(const_cast<void*>(cf_key), std::memory_order_relaxed); in SetColumnFamilyInfoKey()
59 auto* data = GetLocalThreadStatus(); in GetColumnFamilyInfoKey() local
60 if (data == nullptr) { in GetColumnFamilyInfoKey()
63 return data->cf_key.load(std::memory_order_relaxed); in GetColumnFamilyInfoKey()
68 auto* data = GetLocalThreadStatus(); in SetThreadOperation() local
69 if (data == nullptr) { in SetThreadOperation()
77 data->operation_type.store(type, std::memory_order_release); in SetThreadOperation()
79 data->operation_stage.store(ThreadStatus::STAGE_UNKNOWN, in SetThreadOperation()
86 auto* data = GetLocalThreadStatus(); in SetThreadOperationProperty() local
87 if (data == nullptr) { in SetThreadOperationProperty()
90 data->op_properties[i].store(value, std::memory_order_relaxed); in SetThreadOperationProperty()
95 auto* data = GetLocalThreadStatus(); in IncreaseThreadOperationProperty() local
96 if (data == nullptr) { in IncreaseThreadOperationProperty()
99 data->op_properties[i].fetch_add(delta, std::memory_order_relaxed); in IncreaseThreadOperationProperty()
103 auto* data = GetLocalThreadStatus(); in SetOperationStartTime() local
104 if (data == nullptr) { in SetOperationStartTime()
107 data->op_start_time.store(start_time, std::memory_order_relaxed); in SetOperationStartTime()
111 auto* data = GetLocalThreadStatus(); in ClearThreadOperation() local
112 if (data == nullptr) { in ClearThreadOperation()
115 data->operation_stage.store(ThreadStatus::STAGE_UNKNOWN, in ClearThreadOperation()
117 data->operation_type.store(ThreadStatus::OP_UNKNOWN, in ClearThreadOperation()
123 auto* data = GetLocalThreadStatus(); in ClearThreadOperationProperties() local
124 if (data == nullptr) { in ClearThreadOperationProperties()
128 data->op_properties[i].store(0, std::memory_order_relaxed); in ClearThreadOperationProperties()
134 auto* data = GetLocalThreadStatus(); in SetThreadOperationStage() local
135 if (data == nullptr) { in SetThreadOperationStage()
138 return data->operation_stage.exchange(stage, std::memory_order_relaxed); in SetThreadOperationStage()
142 auto* data = GetLocalThreadStatus(); in SetThreadState() local
143 if (data == nullptr) { in SetThreadState()
146 data->state_type.store(type, std::memory_order_relaxed); in SetThreadState()
150 auto* data = GetLocalThreadStatus(); in ClearThreadState() local
151 if (data == nullptr) { in ClearThreadState()
154 data->state_type.store(ThreadStatus::STATE_UNKNOWN, in ClearThreadState()