Searched refs:stack_buf (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_stack_var_off.c | 17 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()
|
/linux/lib/ |
A D | test_kprobes.c | 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() [all …]
|
/linux/net/ceph/ |
A D | osdmap.c | 2391 char stack_buf[256]; in __ceph_object_locator_to_pg() local 2392 char *buf = stack_buf; in __ceph_object_locator_to_pg() 2396 if (total > sizeof(stack_buf)) in __ceph_object_locator_to_pg() 2403 if (buf != stack_buf) in __ceph_object_locator_to_pg()
|
Completed in 10 milliseconds