Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c92 #define zclose(fd) do { if (fd >= 0) close(fd); fd = -1; } while (0) macro
375 zclose(fs_fd); in child()
392 zclose(token_fd); in child()
401 zclose(sock_fd); in child()
402 zclose(mnt_fd); in child()
403 zclose(fs_fd); in child()
404 zclose(bpffs_fd); in child()
405 zclose(token_fd); in child()
451 zclose(fs_fd); in parent()
462 zclose(sock_fd); in parent()
[all …]
/linux/tools/lib/bpf/
H A Dlibbpf.c326 #ifndef zclose
327 # define zclose(fd) ({ \ macro
793 zclose(prog->fd); in bpf_program__unload()
1569 zclose(obj->efile.fd); in bpf_object__elf_finish()
5658 zclose(obj->maps[j].fd); in bpf_object__create_maps()
8419 zclose(obj->maps[i].fd); in bpf_object_unload()
9413 zclose(map->fd); in bpf_map__destroy()