Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dreference_tracking.c46 libbpf_print_fn_t old_print_fn; in test_reference_tracking() local
48 old_print_fn = libbpf_set_print(NULL); in test_reference_tracking()
50 libbpf_set_print(old_print_fn); in test_reference_tracking()
H A Dbpf_tcp_ca.c244 libbpf_print_fn_t old_print_fn; in test_invalid_license() local
249 old_print_fn = libbpf_set_print(libbpf_debug_print); in test_invalid_license()
256 libbpf_set_print(old_print_fn); in test_invalid_license()
324 libbpf_print_fn_t old_print_fn; in test_rel_setsockopt() local
329 old_print_fn = libbpf_set_print(libbpf_debug_print); in test_rel_setsockopt()
331 libbpf_set_print(old_print_fn); in test_rel_setsockopt()
376 libbpf_print_fn_t old_print_fn; in test_unsupp_cong_op() local
381 old_print_fn = libbpf_set_print(libbpf_debug_print); in test_unsupp_cong_op()
388 libbpf_set_print(old_print_fn); in test_unsupp_cong_op()
H A Dtimer_mim.c57 libbpf_print_fn_t old_print_fn = NULL; in serial_test_timer_mim() local
61 old_print_fn = libbpf_set_print(NULL); in serial_test_timer_mim()
63 libbpf_set_print(old_print_fn); in serial_test_timer_mim()
H A Dbpf_verif_scale.c52 libbpf_print_fn_t old_print_fn = NULL; in scale_test() local
57 old_print_fn = libbpf_set_print(libbpf_debug_print); in scale_test()
67 libbpf_set_print(old_print_fn); in scale_test()
H A Dxdp_bonding.c638 libbpf_print_fn_t old_print_fn; in serial_test_xdp_bonding() local
642 old_print_fn = libbpf_set_print(libbpf_debug_print); in serial_test_xdp_bonding()
688 libbpf_set_print(old_print_fn); in serial_test_xdp_bonding()
/linux/tools/testing/selftests/bpf/
H A Dtest_maps.c1157 libbpf_print_fn_t old_print_fn; in test_map_in_map() local
1248 old_print_fn = libbpf_set_print(NULL); in test_map_in_map()
1256 libbpf_set_print(old_print_fn); in test_map_in_map()
/linux/tools/lib/bpf/
H A Dlibbpf.c266 libbpf_print_fn_t old_print_fn; in libbpf_set_print() local
268 old_print_fn = __atomic_exchange_n(&__libbpf_pr, fn, __ATOMIC_RELAXED); in libbpf_set_print()
270 return old_print_fn; in libbpf_set_print()