Home
last modified time | relevance | path

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

/third_party/ffmpeg/tests/checkasm/
Dcheckasm.h220 int sysfd; member
229 ioctl(sysfd, PERF_EVENT_IOC_RESET, 0); \
230 ioctl(sysfd, PERF_EVENT_IOC_ENABLE, 0); \
233 ioctl(sysfd, PERF_EVENT_IOC_DISABLE, 0); \
234 read(sysfd, &t, sizeof(t)); \
249 av_unused const int sysfd = perf->sysfd;\
Dcheckasm.c287 int sysfd; member
487 av_unused const int sysfd = state.sysfd; in measure_nop_time() local
640 state.sysfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, 0); in bench_init_linux()
641 if (state.sysfd == -1) { in bench_init_linux()
686 if (state.sysfd > 0) in bench_uninit()
687 close(state.sysfd); in bench_uninit()
828 perf->sysfd = state.sysfd; in checkasm_get_perf_context()
/third_party/ltp/testcases/kernel/kvm/
Dlib_host.c153 struct kvm_cpuid2 *tst_kvm_get_cpuid(int sysfd) in tst_kvm_get_cpuid() argument
159 if (!SAFE_IOCTL(sysfd, KVM_CHECK_EXTENSION, KVM_CAP_EXT_CPUID)) in tst_kvm_get_cpuid()
167 result = ioctl(sysfd, KVM_GET_SUPPORTED_CPUID, ret); in tst_kvm_get_cpuid()
/third_party/ltp/testcases/kernel/kvm/include/
Dkvm_host.h117 struct kvm_cpuid2 *tst_kvm_get_cpuid(int sysfd);
/third_party/ltp/doc/
DKVM-Test-API.asciidoc188 - `struct kvm_cpuid2 *tst_kvm_get_cpuid(int sysfd)` – Get a list of supported