Searched refs:array_key (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
D | tc_l2_redirect_user.c | 27 int array_key = 0; in main() local 60 ret = bpf_map_update_elem(array_fd, &array_key, &ifindex, 0); in main()
|
D | test_cgrp2_array_pin.c | 29 int array_key = 0; in main() local 85 ret = bpf_map_update_elem(array_fd, &array_key, &cg2_fd, 0); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_id.c | 9 const __u32 array_key = 0; in test_bpf_obj_id() local 63 err = bpf_map_update_elem(map_fds[i], &array_key, in test_bpf_obj_id() 276 err = bpf_map_lookup_elem(map_fd, &array_key, &array_value); in test_bpf_obj_id()
|