Searched refs:currInfo (Results 1 – 1 of 1) sorted by relevance
/base/startup/init/services/modules/reboot/ |
D | reboot_static.c | 81 static int SetParamCmdInfo(ParamCmdInfo *currInfo, CmdExecutor executor, const char *cmd) in SetParamCmdInfo() argument 84 currInfo->name = Dup2String(REBOOT_NAME_PREFIX, cmd); in SetParamCmdInfo() 85 PLUGIN_CHECK(currInfo->name != NULL, break, "Failed to copy %s", cmd); in SetParamCmdInfo() 86 currInfo->replace = Dup2String(REBOOT_REPLACE_PREFIX, cmd); in SetParamCmdInfo() 87 PLUGIN_CHECK(currInfo->replace != NULL, break, "Failed to copy %s", cmd); in SetParamCmdInfo() 88 currInfo->cmd = Dup2String(REBOOT_CMD_PREFIX, cmd); in SetParamCmdInfo() 89 PLUGIN_CHECK(currInfo->cmd != NULL, break, "Failed to copy %s", cmd); in SetParamCmdInfo() 91 int cmdId = AddCmdExecutor(currInfo->cmd, executor); in SetParamCmdInfo() 94 … PLUGIN_LOGV("SetParamCmdInfo '%s' '%s' '%s' ", currInfo->name, currInfo->cmd, currInfo->replace); in SetParamCmdInfo() 95 currInfo = NULL; in SetParamCmdInfo() [all …]
|