/base/startup/init/interfaces/innerkits/fs_manager/libfs_dm/ |
H A 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("erro in ActiveDmDevice() [all...] |
/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/ |
H A D | erofs_remount_overlay.c | 32 BEGET_LOGE("read remount.result.done failed errno %d", errno);
in GetRemountResult() 55 BEGET_LOGE("mkdir remount path failed errno %d", errno);
in SetRemountResultFlag() 62 BEGET_LOGE("open remount.result.done failed errno %d", errno);
in SetRemountResultFlag() 75 BEGET_LOGE("write buff failed errno %d", errno);
in SetRemountResultFlag() 86 BEGET_LOGE("mkdir %s failed.", exchangePath);
in Modem2Exchange() 93 BEGET_LOGE("bind %s to %s failed.", modemPath, exchangePath);
in Modem2Exchange() 106 BEGET_LOGE("no exchangePath %s.", exchangePath);
in Exchange2Modem() 112 BEGET_LOGE("bind %s to %s failed.", exchangePath, modemPath);
in Exchange2Modem() 119 BEGET_LOGE("umount %s failed.", exchangePath);
in Exchange2Modem() 126 BEGET_LOGE("remov in Exchange2Modem() [all...] |
H A D | erofs_mount_overlay.c | 45 BEGET_LOGE("Failed to copy nameRofs.");
in AllocDmName() 50 BEGET_LOGE("Failed to copy nameExt4.");
in AllocDmName() 77 BEGET_LOGE("open dev:[%s] failed.", dev);
in LookupErofsEnd() 82 BEGET_LOGE("lseek dev:[%s] failed.", dev);
in LookupErofsEnd() 90 BEGET_LOGE("read dev:[%s] failed.", dev);
in LookupErofsEnd() 97 BEGET_LOGE("dev:[%s] is not erofs system, magic is 0x%x", dev, sb.magic);
in LookupErofsEnd() 110 BEGET_LOGE("open dev:[%s] failed.", dev);
in GetImgSize() 115 BEGET_LOGE("lseek dev:[%s] failed, offset is %llu", dev, offset);
in GetImgSize() 123 BEGET_LOGE("read dev:[%s] failed.", dev);
in GetImgSize() 141 BEGET_LOGE("fsta in GetFsSize() [all...] |
H A D | erofs_overlay_common.c | 28 BEGET_LOGE("Failed get oenmode from cmdline.");
in IsOverlayEnable() 35 BEGET_LOGE("Failed get buildvariant from cmdline.");
in IsOverlayEnable() 51 BEGET_LOGE("cannot open [dev]:%s", dev);
in CheckIsExt4() 56 BEGET_LOGE("cannot seek [dev]:%s", dev);
in CheckIsExt4() 63 BEGET_LOGE("read ext4 super block fail");
in CheckIsExt4() 69 BEGET_LOGE("this [dev] %s is ext4:[block cout]: %d, [size]: %d", dev,
in CheckIsExt4() 82 BEGET_LOGE("cannot open [dev]:%s", dev);
in CheckIsErofs() 87 BEGET_LOGE("cannot seek [dev]:%s", dev);
in CheckIsErofs() 94 BEGET_LOGE("read erofs super block fail");
in CheckIsErofs()
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
H A D | fs_hvb.c | 51 BEGET_LOGE("error, %s is NULL\n", #__ptr); \ 85 BEGET_LOGE("error, size=%zu", size); in FsHvbComputeSha256() 91 BEGET_LOGE("error 0x%x, sha256 init", ret); in FsHvbComputeSha256() 98 BEGET_LOGE("error 0x%x, sha256 update", ret); in FsHvbComputeSha256() 105 BEGET_LOGE("error 0x%x, sha256 final", ret); in FsHvbComputeSha256() 117 BEGET_LOGE("error, bin_size %zu str_size %zu", bin_size, str_size); in FsHvbHexStrToBin() 139 BEGET_LOGE("error 0x%x, get hash val from cmdline", ret); in FsHvbCheckCertChainDigest() 145 BEGET_LOGE("error 0x%x, get digest val from cmdline", ret); in FsHvbCheckCertChainDigest() 158 BEGET_LOGE("error, not support alg %s", &hashAlg[0]); in FsHvbCheckCertChainDigest() 163 BEGET_LOGE("erro in FsHvbCheckCertChainDigest() [all...] |
H A D | hvb_ops.c | 42 BEGET_LOGE("param is error"); in GetImageSizeForHVB() 49 BEGET_LOGE("read file system header fail"); in GetImageSizeForHVB() 81 BEGET_LOGE("error, invalid parameter"); in HvbReadFromPartition() 88 BEGET_LOGE("error, calloc fail"); in HvbReadFromPartition() 95 BEGET_LOGE("error, snprintf_s fail, ret = %d", rc); in HvbReadFromPartition() 102 BEGET_LOGE("error, Failed to open %s, errno = %d", path, errno); in HvbReadFromPartition() 110 BEGET_LOGE("Failed to get the size of the partition %s", partition); in HvbReadFromPartition() 121 BEGET_LOGE("Failed to read %lld bytes from %s offset %lld", numBytes, in HvbReadFromPartition()
|
/base/startup/init/services/sandbox/ |
H A 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()
|
H A D | sandbox.c | 305 BEGET_LOGE("Item %s is not support.", itemName); in GetSandboxInfo() 390 BEGET_LOGE("Sandbox %s has created.", name); in InitSandbox() 434 BEGET_LOGE("Mount with invalid arguments"); in BindMount() 445 BEGET_LOGE("Tag is error."); in BindMount() 454 BEGET_LOGE("Failed to bind mount \' %s \' to \' %s \', err = %d", source, target, errno); in BindMount() 518 BEGET_LOGE("Failed to link \' %s \' to \' %s \', err = %d", info->target, linkName, errno); in LinkSandboxNode() 574 BEGET_LOGE("Init sandbox name is NULL."); in InitSandboxWithName() 584 BEGET_LOGE("Cannot find sandbox with name %s.", name); in InitSandboxWithName() 592 BEGET_LOGE("Destroy sandbox name is NULL."); in DestroySandbox() 597 BEGET_LOGE("Canno in DestroySandbox() [all...] |
/base/startup/init/interfaces/innerkits/service_control/ |
H A 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("Se in ServiceControlWithExtra() [all...] |
/base/startup/init/interfaces/innerkits/fs_manager/dm_verity/ |
H A D | dm_verity.c | 36 BEGET_LOGE("error, %s is NULL\n", #__ptr); \ 55 BEGET_LOGE("error 0x%x, get verifed boot state, force enable dm-verity", rc); in HvbDmVerityIsEnable() 92 BEGET_LOGE("init fs hvb error, ret=%d", rc); in HvbDmVerityinit() 117 BEGET_LOGE("error, setup hashtree fail, ret=%d", rc); in HvbDmVeritySetUp() 134 BEGET_LOGE("final fs hvb error, ret=%d", rc); in HvbDmVerityFinal()
|
/base/startup/init/test/exec_test/ |
H A 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/syscap/ |
H A 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/interfaces/innerkits/fd_holder/ |
H A 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() 106 BEGET_LOGE("Failed to send fds to init, err = %d", errno); in ServiceSendFds() 130 BEGET_LOGE("Invalid parameters"); in ServiceSaveFd() 141 BEGET_LOGE("Invalid parameters"); in ServiceSaveFdWithPoll() 150 BEGET_LOGE("Invalid parameters"); in ServiceGetFd() 159 BEGET_LOGE("Cannot get env %s\n", path); in ServiceGetFd()
|
H A D | fd_holder_internal.c | 29 BEGET_LOGE("Build control message with invalid parameter"); in BuildControlMessage() 82 BEGET_LOGE("Message was truncated when receiving fds"); in GetFdsFromMsg()
|
/base/startup/init/interfaces/innerkits/fs_manager/ |
H A D | fstab_mount.c | 118 BEGET_LOGE("Failed to read, errno: %d", errno); in LogToKmsg() 126 BEGET_LOGE("Invalid read size, ret: %d is larger than buffer size: %d", lineSize, lineMaxSize); in LogToKmsg() 149 BEGET_LOGE("Failed to dup2 stdout, errno: %d, just continue", errno); in RedirectToStdFd() 152 BEGET_LOGE("Failed to dup2 stderr, errno: %d, just continue", errno); in RedirectToStdFd() 164 BEGET_LOGE("Failed to create pipe, errno: %d, just continue", errno); in ExecCommand() 178 BEGET_LOGE("Failed to execv, errno: %d", errno); in ExecCommand() 191 BEGET_LOGE("Failed to execute %s", argv[0]); in ExecCommand() 202 BEGET_LOGE("Do not support filesystem \" %s \"", fsType); in DoFormat() 314 BEGET_LOGE("Write buffer size failed."); in DoResizeF2fs() 359 BEGET_LOGE("Writ in DoResizeExt() [all...] |
H A D | fstab.c | 150 BEGET_LOGE("Allocate memory for FS table item failed, err = %d", errno); in ParseFstabPerLine() 172 BEGET_LOGE("Failed to parse fs manager flags."); in ParseFstabPerLine() 208 BEGET_LOGE("Allocate memory for FS table failed, err = %d", errno); in ReadFstabFromFile() 274 BEGET_LOGE("Failed to copy path."); in FindFstabItemForPath() 297 BEGET_LOGE("Failed strncpy_s err=%d", errno); in GetFstabFile() 304 BEGET_LOGE("Failed get hardware from cmdline"); in GetFstabFile() 308 BEGET_LOGE("Failed to build fstab file, err=%d", errno); in GetFstabFile() 323 BEGET_LOGE("Failed to get fstab item from mount point \" %s \"", mountPoint); in GetBlockDeviceByMountPoint() 327 BEGET_LOGE("Failed to copy block device name, err=%d", errno); in GetBlockDeviceByMountPoint() 413 BEGET_LOGE("fscryp in StoreFscryptPolicy() [all...] |
/base/startup/init/interfaces/innerkits/service_watcher/ |
H A 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/kits/syscap_ts/src/ |
H A D | syscap_ts.cpp | 52 BEGET_LOGE("get syscap failed since env or callback info is nullptr."); in CanIUse() 61 BEGET_LOGE("get syscap failed with invalid parameter"); in CanIUse() 68 BEGET_LOGE("%{public}s called, Params is invalid.", __func__); in CanIUse()
|
/base/startup/init/services/begetctl/ |
H A D | dump_service.c | 36 BEGET_LOGE("Invalid parameter"); in SendAppspawnCmdMessage() 47 BEGET_LOGE("Invalid parameter to dump appspawn"); in SendAppspawnCmdMessage() 72 BEGET_LOGE("[control_fd] Invalid parameter"); in DumpAppspawnClientInit() 79 BEGET_LOGE("App with pid=%s does not support entering sandbox environment", cmd); in DumpAppspawnClientInit()
|
H A D | appspawntime_cmd.c | 33 BEGET_LOGE("Invalid parameter");
in SendAppspawnTimeMessage() 70 BEGET_LOGE("initptyinterface failed");
in main_cmd()
|
H A D | sandbox.cpp | 122 BEGET_LOGE("Invalid parameter"); in SendAppspawnCmdMessage() 154 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdAppspawnClientInit() 161 BEGET_LOGE("App with pid=%s does not support entering sandbox environment", cmd); in CmdAppspawnClientInit()
|
/base/startup/init/interfaces/innerkits/reboot/ |
H A 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/control_fd/ |
H A 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()
|
H A D | control_fd_client.c | 32 BEGET_LOGE("[control_fd] Invalid fifo write parameter"); in ProcessPtyWrite() 52 BEGET_LOGE("[control_fd] Invalid fifo read parameter"); in ProcessPtyRead() 108 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdAgentCreate() 132 BEGET_LOGE("[control_fd] Invalid parameter"); in SendCmdMessage() 208 BEGET_LOGE("[control_fd] Invalid parameter"); in CmdClientInit()
|
/base/startup/init/interfaces/innerkits/include/ |
H A D | beget_ext.h | 120 #define BEGET_LOGE(fmt, ...) STARTUP_LOGE(BEGET_DOMAIN, BEGET_LABEL, fmt, ##__VA_ARGS__) macro 129 BEGET_LOGE(format, ##__VA_ARGS__); \ 167 BEGET_LOGE(format, ##__VA_ARGS__); \
|