Searched refs:keys_fd (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | flow_dissector_load.h | 15 int *keys_fd) in bpf_flow_load() argument 43 if (keys_map_name && keys_fd) { in bpf_flow_load() 48 *keys_fd = bpf_map__fd(keys); in bpf_flow_load() 49 if (*keys_fd < 0) in bpf_flow_load()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 539 int i, err, keys_fd; in run_tests_skb_less() local 541 keys_fd = bpf_map__fd(keys); in run_tests_skb_less() 542 if (CHECK(keys_fd < 0, "bpf_map__fd", "err %d\n", keys_fd)) in run_tests_skb_less() 568 err = bpf_map_lookup_elem(keys_fd, &key, &flow_keys); in run_tests_skb_less() 573 err = bpf_map_delete_elem(keys_fd, &key); in run_tests_skb_less() 619 int i, err, prog_fd, keys_fd = -1, tap_fd; in test_flow_dissector() local 629 keys_fd = bpf_map__fd(skel->maps.last_dissection); in test_flow_dissector() 630 if (CHECK(keys_fd < 0, "bpf_map__fd", "err %d\n", keys_fd)) in test_flow_dissector()
|