/base/startup/init/interfaces/innerkits/fs_manager/libfs_dm/ |
D | fs_dm.c | 47 BEGET_LOGE("error, %s is NULL\n", #__ptr); \ 58 BEGET_LOGE("memset io, ret=%d", err); in InitDmIo() 74 BEGET_LOGE("cp devName, ret=%d", err); in InitDmIo() 93 BEGET_LOGE("error, DM_DEV_CREATE failed for %s, ret=%d", devName, rc); in CreateDmDevice() 117 BEGET_LOGE("error, calloc dm table fail"); in LoadDmDeviceTable() 128 BEGET_LOGE("error 0x%x, init dm io", rc); in LoadDmDeviceTable() 144 BEGET_LOGE("error 0x%x, cp target type", err); in LoadDmDeviceTable() 151 BEGET_LOGE("error 0x%x, cp target paras", err); in LoadDmDeviceTable() 159 BEGET_LOGE("error 0x%x, DM_TABLE_LOAD failed for %s", rc, devName); in LoadDmDeviceTable() 183 BEGET_LOGE("error, DM_TABLE_SUSPEND for %s, ret=%d", devName, rc); in ActiveDmDevice() [all …]
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
D | fs_hvb.c | 49 BEGET_LOGE("error, %s is NULL\n", #__ptr); \ 83 BEGET_LOGE("error, size=%zu", size); in FsHvbComputeSha256() 89 BEGET_LOGE("error 0x%x, sha256 init", ret); in FsHvbComputeSha256() 96 BEGET_LOGE("error 0x%x, sha256 update", ret); in FsHvbComputeSha256() 103 BEGET_LOGE("error 0x%x, sha256 final", ret); in FsHvbComputeSha256() 115 BEGET_LOGE("error, bin_size %zu str_size %zu", bin_size, str_size); in FsHvbHexStrToBin() 154 BEGET_LOGE("error, not support alg %s", &hashAlg[0]); in FsHvbCheckCertChainDigest() 159 BEGET_LOGE("error 0x%x, compute hash", ret); in FsHvbCheckCertChainDigest() 165 BEGET_LOGE("error, cert digest not match with cmdline"); in FsHvbCheckCertChainDigest() 184 BEGET_LOGE("error 0x%x, hvb chain verify, vd is NULL", rc); in FsHvbInit() [all …]
|
D | hvb_ops.c | 37 BEGET_LOGE("param is error"); in GetImageSizeForHVB() 56 BEGET_LOGE("error, partition is NULL"); in HvbReadFromPartition() 61 BEGET_LOGE("error, buf is NULL"); in HvbReadFromPartition() 68 BEGET_LOGE("error, calloc fail"); in HvbReadFromPartition() 75 BEGET_LOGE("error, snprintf_s fail, ret = %d", rc); in HvbReadFromPartition() 82 BEGET_LOGE("error, Failed to open %s, errno = %d", path, errno); in HvbReadFromPartition() 84 BEGET_LOGE("open %s, fd=%d errno = %d", "/dev/block/by-name/rvt_system", in HvbReadFromPartition() 96 BEGET_LOGE("Failed to get the size of the partition %s", partition); in HvbReadFromPartition() 107 BEGET_LOGE("Failed to read %lld bytes from %s offset %lld", numBytes, in HvbReadFromPartition()
|
/base/startup/init/interfaces/innerkits/fd_holder/ |
D | fd_holder.c | 30 BEGET_LOGE("Failed to build socket, err = %d", errno); in BuildClientSocket() 39 BEGET_LOGE("Failed to build socket path"); in BuildClientSocket() 45 BEGET_LOGE("Failed to connect to socket, err = %d", errno); in BuildClientSocket() 59 BEGET_LOGE("Get fd with poll set, invalid parameter"); in BuildSendData() 73 BEGET_LOGE("Failed to build send data"); in BuildSendData() 93 BEGET_LOGE("Failed to build send data"); in ServiceSendFds() 103 BEGET_LOGE("Failed to build control message"); in ServiceSendFds() 113 BEGET_LOGE("Failed to send fds to init, err = %d", errno); in ServiceSendFds() 135 BEGET_LOGE("Invalid parameters"); in ServiceSaveFd() 146 BEGET_LOGE("Invalid parameters"); in ServiceSaveFdWithPoll() [all …]
|
D | fd_holder_internal.c | 29 BEGET_LOGE("Build control message with invalid parameter"); in BuildControlMessage() 45 BEGET_LOGE("Failed to build control message"); in BuildControlMessage() 58 BEGET_LOGE("Control message is not valid"); in BuildControlMessage() 68 BEGET_LOGE("Control message is not valid"); in BuildControlMessage() 87 BEGET_LOGE("Message was truncated when receiving fds"); in GetFdsFromMsg()
|
/base/startup/init/interfaces/innerkits/service_control/ |
D | service_control.c | 50 BEGET_LOGE("Failed to cat name"); in StartProcess() 60 BEGET_LOGE("Failed to cat name"); in StartProcess() 83 BEGET_LOGE("Failed snprintf_s err=%d", errno); in GetCurrentServiceStatus() 96 BEGET_LOGE("Get service status failed.\n"); in RestartProcess() 101 BEGET_LOGE("Stop service %s failed", serviceName); in RestartProcess() 105 BEGET_LOGE("Failed wait service %s stopped", serviceName); in RestartProcess() 109 BEGET_LOGE("Start service %s failed", serviceName); in RestartProcess() 114 BEGET_LOGE("Start service %s failed", serviceName); in RestartProcess() 118 BEGET_LOGE("Current service status: %d is not support.", status); in RestartProcess() 138 BEGET_LOGE("Set service %s action %d error", serviceName, action); in ServiceControlWithExtra() [all …]
|
/base/startup/init/interfaces/innerkits/sandbox/ |
D | sandbox_namespace.c | 30 BEGET_LOGE("Open default namespace failed, err=%d", errno); in GetNamespaceFd() 40 BEGET_LOGE("Unshare namespace failed, err=%d", errno); in UnshareNamespace() 46 BEGET_LOGE("Namespace type is not support"); in UnshareNamespace() 54 BEGET_LOGE("Namespace fd is invalid"); in SetNamespace() 58 BEGET_LOGE("Namespace type is not support"); in SetNamespace()
|
D | sandbox.c | 301 BEGET_LOGE("Item %s is not support.", itemName); in GetSandboxInfo() 386 BEGET_LOGE("Sandbox %s has created.", name); in InitSandbox() 430 BEGET_LOGE("Mount with invalid arguments"); in BindMount() 441 BEGET_LOGE("Tag is error."); in BindMount() 452 BEGET_LOGE("Failed to bind mount \' %s \' to \' %s \', err = %d", source, target, errno); in BindMount() 516 … BEGET_LOGE("Failed to link \' %s \' to \' %s \', err = %d", info->target, linkName, errno); in LinkSandboxNode() 572 BEGET_LOGE("Init sandbox name is NULL."); in InitSandboxWithName() 582 BEGET_LOGE("Cannot find sandbox with name %s.", name); in InitSandboxWithName() 590 BEGET_LOGE("Destroy sandbox name is NULL."); in DestroySandbox() 595 BEGET_LOGE("Cannot get sandbox map by name %s.", name); in DestroySandbox() [all …]
|
/base/startup/init/interfaces/innerkits/syscap/ |
D | init_syscap.c | 37 BEGET_LOGE("cap input is null."); in HasSystemCapability() 43 BEGET_LOGE("Failed snprintf_s err=%d", errno); in HasSystemCapability() 47 BEGET_LOGE("Failed snprintf_s err=%d", errno); in HasSystemCapability() 52 BEGET_LOGE("Failed get paramName."); in HasSystemCapability()
|
/base/startup/init/interfaces/innerkits/fs_manager/ |
D | fstab_mount.c | 81 BEGET_LOGE("Fork new process to format failed: %d", errno); in ExecCommand() 91 BEGET_LOGE("Command %s failed with status %d", argv[0], WEXITSTATUS(status)); in ExecCommand() 104 BEGET_LOGE("Do not support filesystem \" %s \"", fsType); in DoFormat() 112 BEGET_LOGE("Failed to build block size buffer"); in DoFormat() 184 BEGET_LOGE("resize.f2fs is not exists."); in DoResizeF2fs() 202 BEGET_LOGE("Write buffer size failed."); in DoResizeF2fs() 218 BEGET_LOGE("fsck.f2fs is not exists."); in DoFsckF2fs() 234 BEGET_LOGE("resize2fs is not exists."); in DoResizeExt() 250 BEGET_LOGE("Write buffer size failed."); in DoResizeExt() 266 BEGET_LOGE("e2fsck is not exists."); in DoFsckExt() [all …]
|
D | fstab.c | 139 BEGET_LOGE("Invalid separator for parsing fstab"); in ParseFstabPerLine() 145 BEGET_LOGE("Allocate memory for FS table item failed, err = %d", errno); in ParseFstabPerLine() 151 BEGET_LOGE("Failed to parse block device."); in ParseFstabPerLine() 157 BEGET_LOGE("Failed to parse mount point."); in ParseFstabPerLine() 163 BEGET_LOGE("Failed to parse fs type."); in ParseFstabPerLine() 169 BEGET_LOGE("Failed to parse mount options."); in ParseFstabPerLine() 175 BEGET_LOGE("Failed to parse fs manager flags."); in ParseFstabPerLine() 209 BEGET_LOGE("Open %s failed, err = %d", file, errno); in ReadFstabFromFile() 214 BEGET_LOGE("Allocate memory for FS table failed, err = %d", errno); in ReadFstabFromFile() 280 BEGET_LOGE("Failed to copy path."); in FindFstabItemForPath() [all …]
|
/base/startup/init/interfaces/innerkits/fs_manager/dm_verity/ |
D | dm_verity.c | 36 BEGET_LOGE("error, %s is NULL\n", #__ptr); \ 55 BEGET_LOGE("error 0x%x, get verifed boot state", rc); in HvbDmVerityIsEnable() 88 BEGET_LOGE("init fs hvb error, ret=%d", rc); in HvbDmVerityinit() 113 BEGET_LOGE("error, setup hashtree fail, ret=%d", rc); in HvbDmVeritySetUp() 131 BEGET_LOGE("final fs hvb error, ret=%d", rc); in HvbDmVerityFinal()
|
/base/startup/init/interfaces/innerkits/service_watcher/ |
D | service_watcher.c | 38 BEGET_LOGE("Invalid service name %s %s", key, value); in ServiceStateChange() 45 BEGET_LOGE("Service wait failed, service is null."); in ServiceWatchForStatus() 51 BEGET_LOGE("Failed snprintf_s err=%d", errno); in ServiceWatchForStatus() 55 BEGET_LOGE("Wait param for %s failed.", paramName); in ServiceWatchForStatus()
|
/base/startup/init/test/exec_test/ |
D | fd_holder_test.c | 45 BEGET_LOGE("Invalid fds for hold, abort\n"); in SaveFds() 50 BEGET_LOGE("Request init save fds failed\n"); in SaveFds() 62 BEGET_LOGE("Cannot get fds, maybe first time\n"); in main() 67 BEGET_LOGE("Failed to write content to fd: %d, err = %d", fd, errno); in main()
|
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd_service.c | 43 BEGET_LOGE("Failed to get socket option. err = %d", errno); in CheckSocketPermission() 66 BEGET_LOGE("[control_fd] Received msg is invaild"); in CmdOnRecvMessage() 71 BEGET_LOGE("Check socket permission failed, err = %d", errno); in CmdOnRecvMessage() 94 BEGET_LOGE("[control_fd] Failed to fork child process, err = %d", errno); in CmdOnRecvMessage() 103 BEGET_LOGE("[control_fd] Invalid parameter"); in SendMessage() 148 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdServiceInit()
|
D | control_fd_client.c | 29 BEGET_LOGE("[control_fd] Invalid fifo write parameter"); in ProcessPtyWrite() 49 BEGET_LOGE("[control_fd] Invalid fifo read parameter"); in ProcessPtyRead() 99 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdAgentCreate() 123 BEGET_LOGE("[control_fd] Invalid parameter"); in SendCmdMessage() 192 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdClientInit()
|
/base/startup/init/interfaces/innerkits/reboot/ |
D | init_reboot_innerkits.c | 73 BEGET_LOGE("Success to reboot system"); in DoReboot() 79 BEGET_LOGE("Failed to reboot system"); in DoReboot()
|
/base/startup/init/interfaces/innerkits/include/ |
D | beget_ext.h | 78 #define BEGET_LOGE(fmt, ...) STARTUP_LOGE(BEGET_DOMAIN, BEGET_LABEL, fmt, ##__VA_ARGS__) macro 87 BEGET_LOGE(format, ##__VA_ARGS__); \ 125 BEGET_LOGE(format, ##__VA_ARGS__); \
|
/base/startup/init/interfaces/innerkits/modulemgr/ |
D | modulemgr.c | 173 BEGET_LOGE("Failed to install module %s", module->name); in ModuleMgrInstall()
|
/base/startup/init/services/utils/ |
D | init_utils.c | 448 BEGET_LOGE("Failed create %s, err=%d", file, errno); in CheckAndCreatFile()
|