Lines Matching refs:stack_buf
246 static unsigned long stack_buf[STACK_BUF_SIZE]; variable
261 ret = stack_trace_save(stack_buf, STACK_BUF_SIZE, 0); in stacktrace_return_handler()
265 if (stack_buf[i] == target_return_address[1]) in stacktrace_return_handler()
275 ret = stack_trace_save_regs(regs, stack_buf, STACK_BUF_SIZE, 0); in stacktrace_return_handler()
277 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[1]); in stacktrace_return_handler()
322 ret = stack_trace_save(stack_buf, STACK_BUF_SIZE, 0); in stacktrace_internal_return_handler()
326 if (stack_buf[i] == target_return_address[0]) { in stacktrace_internal_return_handler()
327 KUNIT_EXPECT_EQ(current_test, stack_buf[i + 1], target_return_address[1]); in stacktrace_internal_return_handler()
335 ret = stack_trace_save_regs(regs, stack_buf, STACK_BUF_SIZE, 0); in stacktrace_internal_return_handler()
337 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[0]); in stacktrace_internal_return_handler()
338 KUNIT_EXPECT_EQ(current_test, stack_buf[1], target_return_address[1]); in stacktrace_internal_return_handler()