Searched refs:__fd (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/include/nolibc/sys/ |
| H A D | select.h | 26 int __fd = (fd); \ 27 if (__fd >= 0) \ 28 __set->fds[__fd / FD_SETIDXMASK] &= \ 29 ~(1UL << (__fd & FD_SETBITMASK)); \ 34 int __fd = (fd); \ 35 if (__fd >= 0) \ 36 __set->fds[__fd / FD_SETIDXMASK] |= \ 37 1UL << (__fd & FD_SETBITMASK); \ 42 int __fd = (fd); \ 44 if (__fd >= 0) \ [all …]
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_pci_device_test.c | 45 int __fd; \ 49 ASSERT_GT((__fd = open(__sysfs_path, O_RDONLY)), 0); \ 50 ASSERT_GT(read(__fd, __buf, ARRAY_SIZE(__buf)), 0); \ 51 ASSERT_EQ(0, close(__fd)); \
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_bpf.c | 11 #define TEST_DECLARE_OPTS(__fd) \ argument 14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_f, .prog_fd = __fd); \ 16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \ 17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \ 18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \ 22 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \
|
| /linux/include/linux/ |
| H A D | file.h | 184 int __fd = get_unused_fd_flags(_fd_flags); \ 185 __fd_prepare(__fd, __fd < 0 ? NULL : (_file_owned)); \
|