array_fd 28 samples/bpf/tc_l2_redirect_user.c int array_fd = -1; array_fd 52 samples/bpf/tc_l2_redirect_user.c array_fd = bpf_obj_get(pinned_file); array_fd 53 samples/bpf/tc_l2_redirect_user.c if (array_fd < 0) { array_fd 60 samples/bpf/tc_l2_redirect_user.c ret = bpf_map_update_elem(array_fd, &array_key, &ifindex, 0); array_fd 67 samples/bpf/tc_l2_redirect_user.c if (array_fd != -1) array_fd 68 samples/bpf/tc_l2_redirect_user.c close(array_fd); array_fd 30 samples/bpf/test_cgrp2_array_pin.c int array_fd = -1; array_fd 67 samples/bpf/test_cgrp2_array_pin.c array_fd = bpf_create_map(BPF_MAP_TYPE_CGROUP_ARRAY, array_fd 70 samples/bpf/test_cgrp2_array_pin.c if (array_fd < 0) { array_fd 77 samples/bpf/test_cgrp2_array_pin.c array_fd = bpf_obj_get(pinned_file); array_fd 78 samples/bpf/test_cgrp2_array_pin.c if (array_fd < 0) { array_fd 85 samples/bpf/test_cgrp2_array_pin.c ret = bpf_map_update_elem(array_fd, &array_key, &cg2_fd, 0); array_fd 92 samples/bpf/test_cgrp2_array_pin.c ret = bpf_obj_pin(array_fd, pinned_file); array_fd 101 samples/bpf/test_cgrp2_array_pin.c if (array_fd != -1) array_fd 102 samples/bpf/test_cgrp2_array_pin.c close(array_fd);