Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dtc_l2_redirect_user.c27 int array_key = 0; in main() local
60 ret = bpf_map_update_elem(array_fd, &array_key, &ifindex, 0); in main()
Dtest_cgrp2_array_pin.c29 int array_key = 0; in main() local
85 ret = bpf_map_update_elem(array_fd, &array_key, &cg2_fd, 0); in main()
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c7 const __u32 array_key = 0; in test_bpf_obj_id() local
58 err = bpf_map_update_elem(map_fds[i], &array_key, in test_bpf_obj_id()
229 err = bpf_map_lookup_elem(map_fd, &array_key, &array_value); in test_bpf_obj_id()