Searched refs:STARTSWITH (Results 1 – 3 of 3) sorted by relevance
/base/startup/init/ueventd/ |
D | ueventd.c | 222 if (STARTSWITH(event, "DEVPATH=")) { in AddUevent() 224 } else if (STARTSWITH(event, "SUBSYSTEM=")) { in AddUevent() 226 } else if (STARTSWITH(event, "ACTION=")) { in AddUevent() 228 } else if (STARTSWITH(event, "DEVNAME=")) { in AddUevent() 230 } else if (STARTSWITH(event, "PARTNAME=")) { in AddUevent() 232 } else if (STARTSWITH(event, "PARTN=")) { in AddUevent() 234 } else if (STARTSWITH(event, "MAJOR=")) { in AddUevent() 236 } else if (STARTSWITH(event, "MINOR=")) { in AddUevent() 238 } else if (STARTSWITH(event, "DEVUID")) { in AddUevent() 240 } else if (STARTSWITH(event, "DEVGID")) { in AddUevent() [all …]
|
D | ueventd_device_handler.c | 218 if (STARTSWITH(path, "/sys/devices/platform/")) { in FindPlatformDeviceName() 224 if (STARTSWITH(path, "/sys/devices/")) { in FindPlatformDeviceName() 279 if (!STARTSWITH(uevent->syspath, "/devices")) { in GetBlockDeviceSymbolLinks() 511 } else if (STARTSWITH(uevent->subsystem, "usb")) { in HandleOtherDeviceEvent()
|
/base/startup/init/ueventd/include/ |
D | ueventd_utils.h | 27 #define STARTSWITH(str, prefix) (strncmp((str), (prefix), strlen(prefix)) == 0) macro
|