Lines Matching refs:hDevice1
145 static HANDLE hDevice1; variable
172 if (hDevice1 == 0) /*INVALID_HANDLE_VALUE*/ in open_imb()
208 hDevice1 = hDevice; in open_imb()
236 if (hDevice1 == 0) in open_imb()
256 if ((hDevice1 = open(IMB_DEVICE,O_RDWR)) <0) in open_imb()
260 hDevice1 = 0; in open_imb()
291 close(hDevice1); in open_imb()
292 hDevice1 = 0; in open_imb()
337 if (hDevice1 != 0) { in ipmi_close_ia()
339 CloseHandle(hDevice1); in ipmi_close_ia()
341 rc = close(hDevice1); in ipmi_close_ia()
403 if ( (ioctl_status = ioctl(hDevice1, dwIoControlCode,&s) ) <0) { in DeviceIoControl()