/base/startup/init/services/init/standard/ |
H A D | device.c | 35 INIT_LOGE("Mount tmpfs failed. %s", strerror(errno)); in MountBasicFs() 41 INIT_LOGE("Mount tmpfs failed. %s", strerror(errno)); in MountBasicFs() 44 INIT_LOGE("Mount tmpfs slave failed. %s", strerror(errno)); in MountBasicFs() 47 INIT_LOGE("mkdir /mnt/data failed. %s", strerror(errno)); in MountBasicFs() 50 INIT_LOGE("Mount tmpfs failed. %s", strerror(errno)); in MountBasicFs() 53 INIT_LOGE("Mount tmpfs shared failed. %s", strerror(errno)); in MountBasicFs() 56 INIT_LOGE("Mount storage failed. %s", strerror(errno)); in MountBasicFs() 61 INIT_LOGE("mkdir /dev/pts failed. %s", strerror(errno)); in MountBasicFs() 64 INIT_LOGE("Mount devpts failed. %s", strerror(errno)); in MountBasicFs() 68 INIT_LOGE("Moun in MountBasicFs() [all...] |
H A D | fd_holder_service.c | 38 INIT_LOGE("Service %s request hold fds with invalid fds", service->name); in HandlerHoldFds() 47 INIT_LOGE("Failed to update service \' %s \' fds", service->name); in HandlerHoldFds() 69 INIT_LOGE("Failed to copy, err = %d", errno); in SendErrorInfo() 87 INIT_LOGE("Failed to send err info to service \' %s \', err = %d", serviceName, errno); in SendErrorInfo() 94 INIT_LOGE("Invalid service"); in CheckFdHolderPermission() 100 INIT_LOGE("Service \' %s \'(pid = %d) is not valid or request with unexpected process(pid = %d)", in CheckFdHolderPermission() 134 INIT_LOGE("Invalid message received: %s", buffer); in HandlerFdHolder() 159 INIT_LOGE("Unexpected action: %s", action); in HandlerFdHolder() 175 INIT_LOGE("Invalid fd holder socket"); in RegisterFdHoldWatcher()
|
H A D | init_cmds.c | 89 INIT_LOGE("Failed to get param value over max length");
in GetParamValue() 117 INIT_LOGE("Failed to wait pid %d, errno %d", pid, errno);
in SyncExecCommand() 165 INIT_LOGE("Failed to install kernel module for %s failed options %s err: %d", realPath, options, errno);
in DoInsmod() 242 INIT_LOGE("DoSymlink: link %s to %s failed: %d", ctx->argv[0], ctx->argv[1], errno);
in DoSymlink() 281 INIT_LOGE("DoMakeNode: path: %s failed: %d", ctx->argv[0], errno);
in DoMakeNode() 312 INIT_LOGE("Run command umount_fstab failed");
in DoUmountFstabFile() 394 INIT_LOGE("Failed to get %s mount status", ctx->argv[0]);
in DoUmount() 403 INIT_LOGE("Failed to remove dm device %s", ctx->argv[0]);
in DoRemoveDmDevice() 414 INIT_LOGE("Failed to mount dm device %d", ret);
in DoMountOneFstabFile() 433 INIT_LOGE("Cal in DoTimerStart() [all...] |
H A D | init_firststage.c | 88 INIT_LOGE("Failed to create uevent socket");
in StartUeventd() 114 INIT_LOGE("[startup_failed]Mount required partitions failed; please check fstab file %d",
in MountRequiredPartitions() 146 INIT_LOGE("Failed to exec \"/bin/init\", err = %d", errno);
in StartSecondStageInit()
|
H A D | init.c | 52 INIT_LOGE("Failed to create fd holder socket, err = %d", errno);
in FdHolderSockInit() 67 INIT_LOGE("Failed to copy fd hoder socket path");
in FdHolderSockInit() 73 INIT_LOGE("Failed to binder fd folder socket %d", errno);
in FdHolderSockInit() 109 INIT_LOGE("Set time of day failed, err = %d", errno);
in SystemInit() 230 INIT_LOGE("service %s exit! create socket failed!", service->name);
in TriggerServices() 290 INIT_LOGE("[startup_failed]Init param service failed %d", SYS_PARAM_INIT_FAILED);
in SystemConfig()
|
/base/startup/init/remount/ |
H A D | remount_overlay.c | 84 INIT_LOGE("Command %s failed with status %d", argv[0], WEXITSTATUS(status));
in ExecCommand() 95 INIT_LOGE("open %s failed errno %d", fsBlkDev, errno);
in GetDevSize() 100 INIT_LOGE("get block device [%s] size failed, errno %d", fsBlkDev, errno);
in GetDevSize() 114 INIT_LOGE("get dev size failed.");
in FormatExt4() 130 INIT_LOGE("mke2fs failed returned %d", ret);
in FormatExt4() 141 INIT_LOGE("e2fsdroid failed returned %d", ret);
in FormatExt4() 167 INIT_LOGE("get devNum failed returned");
in DoRemount() 174 INIT_LOGE("Failed to copy devExt4.");
in DoRemount() 189 INIT_LOGE("Failed to format devExt4 %s.", devExt4);
in DoRemount() 195 INIT_LOGE("Faile in DoRemount() [all...] |
/base/startup/init/services/init/adapter/ |
H A D | init_adapter.c | 36 INIT_LOGE("prctl PR_SET_SECUREBITS failed: %d", errno);
in KeepCapability() 44 INIT_LOGE("prctl PR_SET_SECUREBITS failed: %d", errno);
in KeepCapability() 50 INIT_LOGE("prctl PR_SET_SECUREBITS failed: %d", errno);
in KeepCapability() 62 INIT_LOGE("prctl PR_CAP_AMBIENT failed: %d", errno);
in SetAmbientCapability() 82 INIT_LOGE("CheckWaitPid, sem_post failed, errno %d.", errno);
in CheckWaitPid() 100 INIT_LOGE("ExecuteRcs, fork failed! err %d.", errno);
in SystemExecuteRcs() 108 INIT_LOGE("ExecuteRcs, execle failed! err %d.", errno);
in SystemExecuteRcs() 116 INIT_LOGE("ExecuteRcs, sem_init failed, err %d.", errno);
in SystemExecuteRcs() 123 INIT_LOGE("ExecuteRcs, sem_wait failed, err %d.", errno);
in SystemExecuteRcs()
|
/base/startup/init/ueventd/ |
H A D | ueventd_device_handler.c | 75 INIT_LOGE("Failed to copy link name"); in CreateSymbolLinks() 80 INIT_LOGE("[uevent] Failed to create dir \" %s \", err = %d", linkDir, errno); in CreateSymbolLinks() 89 INIT_LOGE("Failed to link \" %s \" to \" %s \", err = %d", deviceNode, linkName, errno); in CreateSymbolLinks() 117 INIT_LOGE("[uevent] Failed to memcpy path %s", path); in SetDeviceLable() 126 INIT_LOGE("[uevent] Failed to Restorecon \" %s \"", path); in SetDeviceLable() 158 INIT_LOGE("Invalid device file"); in CreateDeviceNode() 164 INIT_LOGE("Failed to copy device node"); in CreateDeviceNode() 170 INIT_LOGE("device path is not valid. should be starts with /dev"); in CreateDeviceNode() 176 INIT_LOGE("Create path \" %s \" failed", devicePath); in CreateDeviceNode() 187 INIT_LOGE("Creat in CreateDeviceNode() [all...] |
H A D | ueventd_socket.c | 35 INIT_LOGE("Failed to clear socket address"); in UeventdSocketInit() 44 INIT_LOGE("Create socket failed, err = %d", errno); in UeventdSocketInit() 52 INIT_LOGE("Bind socket failed, err = %d", errno); in UeventdSocketInit() 89 INIT_LOGE("Unexpected control message, ignored"); in ReadUeventMessage()
|
H A D | ueventd_main.c | 37 INIT_LOGE("Failed to get param value"); in IsComplete() 66 INIT_LOGE("Failed to poll ueventd socket!"); in PollUeventdSocketTimeout() 84 INIT_LOGE("Failed to create uevent socket!"); in UeventdRetrigger() 108 INIT_LOGE("Failed to create uevent socket!"); in UeventdDaemon() 116 INIT_LOGE("Failed to create ueventd flag!"); in UeventdDaemon()
|
H A D | ueventd_firmware_handler.c | 32 INIT_LOGE("Failed to build firmware loading path"); in HandleFimwareDeviceEvent() 39 INIT_LOGE("Failed to open %s, err = %d", fwLoadingPath, errno); in HandleFimwareDeviceEvent()
|
H A D | ueventd_read_cfg.c | 76 INIT_LOGE("Ignore invalid item: %s", p); in ParseDeviceConfig() 120 INIT_LOGE("Ignore invalid item: %s", p); in ParseSysfsConfig() 197 INIT_LOGE("Invalid line \"%s\", miss ']'", buffer); in ParseUeventConfig() 204 INIT_LOGE("Invalid section \" %s \"", section); in ParseUeventConfig() 235 INIT_LOGE("Parse uevent config from %s failed", p); in DoUeventConfigParse() 253 INIT_LOGE("Failed to get file stat. err = %d", errno); in ParseUeventdConfigFile() 260 INIT_LOGE("Invalid configure file with size"); in ParseUeventdConfigFile() 267 INIT_LOGE("Failed to malloc memory. err = %d", errno); in ParseUeventdConfigFile() 273 INIT_LOGE("Read from file %s failed. err = %d", file, errno); in ParseUeventdConfigFile() 404 INIT_LOGE("Faile in ChangeSysAttributePermissions() [all...] |
/base/startup/init/services/init/lite/ |
H A D | init_jobs.c | 56 INIT_LOGE("Get job name \"%s\" failed", jobNameStr);
in GetJobName() 66 INIT_LOGE("get JobName failed");
in ParseJob() 73 INIT_LOGE("job %s is not an array", resJob->name);
in ParseJob() 78 INIT_LOGE("ParseJob, failed to get cmds for job!");
in ParseJob() 87 INIT_LOGE("ParseAllJobs, input fileRoot is NULL!");
in ParseAllJobs() 93 INIT_LOGE("ParseAllJobs, job item is not array!");
in ParseAllJobs() 99 INIT_LOGE("ParseAllJobs, jobs count %d is invalid, should be positive and not exceeding %d.",
in ParseAllJobs() 106 INIT_LOGE("ParseAllJobs, malloc failed! job arrSize %d.", jobArrSize);
in ParseAllJobs() 112 INIT_LOGE("ParseAllJobs, memset_s failed.");
in ParseAllJobs() 129 INIT_LOGE("DoJo in DoJob() [all...] |
H A D | init_cmds.c | 35 INIT_LOGE("DoExec: invalid arguments");
in DoExec() 40 INIT_LOGE("DoExec: failed to fork child process to exec \"%s\"", ctx->argv[0]);
in DoExec() 46 INIT_LOGE("DoExec: execute \"%s\" failed: %d.", ctx->argv[0], errno);
in DoExec() 78 INIT_LOGE("CheckCfg file %s Failed", ctx->argv[0]);
in DoLoadCfg() 85 INIT_LOGE("Failed to open cfg %s error:%d", ctx->argv[0], errno);
in DoLoadCfg() 101 INIT_LOGE("Cannot support command: %s", buf);
in DoLoadCfg()
|
H A D | init_reboot.c | 27 INIT_LOGE("reboot failed! syscall ret %d, err %d.", ret, errno);
in ExecReboot()
|
/base/startup/init/test/exec_test/ |
H A D | client.c | 30 INIT_LOGE("Client need an argument");
in main() 35 INIT_LOGE("Failed to create client socket");
in main() 47 INIT_LOGE("Failed to connect socket: %d", errno);
in main() 52 INIT_LOGE("input error, invalid server name");
in main() 58 INIT_LOGE("Failed to write, errno = %d", errno);
in main()
|
/base/startup/init/interfaces/innerkits/fs_manager/switch_root/ |
H A D | switch_root.c | 46 INIT_LOGE("Failed to get stat of %s", de->d_name); in FreeOldRoot() 70 INIT_LOGE("Failed to unlink %s, err = %d", de->d_name, errno); in FreeOldRoot() 101 INIT_LOGE("Fatal error. Read mounts info from \" /proc/mounts \" failed"); in MountToNewTarget() 121 INIT_LOGE("Failed to mount moving %s to %s, err = %d", mountPoint, newMountPoint, errno); in MountToNewTarget() 146 INIT_LOGE("Fatal error. Try to switch to new root with invalid new mount point"); in SwitchRoot() 156 INIT_LOGE("Failed to get new root \" %s \" stat", newRoot); in SwitchRoot() 167 INIT_LOGE("Failed to move mount to new root \" %s \" stat", newRoot); in SwitchRoot() 174 INIT_LOGE("Failed to change directory to %s, err = %d", newRoot, errno); in SwitchRoot() 180 INIT_LOGE("Failed to mount moving %s to %s, err = %d", newRoot, "/", errno); in SwitchRoot() 186 INIT_LOGE("Faile in SwitchRoot() [all...] |
/base/startup/init/watchdog/ |
H A D | init_watchdog.c | 53 INIT_LOGE("wait for file:%s failed after %u seconds.", source, (WAIT_MAX_COUNT * waitTime) / CONVERSION_BASE); in WaitAtStartup() 67 INIT_LOGE("Failed to set pretimeout to %d\n", preTimeout); in GetWatcherDogCfg() 71 INIT_LOGE("Failed to get pretimeout\n"); in GetWatcherDogCfg() 88 INIT_LOGE("Can't open /dev/watchdog."); in main() 111 INIT_LOGE("setpriority failed err=%d\n", errno); in main() 120 INIT_LOGE("Failed to set timeout to %d\n", timeoutSet); in main() 124 INIT_LOGE("Failed to get timeout\n"); in main()
|
/base/startup/init/services/init/ |
H A D | init_service_socket.c | 55 INIT_LOGE("Failed to clear socket address"); in SetSocketAddr() 62 INIT_LOGE("No support in liteos kernel"); in SetSocketAddr() 81 INIT_LOGE("Failed to setsockopt"); in SetSocketOptionAndBind() 88 INIT_LOGE("Failed to setsockopt"); in SetSocketOptionAndBind() 94 INIT_LOGE("Failed to set socket addr"); in SetSocketOptionAndBind() 100 INIT_LOGE("Create socket for service %s failed: %d", sockopt->name, errno); in SetSocketOptionAndBind() 104 INIT_LOGE("No support in liteos kernel"); in SetSocketOptionAndBind() 109 INIT_LOGE("Create socket for service %s failed: %d", sockopt->name, errno); in SetSocketOptionAndBind() 113 INIT_LOGE("lchown fail %d ", errno); in SetSocketOptionAndBind() 118 INIT_LOGE("fchmoda in SetSocketOptionAndBind() [all...] |
H A D | init_common_service.c | 211 INIT_LOGE("prctl PR_SET_SECUREBITS failed: %d", errno);
in DropCapability() 308 INIT_LOGE("Failed to open realPath: %s %s errno:%d.", realPath, service->writePidArgs.argv[i], errno);
in WritePid() 472 INIT_LOGE("setpriority failed for %s, importance = %d, err=%d",
in EnterServiceSandbox() 529 INIT_LOGE("lldb: open /proc/self/status error: %{public}d", errno);
in CheckTraceStatus() 536 INIT_LOGE("lldb: close fd error: %{public}d", errno);
in CheckTraceStatus() 541 INIT_LOGE("lldb: fail to read data");
in CheckTraceStatus() 549 INIT_LOGE("lldb: fail to find %{public}s", tracerPid);
in CheckTraceStatus() 554 INIT_LOGE("lldb: fail to find line break");
in CheckTraceStatus() 632 INIT_LOGE("ServiceStart invalid:%s", service->name);
in ServiceStart() 640 INIT_LOGE("ServiceStar in ServiceStart() [all...] |
H A D | init_common_cmds.c | 90 INIT_LOGE("Failed to format other opt");
in BuildStringFromCmdArg() 159 INIT_LOGE("Invalid arguments cmd: %s content: %s", cmd->name, cmdContent);
in ExecCmd() 163 INIT_LOGE("Invalid arguments cmd: %s content: %s argc: %d %d", cmd->name, cmdContent, ctx->argc, cmd->maxArg);
in ExecCmd() 238 INIT_LOGE("Reset cmd cannot find service %s.", ctx->argv[0]);
in DoReset() 250 INIT_LOGE("stop service %s pid %d failed! err %d.", service->name, service->pid, errno);
in DoReset() 269 INIT_LOGE("Failed to get real path %s", ctx->argv[0]);
in DoCopy() 275 INIT_LOGE("Failed to open source path %s %d", ctx->argv[0], errno);
in DoCopy() 281 INIT_LOGE("Failed to state source path %s %d", ctx->argv[0], errno);
in DoCopy() 292 INIT_LOGE("Failed to open dest path %s %d", ctx->argv[1], errno);
in DoCopy() 299 INIT_LOGE("Faile in DoCopy() [all...] |
H A D | init_config.c | 83 INIT_LOGE("Invalid type of import item. should be string");
in ParseAllImports() 88 INIT_LOGE("cannot get import config file");
in ParseAllImports() 93 INIT_LOGE("cannot get value for %s", importContent);
in ParseAllImports()
|
H A D | init_service_file.c | 38 INIT_LOGE("Failed realpath err=%d", errno); in CreateFile() 81 INIT_LOGE("Service error %d %s, failed to create file", errno, service->name, tmpFile->fileName); in CreateServiceFile() 87 INIT_LOGE("Service error %d %s, failed to set env for file", errno, service->name, tmpFile->fileName); in CreateServiceFile()
|
/base/startup/init/initsync/src/ |
H A D | init_sync.c | 34 INIT_LOGE("[Init] [ERR] %d!", errno); in SendCmd() 39 INIT_LOGE("[Init] [ERR] %d!", errno); in SendCmd() 59 INIT_LOGE("[Init] the stage(%d) is not expected!", stage); in SystemInitStage()
|
/base/startup/init/services/log/ |
H A D | init_log.h | 51 #define INIT_LOGE(fmt, ...)
macro 61 #define INIT_LOGE(fmt, ...) \
macro 73 #define INIT_LOGE(fmt, ...) \
macro 87 INIT_LOGE(format, ##__VA_ARGS__); \
132 INIT_LOGE(format, ##__VA_ARGS__); \
|