Searched defs:pcszNode (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Main/src-server/linux/
H A DHostHardwareLinux.cpp108 * @param pcszNode the path to the device node for the device
112 static bool floppyGetName(const char *pcszNode, unsigned Number, argument
115 AssertPtrReturn(pcszNode, false);
119 int rc = RTFileOpen(&File, pcszNode, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE | RTFILE_O_NON_BLOCK);
259 * @param pcszNode the full path to the device node
269 static int cdromDoInquiry(const char *pcszNode, uint8_t *pu8Type, argument
273 LogRelFlowFunc(("pcszNode=%s, pu8Type=%p, pchVendor=%p, cchVendor=%llu, pchModel=%p, cchModel=%llu\n",
274 pcszNode, pu8Type, pchVendor, cchVendor, pchModel,
276 AssertPtrReturn(pcszNode, VERR_INVALID_POINTER);
282 int rc = RTFileOpen(&hFile, pcszNode, RTFILE_O_REA
388 devValidateDevice(const char *pcszNode, bool isDVD, dev_t *pDevice, char *pszDesc, size_t cchDesc, char *pszUdi, size_t cchUdi) argument
[all...]
H A DUSBGetDevices.cpp864 * If a file @a pcszNode from /sys/bus/usb/devices is a device rather than an
868 const char *pcszNode,
871 const char *pcszFile = strrchr(pcszNode, '/');
876 unsigned bus = usbGetBusFromSysfsPath(pcszNode);
879 int device = RTLinuxSysFsReadIntFile(10, "%s/devnum", pcszNode);
895 if (USBDevInfoInit(&info, szDevPath, pcszNode))
956 static int addIfInterfaceOf(const char *pcszNode, USBDeviceInfo *pInfo) argument
958 if (!muiIsAnInterfaceOf(pcszNode, pInfo->mSysfsPath))
960 char *pszDup = (char *)RTStrDup(pcszNode);
867 addIfDevice(const char *pcszDevicesRoot, const char *pcszNode, VECTOR_OBJ(USBDeviceInfo) *pvecDevInfo) argument

Completed in 49 milliseconds