Home
last modified time | relevance | path

Searched refs:PRINT_ERR (Results 1 - 25 of 145) sorted by relevance

123456

/kernel/liteos_m/kernel/src/
H A Dlos_init.c115 PRINT_ERR(fmt, ap); in LOS_Panic()
150 PRINT_ERR("OsMemSystemInit error %d\n", ret); in LOS_KernelInit()
158 PRINT_ERR("OsTickTimerInit error! 0x%x\n", ret); in LOS_KernelInit()
164 PRINT_ERR("OsTaskInit error\n"); in LOS_KernelInit()
175 PRINT_ERR("OsCpupInit error\n"); in LOS_KernelInit()
197 PRINT_ERR("OsQueueInit error\n"); in LOS_KernelInit()
205 PRINT_ERR("OsSwtmrInit error\n"); in LOS_KernelInit()
213 PRINT_ERR("OsCpupDaemonInit error\n"); in LOS_KernelInit()
221 PRINT_ERR("OsVfsInit error\n"); in LOS_KernelInit()
234 PRINT_ERR("OsTraceIni in LOS_KernelInit()
[all...]
/kernel/liteos_a/fs/rootfs/
H A Dlos_rootfs.c62 PRINT_ERR("Get EMMC disk failed!\n"); in AddEmmcParts()
69 PRINT_ERR("Failed to deinit emmc disk!\n"); in AddEmmcParts()
76 PRINT_ERR("Failed to add mmc root partition!\n"); in AddEmmcParts()
85 PRINT_ERR("Failed to add mmc patch partition!\n"); in AddEmmcParts()
97 PRINT_ERR("Failed to add mmc storage partition!\n"); in AddEmmcParts()
103 PRINT_ERR("Failed to add mmc userdata partition!\n"); in AddEmmcParts()
111 PRINT_ERR("Failed to alloc disk %s!\n", node_name); in AddEmmcParts()
116 PRINT_ERR("Failed to init emmc disk!\n"); in AddEmmcParts()
134 PRINT_ERR("Failed to add mtd root partition!\n"); in AddPartitions()
140 PRINT_ERR("Faile in AddPartitions()
[all...]
H A Dlos_bootargs.c53 PRINT_ERR("Malloc g_cmdLine space error!\n"); in LOS_GetCmdLine()
60 PRINT_ERR("Get EMMC disk failed!\n"); in LOS_GetCmdLine()
74 PRINT_ERR("Get spinor mtd failed!\n"); in LOS_GetCmdLine()
87 PRINT_ERR("Get nand mtd failed!\n"); in LOS_GetCmdLine()
97 PRINT_ERR("Read cmdline error!\n"); in LOS_GetCmdLine()
124 PRINT_ERR("Should call LOS_GetCmdLine() first!\n"); in GetBootargs()
136 PRINT_ERR("Cannot find bootargs!\n"); in GetBootargs()
231 PRINT_ERR("Invalid value string \"%s\"!\n", value); in LOS_SizeStrToNum()
/kernel/liteos_a/kernel/extended/dynload/src/
H A Dlos_load_elf.c104 PRINT_ERR("%s[%d], Failed to stat file: %s, errno: %d\n", __FUNCTION__, __LINE__, fileName, errno); in OsGetFileLength()
112 PRINT_ERR("%s[%d], The file: %s is invalid!\n", __FUNCTION__, __LINE__, fileName); in OsGetFileLength()
116 PRINT_ERR("%s[%d], The file: %s length is out of limit!\n", __FUNCTION__, __LINE__, fileName); in OsGetFileLength()
130 PRINT_ERR("%s[%d], Invalid procfd!\n", __FUNCTION__, __LINE__); in OsReadELFInfo()
137 PRINT_ERR("%s[%d], Failed to seek the position!, offset: %#x\n", __FUNCTION__, __LINE__, offset); in OsReadELFInfo()
143 PRINT_ERR("%s[%d], Failed to read from offset: %#x!\n", __FUNCTION__, __LINE__, offset); in OsReadELFInfo()
153 PRINT_ERR("%s[%d], The file is not elf!\n", __FUNCTION__, __LINE__); in OsVerifyELFEhdr()
157 PRINT_ERR("%s[%d], The type of file is not ET_EXEC or ET_DYN!\n", __FUNCTION__, __LINE__); in OsVerifyELFEhdr()
161 PRINT_ERR("%s[%d], The type of machine is not EM_ARM!\n", __FUNCTION__, __LINE__); in OsVerifyELFEhdr()
165 PRINT_ERR(" in OsVerifyELFEhdr()
[all...]
H A Dlos_exec_elf.c68 PRINT_ERR("strncpy_s failed, errline: %d!\n", __LINE__); in OsGetRealPath()
73 PRINT_ERR("strncpy_s failed, errline: %d!\n", __LINE__); in OsGetRealPath()
99 PRINT_ERR("%s[%d], filename len exceeds maxlen: %d\n", __FUNCTION__, __LINE__, PATH_MAX); in OsCopyUserParam()
106 PRINT_ERR("%s[%d], Copy failed! err: %d\n", __FUNCTION__, __LINE__, err); in OsCopyUserParam()
146 PRINT_ERR("%s %d, failed to allocate new vm space\n", __FUNCTION__, __LINE__); in LOS_DoExecveFile()
/kernel/liteos_a/net/telnet/src/
H A Dtelnet_loop.c260 PRINT_ERR("TelnetdInit : socket error.\n"); in TelnetdInit()
266 PRINT_ERR("TelnetdInit : setsockopt REUSEADDR error.\n"); in TelnetdInit()
276 PRINT_ERR("TelnetdInit : bind error.\n"); in TelnetdInit()
281 PRINT_ERR("TelnetdInit : listen error.\n"); in TelnetdInit()
322 PRINT_ERR("telnet setsockopt SO_KEEPALIVE error.\n"); in TelnetClientPrepare()
325 PRINT_ERR("telnet setsockopt TCP_KEEPIDLE error.\n"); in TelnetClientPrepare()
328 PRINT_ERR("telnet setsockopt TCP_KEEPINTVL error.\n"); in TelnetClientPrepare()
331 PRINT_ERR("telnet setsockopt TCP_KEEPCNT error.\n"); in TelnetClientPrepare()
437 PRINT_ERR("Failed to create client handle task\n"); in TelnetdAcceptClient()
490 PRINT_ERR("telne in TelnetdMain()
[all...]
/kernel/liteos_a/kernel/base/misc/
H A Dkill_shellcmd.c43 #define HILOG_ERROR(type, fmt, ...) PRINT_ERR(fmt, __VA_ARGS__)
67 PRINT_ERR("\nsigNo can't access %s.\n", argv[0]); in OsShellCmdKill()
73 PRINT_ERR("\npidNo can't access %s.\n", argv[1]); in OsShellCmdKill()
84 PRINT_ERR("\n Kill fail ret = %d! process not exist or sigNo is invalid\n", ret); in OsShellCmdKill()
88 PRINT_ERR("\nPara number errno!\n"); in OsShellCmdKill()
/kernel/liteos_m/components/dynlink/
H A Dlos_dynlink.c106 PRINT_ERR("The file is not elf format\n"); in OsVerifyEhdr()
110 PRINT_ERR("The file is not shared library\n"); in OsVerifyEhdr()
114 PRINT_ERR("The file can not load in current platform\n"); in OsVerifyEhdr()
118 PRINT_ERR("The num of program header is out of limit\n"); in OsVerifyEhdr()
122 PRINT_ERR("The offset of program header is invalid, elf file is bad\n"); in OsVerifyEhdr()
137 PRINT_ERR("Failed to seek the position!, offset: %#x\n", offset); in OsReadELFInfo()
143 PRINT_ERR("Failed to read from offset: %#x!\n", offset); in OsReadELFInfo()
157 PRINT_ERR("Failed to stat file: %s, errno: %d\n", fileName, errno); in OsGetFileLength()
162 PRINT_ERR("The file: %s length is out of limit!\n", fileName); in OsGetFileLength()
216 PRINT_ERR("th in OsReadPhdrs()
[all...]
/kernel/liteos_a/fs/patchfs/
H A Dlos_partition_utils.c67 PRINT_ERR("Invalid format: %s\n", p + strlen(partInfoName)); in MatchPartPos()
121 PRINT_ERR("Malloc cmdLine space failed!\n"); in GetPartitionBootArgs()
128 PRINT_ERR("Get spinor mtd failed!\n"); in GetPartitionBootArgs()
133 PRINT_ERR("Read spinor command line failed!\n"); in GetPartitionBootArgs()
182 PRINT_ERR("Cannot find %s type\n", partInfo->partName); in GetPartitionInfo()
185 PRINT_ERR("Invalid %s information!\n", partInfo->partName); in GetPartitionInfo()
207 PRINT_ERR("Failed to add %s partition! error = %d\n", partInfo->partName, ret); in GetDevNameOfPartition()
215 PRINT_ERR("Failed to find %s dev type: %s\n", partInfo->partName, partInfo->storageType); in GetDevNameOfPartition()
228 PRINT_ERR("Failed to delete %s, errno %d: %s\n", partInfo->devName, err, strerror(err)); in ResetDevNameofPartition()
/kernel/liteos_a/fs/vfs/operation/
H A Dvfs_init.c62 PRINT_ERR("los_vfs_init VnodeInit failed error %d\n", retval); in los_vfs_init()
68 PRINT_ERR("los_vfs_init PathCacheInit failed error %d\n", retval); in los_vfs_init()
73 PRINT_ERR("los_vfs_init VnodeHashInit failed error %d\n", retval); in los_vfs_init()
79 PRINT_ERR("los_vfs_init VnodeDevInit failed error %d\n", retval); in los_vfs_init()
/kernel/liteos_a/drivers/char/quickstart/src/
H A Dquickstart.c57 PRINT_ERR("%s,%d:0x%x\n", __FUNCTION__, __LINE__, ret); in QuickstartNotify()
69 PRINT_ERR("%s,%d,failed!\n", __FUNCTION__, __LINE__); in QuickstartListen()
74 PRINT_ERR("%s wait arg is too longer, set to WAITLIMIT!\n", __FUNCTION__); in QuickstartListen()
78 PRINT_ERR("%s,%d:0x%x\n", __FUNCTION__, __LINE__, ret); in QuickstartListen()
116 PRINT_ERR("Permission denios!\n"); in QuickstartIoctl()
/kernel/liteos_a/kernel/extended/perf/
H A Dlos_perf.c88 PRINT_ERR("perf config type error %u!\n", eventsCfg->type); in OsPerfConfig()
106 PRINT_ERR("perf config failed!\n"); in OsPerfConfig()
151 PRINT_ERR("pmu not registered!\n"); in OsPerfStart()
158 PRINT_ERR("perf start on core:%u failed, ret = 0x%x\n", cpuid, ret); in OsPerfStart()
164 PRINT_ERR("percpu status err %d\n", g_perfCb.pmuStatusPerCpu[cpuid]); in OsPerfStart()
173 PRINT_ERR("pmu not registered!\n"); in OsPerfStop()
180 PRINT_ERR("perf stop on core:%u failed, ret = 0x%x\n", cpuid, ret); in OsPerfStop()
190 PRINT_ERR("percpu status err %d\n", g_perfCb.pmuStatusPerCpu[cpuid]); in OsPerfStop()
207 PRINT_ERR("copy f_path failed, %s\n", info->f_path); in OsPerfSaveIpInfo()
414 PRINT_ERR("I in OsPerfSetFilterIds()
[all...]
/kernel/liteos_a/fs/proc/os_adapt/
H A Dpower_proc.c94 PRINT_ERR("Unsupported hibernation mode: %s\n", buf); in PowerModeWrite()
151 PRINT_ERR("create /proc/power error!\n"); in ProcPmInit()
159 PRINT_ERR("create /proc/power/power_mode error!\n"); in ProcPmInit()
168 PRINT_ERR("create /proc/power/power_lock error!\n"); in ProcPmInit()
177 PRINT_ERR("create /proc/power/power_unlock error!\n"); in ProcPmInit()
186 PRINT_ERR("create /proc/power/power_count error!\n"); in ProcPmInit()
/kernel/liteos_m/kal/posix/src/
H A Dpthread.c179 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in CheckForCancel()
236 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setschedparam()
260 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setschedprio()
278 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_once()
309 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setcancelstate()
342 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setcanceltype()
373 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_getschedparam()
424 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_cancel()
466 PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_join()
493 PRINT_ERR("[ in pthread_detach()
[all...]
/kernel/liteos_a/drivers/block/disk/src/
H A Ddisk.c60 PRINT_ERR("%s %d, mutex lock failed\n", __FUNCTION__, __LINE__); \
66 PRINT_ERR("%s %d, mutex unlock failed\n", __FUNCTION__, __LINE__); \
110 PRINT_ERR("The parameter disk_name is NULL"); in los_alloc_diskid_byname()
116 PRINT_ERR("diskName is too long!\n"); in los_alloc_diskid_byname()
132 PRINT_ERR("los_alloc_diskid_byname failed %d!\n", diskID); in los_alloc_diskid_byname()
143 PRINT_ERR("los_alloc_diskid_byname alloc disk name failed\n"); in los_alloc_diskid_byname()
148 PRINT_ERR("The strncpy_s failed.\n"); in los_alloc_diskid_byname()
166 PRINT_ERR("The parameter diskName is NULL"); in los_get_diskid_byname()
172 PRINT_ERR("diskName is too long!\n"); in los_get_diskid_byname()
188 PRINT_ERR("los_get_diskid_bynam in los_get_diskid_byname()
[all...]
/kernel/liteos_a/kernel/extended/hidumper/
H A Dlos_hidumper.c78 PRINT_ERR("%s->%s is NULL!\n", #src, #func); \
85 PRINT_ERR("%s->%s is NULL!\n", #adapter, #func); \
182 PRINT_ERR("func: %s, LOS_MemAlloc failed, Line: %d\n", __func__, __LINE__); in DumpCpuUsageUnsafe()
230 PRINT_ERR("fd: %d!\n", fd); in PrintFileData()
241 PRINT_ERR("LOSCFG_FS_VFS isn't defined!\n"); in PrintFileData()
251 PRINT_ERR("filePath: %p, pHeader: %p\n", filePath, pHeader); in PrintFile()
261 PRINT_ERR("Open [%s] failed or there's no fault log!\n", filePath); in PrintFile()
266 PRINT_ERR("LOSCFG_FS_VFS isn't defined!\n"); in PrintFile()
350 PRINT_ERR("pAdapter: %p\n", pAdapter); in HiDumperRegisterAdapter()
373 PRINT_ERR("Hidumpe in OsHiDumperDriverInit()
[all...]
/kernel/liteos_a/drivers/mtd/multi_partition/src/
H A Dmtd_partition.c161 PRINT_ERR("%s, partition_param malloc failed\n", __FUNCTION__); in MtdInitSpinorParam()
167 PRINT_ERR("%s, mtd_partition malloc failed\n", __FUNCTION__); in MtdInitSpinorParam()
276 PRINT_ERR("register blkdev partition error\n"); in BlockDriverRegisterOperate()
309 PRINT_ERR("register chardev partition error\n"); in CharDriverRegisterOperate()
327 PRINT_ERR("unregister blkdev partition error:%d\n", ret); in BlockDriverUnregister()
343 PRINT_ERR("unregister chardev partition error:%d\n", ret); in CharDriverUnregister()
370 PRINT_ERR("%s %d, mutex lock failed, error:%d\n", __FUNCTION__, __LINE__, ret); in add_mtd_partition()
406 PRINT_ERR("%s %d, mutex unlock failed, error:%d\n", __FUNCTION__, __LINE__, ret); in add_mtd_partition()
428 PRINT_ERR("type error \n"); in DeleteParamCheck()
502 PRINT_ERR(" in delete_mtd_partition()
[all...]
/kernel/liteos_a/fs/proc/src/
H A Dproc_shellcmd.c69 PRINT_ERR("No such file or directory\n"); in OsShellCmdWriteProc()
75 PRINT_ERR("No such file or directory\n"); in OsShellCmdWriteProc()
82 PRINT_ERR("write error\n"); in OsShellCmdWriteProc()
93 PRINT_ERR("writeproc [data] [>>] [path]\n"); in OsShellCmdWriteProc()
/kernel/liteos_a/kernel/extended/lms/
H A Dlos_lms.c171 PRINT_ERR("[LMS]pool %p is not on lms checklist !\n", pool); in LOS_LmsCheckPoolDel()
199 PRINT_ERR("[LMS]memAddr %p is not in pool region [%p, %p)\n", memAddr, node->poolAddr, in OsLmsMem2Shadow()
300 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr); in OsLmsSimpleMark()
499 PRINT_ERR("[LMS]addr is not in checkpool\n"); in OsLmsPrintMemInfo()
557 PRINT_ERR("Use after free error detected\n"); in OsLmsPrintErrInfo()
560 PRINT_ERR("Heap buffer overflow error detected\n"); in OsLmsPrintErrInfo()
563 PRINT_ERR("No error\n"); in OsLmsPrintErrInfo()
566 PRINT_ERR("UnKnown Error detected\n"); in OsLmsPrintErrInfo()
572 PRINT_ERR("Illegal Double free address at: [0x%lx]\n", info->memAddr); in OsLmsPrintErrInfo()
575 PRINT_ERR("Illega in OsLmsPrintErrInfo()
[all...]
/kernel/liteos_m/components/lms/
H A Dlos_lms.c184 PRINT_ERR("[LMS]pool %p is not on lms checklist !\n", pool); in LOS_LmsCheckPoolDel()
212 PRINT_ERR("[LMS]memAddr %p is not in pool region [%p, %p)\n", memAddr, node->poolAddr, in OsLmsMem2Shadow()
313 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr); in OsLmsSimpleMark()
513 PRINT_ERR("[LMS]addr is not in checkpool\n"); in OsLmsPrintMemInfo()
571 PRINT_ERR("Use after free error detected\n"); in OsLmsPrintErrInfo()
574 PRINT_ERR("Heap buffer overflow error detected\n"); in OsLmsPrintErrInfo()
577 PRINT_ERR("No error\n"); in OsLmsPrintErrInfo()
580 PRINT_ERR("UnKnown Error detected\n"); in OsLmsPrintErrInfo()
586 PRINT_ERR("Illegal Double free address at: [0x%lx]\n", info->memAddr); in OsLmsPrintErrInfo()
589 PRINT_ERR("Illega in OsLmsPrintErrInfo()
[all...]
/kernel/liteos_m/components/debugtools/
H A Dlos_stackdump.c100 PRINT_ERR("error taskID %u\r\n", taskID); in LOS_TaskStackDump()
105 PRINT_ERR("called during an interrupt.\r\n"); in LOS_TaskStackDump()
119 PRINT_ERR("alloc failed for dump\n"); in LOS_TaskStackDump()
128 PRINT_ERR("SP 0x%x may error or memcpy_s failed, stack space from 0x%x to 0x%x\r\n", \ in LOS_TaskStackDump()
146 PRINT_ERR("\nUsage: stack taskID\n"); in OsShellCmdStackDump()
/kernel/liteos_m/components/fs/fatfs/
H A Dfatfs.c394 PRINT_ERR("FAT open ChangeDrive err 0x%x!\r\n", ret); in FatfsOpen()
402 PRINT_ERR("FAT open err 0x%x!\r\n", res); in FatfsOpen()
425 PRINT_ERR("FAT close err 0x%x!\r\n", res); in FatfsClose()
486 PRINT_ERR("FAT write err!\r\n"); in FatfsWrite()
547 PRINT_ERR("FAT unlink ChangeDrive err 0x%x!\r\n", ret); in FatfsUnlink()
554 PRINT_ERR("FAT unlink err 0x%x!\r\n", res); in FatfsUnlink()
575 PRINT_ERR("FAT stat ChangeDrive err 0x%x!\r\n", ret); in FatfsStat()
582 PRINT_ERR("FAT stat err 0x%x!\r\n", res); in FatfsStat()
641 PRINT_ERR("FAT mkdir ChangeDrive err 0x%x!\r\n", ret); in FatfsMkdir()
648 PRINT_ERR("FA in FatfsMkdir()
[all...]
/kernel/liteos_a/drivers/char/perf/src/
H A Dperf.c74 PRINT_ERR("Perf read failed, check whether perf is configured to sample mode.\n"); in PerfRead()
99 PRINT_ERR("PerfConfigAttr is %d bytes not %d\n", attrlen, buflen); in PerfConfig()
110 PRINT_ERR("perf config error %u\n", ret); in PerfConfig()
128 PRINT_ERR("Unknown perf ioctl cmd:%d\n", cmd); in PerfIoctl()
/kernel/liteos_a/drivers/char/trace/src/
H A Dtrace.c71 PRINT_ERR("Buffer size not aligned by 4 bytes\n"); in TraceRead()
77 PRINT_ERR("Trace read failed, check whether trace mode is set to offline\n"); in TraceRead()
98 PRINT_ERR("Buffer size not %d bytes\n", infoLen); in TraceWrite()
135 PRINT_ERR("Unknown trace ioctl cmd:%d\n", cmd); in TraceIoctl()
/kernel/liteos_a/kernel/extended/vdso/src/
H A Dlos_vdso.c49 PRINT_ERR("VDSO Init Failed!\n"); in OsVdsoInit()
64 PRINT_ERR("VDSO Load Failed! : LOS_ArchMmuMap!\n"); in OsVdsoMap()
88 PRINT_ERR("%s %d, region alloc failed in vdso load\n", __FUNCTION__, __LINE__); in OsVdsoLoad()
98 PRINT_ERR("%s %d, free region failed, ret = %d\n", __FUNCTION__, __LINE__, ret); in OsVdsoLoad()

Completed in 16 milliseconds

123456