Searched refs:sysfd (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/tests/checkasm/ |
D | checkasm.h | 220 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;\
|
D | checkasm.c | 287 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/ |
D | lib_host.c | 153 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/ |
D | kvm_host.h | 117 struct kvm_cpuid2 *tst_kvm_get_cpuid(int sysfd);
|
/third_party/ltp/doc/ |
D | KVM-Test-API.asciidoc | 188 - `struct kvm_cpuid2 *tst_kvm_get_cpuid(int sysfd)` – Get a list of supported
|