Lines Matching refs:stack_buf
213 static unsigned long stack_buf[STACK_BUF_SIZE]; variable
228 ret = stack_trace_save(stack_buf, STACK_BUF_SIZE, 0); in stacktrace_return_handler()
232 if (stack_buf[i] == target_return_address[1]) in stacktrace_return_handler()
242 ret = stack_trace_save_regs(regs, stack_buf, STACK_BUF_SIZE, 0); in stacktrace_return_handler()
244 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[1]); in stacktrace_return_handler()
289 ret = stack_trace_save(stack_buf, STACK_BUF_SIZE, 0); in stacktrace_internal_return_handler()
293 if (stack_buf[i] == target_return_address[0]) { in stacktrace_internal_return_handler()
294 KUNIT_EXPECT_EQ(current_test, stack_buf[i + 1], target_return_address[1]); in stacktrace_internal_return_handler()
302 ret = stack_trace_save_regs(regs, stack_buf, STACK_BUF_SIZE, 0); in stacktrace_internal_return_handler()
304 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[0]); in stacktrace_internal_return_handler()
305 KUNIT_EXPECT_EQ(current_test, stack_buf[1], target_return_address[1]); in stacktrace_internal_return_handler()