Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlibbpf.c5078 int err, pin_fd; in bpf_object__reuse_map() local
5080 pin_fd = bpf_obj_get(map->pin_path); in bpf_object__reuse_map()
5081 if (pin_fd < 0) { in bpf_object__reuse_map()
5094 if (!map_is_reuse_compat(map, pin_fd)) { in bpf_object__reuse_map()
5097 close(pin_fd); in bpf_object__reuse_map()
5101 err = bpf_map__reuse_fd(map, pin_fd); in bpf_object__reuse_map()
5102 close(pin_fd); in bpf_object__reuse_map()