Home
last modified time | relevance | path

Searched refs:MAX_STACK (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_global_func1.c8 #define MAX_STACK (512 - 3 * 32 + 8) macro
21 volatile char buf[MAX_STACK] = {}; in f1()
23 __sink(buf[MAX_STACK - 1]); in f1()
39 volatile char buf[MAX_STACK] = {}; in f3()
41 __sink(buf[MAX_STACK - 1]); in f3()
Dtest_global_func2.c8 #define MAX_STACK (512 - 3 * 32) macro
19 volatile char buf[MAX_STACK] = {}; in f1()
21 __sink(buf[MAX_STACK - 1]); in f1()
37 volatile char buf[MAX_STACK] = {}; in f3()
39 __sink(buf[MAX_STACK - 1]); in f3()
Dtest_pkt_access.c48 #define MAX_STACK (512 - 2 * 32) macro
53 volatile char buf[MAX_STACK] = {}; in get_skb_len()
55 __sink(buf[MAX_STACK - 1]); in get_skb_len()
77 volatile char buf[MAX_STACK] = {}; in get_skb_ifindex()
79 __sink(buf[MAX_STACK - 1]); in get_skb_ifindex()
/linux-6.6.21/tools/perf/tests/
Ddwarf-unwind.c72 #define MAX_STACK 8 macro
78 static const char *funcs[MAX_STACK] = { in unwind_entry()
93 MAX_STACK - *cnt - 1 : *cnt; in unwind_entry()
95 if (*cnt >= MAX_STACK) { in unwind_entry()
96 pr_debug("failed: crossed the max stack value %d\n", MAX_STACK); in unwind_entry()
126 &sample, MAX_STACK, false); in test_dwarf_unwind__thread()
129 else if (cnt != MAX_STACK) { in test_dwarf_unwind__thread()
131 cnt, MAX_STACK); in test_dwarf_unwind__thread()
/linux-6.6.21/drivers/md/persistent-data/
Ddm-block-manager.c37 #define MAX_STACK 10 macro
41 unsigned long entries[MAX_STACK];
87 t->nr_entries = stack_trace_save(t->entries, MAX_STACK, 2); in __add_holder()
/linux-6.6.21/drivers/md/
Ddm-bufio.c359 #define MAX_STACK 10 macro
361 unsigned long stack_entries[MAX_STACK];
1097 b->stack_len = stack_trace_save(b->stack_entries, MAX_STACK, 2); in buffer_record_stack()
/linux-6.6.21/tools/perf/util/
Dparse-events.c1146 ADD_CONFIG_TERM_VAL(MAX_STACK, max_stack, in get_config_terms()