Lines Matching refs:syspath
308 if (!STARTSWITH(uevent->syspath, "/devices")) {
315 if (snprintf_s(sysPath, SYSPATH_SIZE, SYSPATH_SIZE - 1, "/sys%s", uevent->syspath) == -1) {
316 INIT_LOGE("Failed to build sys path for device %s", uevent->syspath);
331 INIT_LOGE("Failed to build subsystem path for device \" %s \"", uevent->syspath);
391 INIT_LOGV("Device %s changed", uevent->syspath);
420 // kernel does not report DEVNAME, which is possible. use base name of syspath instead.
476 if (uevent->syspath == NULL) {
479 if (strncpy_s(sysPath, SYSPATH_SIZE - 1, uevent->syspath, strlen(uevent->syspath) != EOK)) {
498 if (uevent == NULL || uevent->subsystem == NULL || uevent->syspath == NULL) {
509 if (strncpy_s(sysPath, SYSPATH_SIZE - 1, uevent->syspath, strlen(uevent->syspath)) != EOK) {