Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dtest_cgrp2_array_pin.c31 int cg2_fd = -1; in main() local
59 cg2_fd = open(cg2, O_RDONLY); in main()
60 if (cg2_fd < 0) { in main()
85 ret = bpf_map_update_elem(array_fd, &array_key, &cg2_fd, 0); in main()
103 if (cg2_fd != -1) in main()
104 close(cg2_fd); in main()