Lines Matching refs:deviceName
248 const char *partitionName, const char *deviceName)
278 } else if (!INVALIDSTRING(deviceName)) {
280 "/dev/block/platform/%s/%s", parent, deviceName) == -1) {
346 linkNum = BuildDeviceSymbolLinks(links, linkNum, parent, uevent->partitionName, uevent->deviceName);
397 static const char *GetDeviceName(char *sysPath, const char *deviceName)
404 if (deviceName != NULL && deviceName[0] != '\0') {
407 devName = basename((char *)deviceName);
408 char *p = strrchr(deviceName, '/');
483 const char *devName = GetDeviceName(sysPath, uevent->deviceName);
513 const char *devName = GetDeviceName(sysPath, uevent->deviceName);
526 if (uevent->deviceName != NULL) {
527 if (snprintf_s(deviceNode, DEVICE_FILE_SIZE, DEVICE_FILE_SIZE - 1, "/dev/%s", uevent->deviceName) == -1) {
546 if (strcmp(uevent->deviceName, "mapper/control") == 0) {