/gem5/src/cpu/kvm/ |
H A D | device.hh | 114 int ioctl(int request, long p1) const; 115 int ioctl(int request, void *p1) const { function in class:KvmDevice 116 return ioctl(request, (long)p1); 118 int ioctl(int request) const { function in class:KvmDevice 119 return ioctl(request, 0L);
|
H A D | device.cc | 43 #include <sys/ioctl.h> 72 if (ioctl(KVM_GET_DEVICE_ATTR, &dattr) == -1) { 92 if (ioctl(KVM_SET_DEVICE_ATTR, &dattr) == -1) { 112 return ioctl(KVM_HAS_DEVICE_ATTR, &dattr) == 0; 119 KvmDevice::ioctl(int request, long p1) const function in class:KvmDevice 123 return ::ioctl(fd, request, p1);
|
H A D | vm.hh | 61 * @defgroup KvmIoctl KVM low-level ioctl interface. 221 * Main VM ioctl interface. 226 * @return -1 on error (error number in errno), ioctl dependent 229 int ioctl(int request, long p1) const; 230 int ioctl(int request, void *p1) const { function in class:Kvm 231 return ioctl(request, (long)p1); 233 int ioctl(int request) const { function in class:Kvm 234 return ioctl(request, 0L); 340 * @note This ioctl is usually only used if the interrupt 503 * KVM VM ioctl interfac 512 int ioctl(int request, void *p1) const { function in class:KvmVM 515 int ioctl(int request) const { function in class:KvmVM [all...] |
H A D | perfevent.hh | 251 * @warning This ioctl has some pretty bizarre semantics. It seems 338 * @return -1 on error (error number in errno), ioctl dependent 347 * PerfEvent ioctl interface. 352 * @return -1 on error (error number in errno), ioctl dependent 355 int ioctl(int request, long p1); 356 int ioctl(int request, void *p1) { return ioctl(request, (long)p1); } function in class:PerfKvmCounter 357 int ioctl(int request) { return ioctl(request, 0L); } function in class:PerfKvmCounter
|
H A D | vm.cc | 45 #include <sys/ioctl.h> 73 apiVersion = ioctl(KVM_GET_API_VERSION); 77 vcpuMMapSize = ioctl(KVM_GET_VCPU_MMAP_SIZE); 201 if (ioctl(KVM_GET_SUPPORTED_CPUID, (void *)&cpuid) == -1) { 233 if (ioctl(KVM_GET_MSR_INDEX_LIST, (void *)&msrs) == -1) { 267 int ret = ioctl(KVM_CHECK_EXTENSION, extension); 269 panic("KVM: ioctl failed when checking for extension\n"); 274 Kvm::ioctl(int request, long p1) const function in class:Kvm 278 return ::ioctl(kvmFD, request, p1); 286 vmFD = ioctl(KVM_CREATE_V 577 KvmVM::ioctl(int request, long p1) const function in class:KvmVM [all...] |
H A D | perfevent.cc | 41 #include <sys/ioctl.h> 111 if (ioctl(PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP) == -1) 118 if (ioctl(PERF_EVENT_IOC_DISABLE, PERF_IOC_FLAG_GROUP) == -1) 125 if (ioctl(PERF_EVENT_IOC_PERIOD, &period) == -1) 132 if (ioctl(PERF_EVENT_IOC_REFRESH, refresh) == -1) 225 PerfKvmCounter::ioctl(int request, long p1) function in class:PerfKvmCounter 228 return ::ioctl(fd, request, p1);
|
H A D | base.hh | 557 * vCPU ioctl interface. 562 * @return -1 on error (error number in errno), ioctl dependent 565 int ioctl(int request, long p1) const; 566 int ioctl(int request, void *p1) const { function in class:BaseKvmCPU 567 return ioctl(request, (long)p1); 569 int ioctl(int request) const { function in class:BaseKvmCPU 570 return ioctl(request, 0L); 683 /** Execute the KVM_RUN ioctl */
|
H A D | base.cc | 43 #include <sys/ioctl.h> 830 if (ioctl(KVM_NMI) == -1) 838 if (ioctl(KVM_INTERRUPT, (void *)&interrupt) == -1) 845 if (ioctl(KVM_GET_REGS, ®s) == -1) 852 if (ioctl(KVM_SET_REGS, (void *)®s) == -1) 859 if (ioctl(KVM_GET_SREGS, ®s) == -1) 866 if (ioctl(KVM_SET_SREGS, (void *)®s) == -1) 873 if (ioctl(KVM_GET_FPU, &state) == -1) 880 if (ioctl(KVM_SET_FPU, (void *)&state) == -1) 893 if (ioctl(KVM_SET_ONE_RE 1179 BaseKvmCPU::ioctl(int request, long p1) const function in class:BaseKvmCPU [all...] |
H A D | x86_cpu.cc | 1460 if (ioctl(KVM_SET_CPUID2, (void *)&cpuid) == -1) 1480 if (ioctl(KVM_SET_MSRS, (void *)&msrs) == -1) 1500 if (ioctl(KVM_GET_MSRS, (void *)&msrs) == -1) 1562 if (ioctl(KVM_GET_DEBUGREGS, ®s) == -1) 1573 if (ioctl(KVM_SET_DEBUGREGS, (void *)®s) == -1) 1583 if (ioctl(KVM_GET_XCRS, ®s) == -1) 1590 if (ioctl(KVM_SET_XCRS, (void *)®s) == -1) 1597 if (ioctl(KVM_GET_XSAVE, &xsave) == -1) 1604 if (ioctl(KVM_SET_XSAVE, (void *)&xsave) == -1) 1612 if (ioctl(KVM_GET_VCPU_EVENT [all...] |
/gem5/src/gpu-compute/ |
H A D | cl_driver.hh | 57 int ioctl(ThreadContext *tc, unsigned req);
|
H A D | cl_driver.cc | 106 ClDriver::ioctl(ThreadContext *tc, unsigned req) function in class:ClDriver 258 fatal("ClDriver: bad ioctl %d\n", req);
|
/gem5/src/sim/ |
H A D | emul_driver.hh | 49 * Currently only open(), ioctl(), and mmap() calls are supported, but other 80 * Abstract method, invoked when the user program calls ioctl() on 83 * @return The return code for the ioctl, or the negation of the errno 86 virtual int ioctl(ThreadContext *tc, unsigned req) = 0;
|
H A D | syscall_emul.hh | 78 #include <sys/ioctl.h> 674 /// Target ioctl() handler. For the most part, programs call ioctl() 688 DPRINTF_SYSCALL(Verbose, "ioctl(%d, 0x%x, ...)\n", tgt_fd, req); 697 return emul_driver->ioctl(tc, req); 717 status = ioctl(sfdp->getSimFD(), req, conf_arg.bufferPtr()); 740 status = ioctl(sfdp->getSimFD(), req, req_arg.bufferPtr()); 752 warn("Unsupported ioctl call (return ENOTTY): ioctl(%d, 0x%x, ...) @ \n", 836 * descriptor for subsequent ioctl o [all...] |
/gem5/src/arch/arm/kvm/ |
H A D | base_cpu.cc | 125 // calling the ioctl with a struct size of 0. The kernel will 150 if (ioctl(KVM_ARM_VCPU_INIT, (void *)&init) == -1) 157 if (ioctl(KVM_GET_REG_LIST, (void *)®s) == -1) {
|
H A D | arm_cpu.cc | 371 if (ioctl(KVM_ARM_VCPU_INIT, (void *)&init) == -1) 449 if (ioctl(KVM_GET_REG_LIST, (void *)®s) == -1) {
|
/gem5/ext/testlib/ |
H A D | terminal.py | 111 fcntl.ioctl(0, termios.TIOCGWINSZ, 115 # It's possible that in sandboxed environments the above ioctl is not
|
/gem5/src/base/ |
H A D | pollevent.cc | 31 #include <sys/ioctl.h>
|
/gem5/src/dev/net/ |
H A D | ethertap.cc | 55 #include <sys/ioctl.h> 415 if (ioctl(fd, TUNSETIFF, (void *)&ifr) < 0)
|
/gem5/src/dev/serial/ |
H A D | terminal.cc | 48 #include <sys/ioctl.h>
|
/gem5/util/tap/ |
H A D | tap.cc | 43 #include <sys/ioctl.h>
|
/gem5/src/base/vnc/ |
H A D | vncserver.cc | 45 #include <sys/ioctl.h>
|