Home
last modified time | relevance | path

Searched refs:STRINGEQUAL (Results 1 – 4 of 4) sorted by relevance

/base/startup/init/ueventd/
Dueventd_device_handler.c157 if (STRINGEQUAL(devicePath, ".") || STRINGEQUAL(devicePath, "/")) { in CreateDeviceNode()
204 if (STRINGEQUAL(deviceNode, realPath)) { in RemoveDeviceNode()
273 … if (uevent == NULL || uevent->subsystem == NULL || STRINGEQUAL(uevent->subsystem, "block") == 0) { in GetBlockDeviceSymbolLinks()
299 while (parent != NULL && !STRINGEQUAL(parent, "/") && !STRINGEQUAL(parent, ".")) { in GetBlockDeviceSymbolLinks()
311 if (STRINGEQUAL(bus, "/sys/bus/platform")) { in GetBlockDeviceSymbolLinks()
402 if (STRINGEQUAL(subsystem, "block")) { in GetDeviceBasePath()
404 } else if (STRINGEQUAL(subsystem, "input")) { in GetDeviceBasePath()
406 } else if (STRINGEQUAL(subsystem, "drm")) { in GetDeviceBasePath()
408 } else if (STRINGEQUAL(subsystem, "graphics")) { in GetDeviceBasePath()
410 } else if (STRINGEQUAL(subsystem, "sound")) { in GetDeviceBasePath()
[all …]
Dueventd.c83 if (STRINGEQUAL(action, "add")) { in GetUeventAction()
85 } else if (STRINGEQUAL(action, "remove")) { in GetUeventAction()
87 } else if (STRINGEQUAL(action, "change")) { in GetUeventAction()
89 } else if (STRINGEQUAL(action, "move")) { in GetUeventAction()
91 } else if (STRINGEQUAL(action, "online")) { in GetUeventAction()
93 } else if (STRINGEQUAL(action, "offline")) { in GetUeventAction()
95 } else if (STRINGEQUAL(action, "bind")) { in GetUeventAction()
97 } else if (STRINGEQUAL(action, "unbind")) { in GetUeventAction()
Dueventd_read_cfg.c170 if (STRINGEQUAL(section, "device")) { in GetSection()
172 } else if (STRINGEQUAL(section, "sysfs")) { in GetSection()
174 } else if (STRINGEQUAL(section, "firmware")) { in GetSection()
392 if (STRINGEQUAL(config->sysPath, sysPath)) { in ChangeSysAttributePermissions()
/base/startup/init/ueventd/include/
Dueventd_utils.h28 #define STRINGEQUAL(src, tgt) (strcmp((src), (tgt)) == 0) macro