Home
last modified time | relevance | path

Searched refs:PRINT_ERR (Results 1 – 25 of 148) sorted by relevance

123456

/kernel/liteos_m/kernel/src/
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("OsTraceInit error\n"); in LOS_KernelInit()
[all …]
/kernel/liteos_a/fs/rootfs/
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("Failed to add mtd storage partition!\n"); in AddPartitions()
[all …]
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/
Dlos_load_elf.c104PRINT_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()
116PRINT_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()
137PRINT_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("%s[%d], The num of program header is out of limit\n", __FUNCTION__, __LINE__); in OsVerifyELFEhdr()
[all …]
/kernel/liteos_a/kernel/base/misc/
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_a/net/telnet/src/
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("telnet init error.\n"); in TelnetdMain()
[all …]
/kernel/liteos_a/fs/vfs/operation/
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/fs/patchfs/
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_m/components/dynlink/
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("the file is bad\n"); in OsReadPhdrs()
[all …]
/kernel/liteos_a/drivers/block/disk/src/
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_byname failed!\n"); in los_get_diskid_byname()
[all …]
/kernel/liteos_a/kernel/extended/hidumper/
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()
351 PRINT_ERR("pAdapter: %p\n", pAdapter); in HiDumperRegisterAdapter()
374 PRINT_ERR("Hidumper register driver failed!\n"); in OsHiDumperDriverInit()
/kernel/liteos_m/kal/posix/src/
Dpthread.c179PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in CheckForCancel()
236PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setschedparam()
260PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setschedprio()
278PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_once()
309PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setcancelstate()
342PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_setcanceltype()
373PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_getschedparam()
424PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_cancel()
466PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_join()
493PRINT_ERR("[%s:%d] This task %lu is not a posix thread!!!\n", __FUNCTION__, __LINE__, thread); in pthread_detach()
[all …]
/kernel/liteos_a/kernel/extended/perf/
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("In %s At line:%d execute memcpy_s error\n", __FUNCTION__, __LINE__); in OsPerfSetFilterIds()
[all …]
/kernel/liteos_a/drivers/char/quickstart/src/
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/drivers/mtd/multi_partition/src/
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("%s %d, mutex lock failed, error:%d\n", __FUNCTION__, __LINE__, ret); in delete_mtd_partition()
[all …]
/kernel/liteos_a/fs/proc/src/
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/fs/proc/os_adapt/
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/components/fs/fatfs/
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("FAT mkdir err 0x%x!\r\n", res); in FatfsMkdir()
[all …]
/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c118 PRINT_ERR("register lite_ipc driver failed:%d\n", ret); in OsLiteIpcInit()
168 PRINT_ERR("%s, %d\n", __FUNCTION__, __LINE__); in DoIpcMmap()
174 PRINT_ERR("%s, %d\n", __FUNCTION__, __LINE__); in DoIpcMmap()
181 PRINT_ERR("%s, %d\n", __FUNCTION__, __LINE__); in DoIpcMmap()
482 PRINT_ERR("Liteipc AddServiceAccess GetTid failed\n"); in AddServiceAccess()
489PRINT_ERR("Liteipc AddServiceAccess ipc not create! pid %u tid %u\n", pcb->processID, tcb->taskID); in AddServiceAccess()
510 PRINT_ERR("Liteipc HasServiceAccess GetTid failed\n"); in HasServiceAccess()
531 PRINT_ERR("Liteipc curprocess %d IpcTask already set!\n", OsCurrProcessGet()->processID); in SetIpcTask()
744 PRINT_ERR("Liteipc Bad ptr address\n"); in HandlePtr()
749 PRINT_ERR("Liteipc DealPtr alloc mem failed\n"); in HandlePtr()
[all …]
/kernel/liteos_a/compat/posix/src/
Dpthread.c198 PRINT_ERR("%s: %d, err: %d\n", __FUNCTION__, __LINE__, err); in InitPthreadData()
204 PRINT_ERR("%s: %d, err: %d\n", __FUNCTION__, __LINE__, err); in InitPthreadData()
285 PRINT_ERR("%s: %d failed\n", __FUNCTION__, __LINE__); in pthread_exit()
289 PRINT_ERR("%s: %d failed\n", __FUNCTION__, __LINE__); in pthread_exit()
305 PRINT_ERR("%s: %d failed\n", __FUNCTION__, __LINE__); in pthread_exit()
350 PRINT_ERR("state: %u is not supported\n", (UINT32)joined->state); in ProcessByJoinState()
569 PRINT_ERR("[%s] is not support.\n", __FUNCTION__); in pthread_key_create()
578 PRINT_ERR("[%s] is not support.\n", __FUNCTION__); in pthread_setspecific()
586 PRINT_ERR("[%s] is not support.\n", __FUNCTION__); in pthread_getspecific()
691 PRINT_ERR("%s: %d failed\n", __FUNCTION__, __LINE__); in pthread_cancel()
[all …]
/kernel/liteos_m/components/debugtools/
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_a/fs/vfs/bcache/src/
Dbcache.c124 PRINT_ERR("%s %d, mutex lock fail!\n", __FUNCTION__, __LINE__); in LOS_SetSyncThreadPrio()
131 PRINT_ERR("%s %d, mutex unlock fail!\n", __FUNCTION__, __LINE__); in LOS_SetSyncThreadPrio()
164PRINT_ERR("RbAddBlock fail, b->num = %llu, block->num = %llu\n", b->num, block->num); in RbAddBlock()
251 PRINT_ERR("BlockRead, brread_fn error, ret = %d\n", ret); in BlockRead()
329 PRINT_ERR("BcacheSetFlag sectorSize is equal to zero! \n"); in BcacheSetFlag()
374 PRINT_ERR("BcacheSyncBlock fail, ret = %d, len = %u, block->num = %llu, start = %u\n", in BcacheSyncBlock()
497 PRINT_ERR("WriteMergedBlocks bwriteFun failed ret %d\n", ret); in WriteMergedBlocks()
613 PRINT_ERR("BcacheSync error, ret = %d\n", ret); in BcacheSync()
732 PRINT_ERR("GetValLog2(%u) return 0.\n", blockSize); in BcacheInitCache()
783 PRINT_ERR("%s failure\n", __FUNCTION__); in DrvBread()
[all …]
/kernel/liteos_a/drivers/char/perf/src/
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/kernel/extended/lms/
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("Illegal READ address at: [0x%lx]\n", info->memAddr); in OsLmsPrintErrInfo()
[all …]
/kernel/liteos_a/drivers/char/trace/src/
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()

123456