Searched refs:bpf_max_tramp_links (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | fexit_stress.c | 8 int bpf_max_tramp_links, err, i; in serial_test_fexit_stress() local 11 bpf_max_tramp_links = get_bpf_max_tramp_links(); in serial_test_fexit_stress() 12 if (!ASSERT_GE(bpf_max_tramp_links, 1, "bpf_max_tramp_links")) in serial_test_fexit_stress() 14 fd = calloc(bpf_max_tramp_links * 2, sizeof(*fd)); in serial_test_fexit_stress() 18 link_fd = fd + bpf_max_tramp_links; in serial_test_fexit_stress() 37 for (i = 0; i < bpf_max_tramp_links; i++) { in serial_test_fexit_stress() 53 for (i = 0; i < bpf_max_tramp_links; i++) { in serial_test_fexit_stress()
|
D | trampoline_count.c | 38 int bpf_max_tramp_links, err, i, prog_fd; in serial_test_trampoline_count() local 44 bpf_max_tramp_links = get_bpf_max_tramp_links(); in serial_test_trampoline_count() 45 if (!ASSERT_GE(bpf_max_tramp_links, 1, "bpf_max_tramp_links")) in serial_test_trampoline_count() 47 inst = calloc(bpf_max_tramp_links + 1, sizeof(*inst)); in serial_test_trampoline_count() 52 for (i = 0; i < bpf_max_tramp_links; i++) { in serial_test_trampoline_count()
|