Home
last modified time | relevance | path

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

/Linux-v6.1/tools/include/nolibc/
Dtypes.h99 int __fd = (fd); \
100 if (__fd >= 0) \
101 __set->fd32[__fd / 32] &= ~(1U << (__fd & 31)); \
106 int __fd = (fd); \
107 if (__fd >= 0) \
108 __set->fd32[__fd / 32] |= 1U << (__fd & 31); \
113 int __fd = (fd); \
115 if (__fd >= 0) \
116 __r = !!(__set->fd32[__fd / 32] & 1U << (__fd & 31)); \
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c10 #define TEST_DECLARE_OPTS(__fd) \ argument
13 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_f, .prog_fd = __fd); \
15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \
16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \
17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \
21 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \