Lines Matching defs:hDevice
84 Assert(pThis->hDevice == (intptr_t)NIL_RTFILE);
99 int hDevice = open(pszDeviceNm, O_RDWR, 0);
100 if (hDevice < 0)
105 hDevice = open(pszDeviceNm, O_RDWR, 0);
106 if (hDevice < 0)
126 if (fcntl(hDevice, F_SETFD, FD_CLOEXEC) == -1)
128 close(hDevice);
139 pThis->hDevice = hDevice;
152 if (pThis->hDevice != (intptr_t)NIL_RTFILE)
154 if (close(pThis->hDevice))
156 pThis->hDevice = (intptr_t)NIL_RTFILE;
179 AssertMsg(pThis->hDevice != (intptr_t)NIL_RTFILE, ("SUPLIB not initiated successfully!\n"));
185 if (RT_LIKELY(ioctl(pThis->hDevice, uFunction, pvReq) >= 0))
209 int rc = ioctl(pThis->hDevice, uFunction, idCpu);