/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/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() 99 BEGET_LOGE("Process service %s status: %d ", serviceName, status); in RestartProcess() 102 BEGET_LOGE("Stop service %s failed", serviceName); in RestartProcess() 106 BEGET_LOGE("Failed wait service %s stopped", serviceName); in RestartProcess() 110 BEGET_LOGE("Start service %s failed", serviceName); in RestartProcess() 115 BEGET_LOGE("Start service %s failed", serviceName); in RestartProcess() 137 BEGET_LOGE("Set service %s action %d error", serviceName, action); in ServiceControlWithExtra() [all …]
|
/base/startup/init/services/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/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/fs_manager/ |
D | fstab.c | 140 BEGET_LOGE("Invalid separator for parsing fstab"); in ParseFstabPerLine() 146 BEGET_LOGE("Allocate memory for FS table item failed, err = %d", errno); in ParseFstabPerLine() 152 BEGET_LOGE("Failed to parse block device."); in ParseFstabPerLine() 158 BEGET_LOGE("Failed to parse mount point."); in ParseFstabPerLine() 164 BEGET_LOGE("Failed to parse fs type."); in ParseFstabPerLine() 170 BEGET_LOGE("Failed to parse mount options."); in ParseFstabPerLine() 176 BEGET_LOGE("Failed to parse fs manager flags."); in ParseFstabPerLine() 210 BEGET_LOGE("Open %s failed, err = %d", file, errno); in ReadFstabFromFile() 215 BEGET_LOGE("Allocate memory for FS table failed, err = %d", errno); in ReadFstabFromFile() 281 BEGET_LOGE("Failed to copy path."); in FindFstabItemForPath() [all …]
|
D | fstab_mount.c | 92 BEGET_LOGE("Command %s failed with status %d", argv[0], WEXITSTATUS(status)); in ExecCommand() 105 BEGET_LOGE("Do not support filesystem \" %s \"", fsType); in DoFormat() 198 BEGET_LOGE("Write buffer size failed."); in DoResizeF2fs() 240 BEGET_LOGE("Write buffer size failed."); in DoResizeExt() 361 BEGET_LOGE("Unsupported file system \" %s \"", item->fsType); in MountOneItem() 371 BEGET_LOGE("Failed to resize.f2fs dir %s , ret = %d", item->deviceName, ret); in MountOneItem() 376 BEGET_LOGE("Failed to fsck.f2fs dir %s , ret = %d", item->deviceName, ret); in MountOneItem() 381 BEGET_LOGE("Failed to resize2fs dir %s , ret = %d", item->deviceName, ret); in MountOneItem() 385 BEGET_LOGE("Failed to e2fsck dir %s , ret = %d", item->deviceName, ret); in MountOneItem() 393 …BEGET_LOGE("Mount no fail device %s to %s failed, err = %d", item->deviceName, item->mountPoint, e… in MountOneItem() [all …]
|
/base/startup/init/interfaces/innerkits/syscap/ |
D | init_syscap.c | 38 BEGET_LOGE("cap input is null."); in HasSystemCapability() 46 BEGET_LOGE("Failed snprintf_s err=%d", errno); in HasSystemCapability() 51 BEGET_LOGE("Failed get paramName."); in HasSystemCapability()
|
/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/fd_holder/ |
D | fd_holder.c | 54 BEGET_LOGE("Get fd with poll set, invalid parameter"); in BuildSendData() 68 BEGET_LOGE("Failed to build send data"); in BuildSendData() 95 BEGET_LOGE("Failed to build control message"); in ServiceSendFds() 105 BEGET_LOGE("Failed to send fds to init, err = %d", errno); in ServiceSendFds() 127 BEGET_LOGE("Invalid parameters"); in ServiceSaveFd() 138 BEGET_LOGE("Invalid parameters"); in ServiceSaveFdWithPoll() 147 BEGET_LOGE("Invalid parameters"); in ServiceGetFd() 156 BEGET_LOGE("Cannot get env %s\n", path); in ServiceGetFd()
|
D | fd_holder_internal.c | 29 BEGET_LOGE("Build control message with invalid parameter"); in BuildControlMessage() 79 BEGET_LOGE("Message was truncated when receiving fds"); in GetFdsFromMsg()
|
/base/startup/init/interfaces/innerkits/service_watcher/ |
D | service_watcher.c | 46 BEGET_LOGE("Invalid service name %s %s", key, value); in ServiceStateChange() 59 BEGET_LOGE("Failed snprintf_s err=%d", errno); in ServiceWatchForStatus() 64 BEGET_LOGE("Failed to watcher service %s ret %d.", serviceName, ret); in ServiceWatchForStatus()
|
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd_service.c | 44 BEGET_LOGE("Failed to get socket option. err = %d", errno); in CheckSocketPermission() 66 BEGET_LOGE("[control_fd] Received msg is invalid"); in CmdOnRecvMessage() 92 BEGET_LOGE("[control_fd] Failed to fork child process, err = %d", errno); in CmdOnRecvMessage() 101 BEGET_LOGE("[control_fd] Invalid parameter"); in SendMessage() 146 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdServiceInit()
|
D | control_fd_client.c | 30 BEGET_LOGE("[control_fd] Invalid fifo write parameter"); in ProcessPtyWrite() 50 BEGET_LOGE("[control_fd] Invalid fifo read parameter"); in ProcessPtyRead() 100 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdAgentCreate() 124 BEGET_LOGE("[control_fd] Invalid parameter"); in SendCmdMessage() 195 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdClientInit()
|
/base/startup/init/interfaces/innerkits/reboot/ |
D | init_reboot_innerkits.c | 75 BEGET_LOGE("Success to reboot system"); in ExecReboot() 81 BEGET_LOGE("Failed to reboot system"); in ExecReboot()
|
/base/startup/init/interfaces/innerkits/include/ |
D | beget_ext.h | 113 #define BEGET_LOGE(fmt, ...) STARTUP_LOGE(BEGET_DOMAIN, BEGET_LABEL, fmt, ##__VA_ARGS__) macro 122 BEGET_LOGE(format, ##__VA_ARGS__); \ 160 BEGET_LOGE(format, ##__VA_ARGS__); \
|
/base/startup/init/interfaces/innerkits/modulemgr/ |
D | modulemgr.c | 171 BEGET_LOGE("Failed to install module %s", module->name); in ModuleMgrInstall()
|
/base/startup/init/services/utils/ |
D | init_utils.c | 496 BEGET_LOGE("Failed create %s, err=%d", file, errno); in CheckAndCreatFile()
|