Lines Matching refs:stack
77 depot_stack_handle_t stack, *stacks; in track_intel_runtime_pm_wakeref() local
83 stack = __save_depot_stack(); in track_intel_runtime_pm_wakeref()
84 if (!stack) in track_intel_runtime_pm_wakeref()
90 rpm->debug.last_acquire = stack; in track_intel_runtime_pm_wakeref()
96 stacks[rpm->debug.count++] = stack; in track_intel_runtime_pm_wakeref()
99 stack = -1; in track_intel_runtime_pm_wakeref()
104 return stack; in track_intel_runtime_pm_wakeref()
108 depot_stack_handle_t stack) in untrack_intel_runtime_pm_wakeref() argument
116 if (unlikely(stack == -1)) in untrack_intel_runtime_pm_wakeref()
121 if (rpm->debug.owners[n] == stack) { in untrack_intel_runtime_pm_wakeref()
124 (--rpm->debug.count - n) * sizeof(stack)); in untrack_intel_runtime_pm_wakeref()
140 stack_depot_snprint(stack, buf, PAGE_SIZE, 2); in untrack_intel_runtime_pm_wakeref()
141 DRM_DEBUG_DRIVER("wakeref %x from\n%s", stack, buf); in untrack_intel_runtime_pm_wakeref()
143 stack = READ_ONCE(rpm->debug.last_release); in untrack_intel_runtime_pm_wakeref()
144 if (stack) { in untrack_intel_runtime_pm_wakeref()
145 stack_depot_snprint(stack, buf, PAGE_SIZE, 2); in untrack_intel_runtime_pm_wakeref()
191 depot_stack_handle_t stack = dbg->owners[i]; in __print_intel_runtime_pm_wakeref() local
195 while (i + 1 < dbg->count && dbg->owners[i + 1] == stack) in __print_intel_runtime_pm_wakeref()
197 stack_depot_snprint(stack, buf, PAGE_SIZE, 2); in __print_intel_runtime_pm_wakeref()