Home
last modified time | relevance | path

Searched refs:STARTSWITH (Results 1 – 3 of 3) sorted by relevance

/base/startup/init/ueventd/
Dueventd.c217 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 …]
Dueventd_device_handler.c234 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/
Dueventd_utils.h27 #define STARTSWITH(str, prefix) (strncmp((str), (prefix), strlen(prefix)) == 0) macro