Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_legacy_printk.c30 int zero = 0, *my_pid, cur_pid, *my_res; in handle_legacy() local
40 my_res = bpf_map_lookup_elem(&res_map, &zero); in handle_legacy()
41 if (!my_res) in handle_legacy()
44 if (*my_res == 0) in handle_legacy()
51 *my_res = 1; in handle_legacy()
53 return *my_res; in handle_legacy()