Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtoken.c91 #define zclose(fd) do { if (fd >= 0) close(fd); fd = -1; } while (0) macro
335 zclose(fs_fd); in child()
372 zclose(fs_fd); in child()
389 zclose(token_fd); in child()
398 zclose(sock_fd); in child()
399 zclose(mnt_fd); in child()
400 zclose(fs_fd); in child()
401 zclose(bpffs_fd); in child()
402 zclose(token_fd); in child()
442 zclose(fs_fd); in parent()
[all …]
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c325 #ifndef zclose
326 # define zclose(fd) ({ \ macro
753 zclose(prog->fd); in bpf_program__unload()
1514 zclose(obj->efile.fd); in bpf_object__elf_finish()
5488 zclose(obj->maps[j].fd); in bpf_object__create_maps()
8050 zclose(obj->maps[i].fd); in bpf_object_unload()
9001 zclose(map->fd); in bpf_map__destroy()