Home
last modified time | relevance | path

Searched refs:stack_buf (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_stack_var_off.c17 char stack_buf[16]; in probe() local
25 __builtin_memcpy(stack_buf, input, 4); in probe()
28 len = stack_buf[0] & 0xf; in probe()
34 stack_buf[len] = 42; in probe()
47 probe_res = stack_buf[last]; in probe()
Ddynptr_fail.c431 char stack_buf[16]; in invalid_write3() local
437 memcpy(stack_buf, &val, sizeof(val)); in invalid_write3()
438 len = stack_buf[0] & 0xf; in invalid_write3()
/linux-6.1.9/lib/
Dtest_kprobes.c213 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()
[all …]
/linux-6.1.9/net/ceph/
Dosdmap.c2407 char stack_buf[256]; in __ceph_object_locator_to_pg() local
2408 char *buf = stack_buf; in __ceph_object_locator_to_pg()
2412 if (total > sizeof(stack_buf)) in __ceph_object_locator_to_pg()
2419 if (buf != stack_buf) in __ceph_object_locator_to_pg()