Lines Matching refs:action
72 const char *ActionString(ACTION action) in ActionString() argument
74 return actions[action]; in ActionString()
77 static ACTION GetUeventAction(const char *action) in GetUeventAction() argument
79 if (action == NULL || *action == '\0') { in GetUeventAction()
83 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()
106 …if (uevent->action == ACTION_ADD || uevent->action == ACTION_CHANGE || uevent->action == ACTION_ON… in HandleUevent()
203 if (uevent->action == ACTION_ADD) { in HandleUeventRequired()
223 uevent->action = GetUeventAction(event + strlen("ACTION=")); in AddUevent()
257 uevent->action, in AddUevent()