Searched refs:STARTSWITH (Results 1 – 3 of 3) sorted by relevance
/base/startup/init/ueventd/ |
D | ueventd.c | 217 if (STARTSWITH(event, "DEVPATH=")) { in AddUevent() 219 } else if (STARTSWITH(event, "SUBSYSTEM=")) { in AddUevent() 221 } else if (STARTSWITH(event, "ACTION=")) { in AddUevent() 223 } else if (STARTSWITH(event, "DEVNAME=")) { in AddUevent() 225 } else if (STARTSWITH(event, "PARTNAME=")) { in AddUevent() 227 } else if (STARTSWITH(event, "PARTN=")) { in AddUevent() 229 } else if (STARTSWITH(event, "MAJOR=")) { in AddUevent() 231 } else if (STARTSWITH(event, "MINOR=")) { in AddUevent() 233 } else if (STARTSWITH(event, "DEVUID")) { in AddUevent() 235 } else if (STARTSWITH(event, "DEVGID")) { in AddUevent() [all …]
|
D | ueventd_device_handler.c | 234 if (STARTSWITH(path, "/sys/devices/platform/")) { in FindPlatformDeviceName() 240 if (STARTSWITH(path, "/sys/devices/")) { in FindPlatformDeviceName() 306 if (!STARTSWITH(uevent->syspath, "/devices")) { in GetBlockDeviceSymbolLinks() 540 } 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
|