Searched refs:cmdKeyLink (Results 1 – 13 of 13) sorted by relevance
466 CmdKeyLink *cmdKeyLink = NULL; in OsShellKeyInit() local473 cmdKeyLink = (CmdKeyLink *)malloc(sizeof(CmdKeyLink)); in OsShellKeyInit()474 if (cmdKeyLink == NULL) { in OsShellKeyInit()480 free(cmdKeyLink); in OsShellKeyInit()485 cmdKeyLink->count = 0; in OsShellKeyInit()486 SH_ListInit(&(cmdKeyLink->list)); in OsShellKeyInit()487 shellCB->cmdKeyLink = (void *)cmdKeyLink; in OsShellKeyInit()496 void OsShellKeyDeInit(CmdKeyLink *cmdKeyLink) in OsShellKeyDeInit() argument499 if (cmdKeyLink == NULL) { in OsShellKeyDeInit()503 while (!SH_ListEmpty(&(cmdKeyLink->list))) { in OsShellKeyDeInit()[all …]
56 OsShellKeyDeInit((CmdKeyLink *)shellCB->cmdKeyLink); in ShellDeinit()
54 CmdKeyLink *cmdkey = shellCB->cmdKeyLink; in GetCmdline()183 OsShellCmdPush(shellCB->shellBuf, shellCB->cmdKeyLink); in ShellTaskNotify()
243 CmdKeyLink *cmdKeyLink = NULL; in OsShellKeyInit() local249 cmdKeyLink = (CmdKeyLink *)LOS_MemAlloc(m_aucSysMem0, sizeof(CmdKeyLink)); in OsShellKeyInit()250 if (cmdKeyLink == NULL) { in OsShellKeyInit()256 (VOID)LOS_MemFree(m_aucSysMem0, cmdKeyLink); in OsShellKeyInit()261 cmdKeyLink->count = 0; in OsShellKeyInit()262 LOS_ListInit(&(cmdKeyLink->list)); in OsShellKeyInit()263 shellCB->cmdKeyLink = (VOID *)cmdKeyLink; in OsShellKeyInit()272 LITE_OS_SEC_TEXT_MINOR VOID OsShellKeyDeInit(CmdKeyLink *cmdKeyLink) in OsShellKeyDeInit() argument275 if (cmdKeyLink == NULL) { in OsShellKeyDeInit()279 while (!LOS_ListEmpty(&(cmdKeyLink->list))) { in OsShellKeyDeInit()[all …]
597 CmdKeyLink *cmdKeyLink = NULL; in OsShellKeyInit() local603 cmdKeyLink = (CmdKeyLink *)LOS_MemAlloc(m_aucSysMem0, sizeof(CmdKeyLink)); in OsShellKeyInit()604 if (cmdKeyLink == NULL) { in OsShellKeyInit()610 (VOID)LOS_MemFree(m_aucSysMem0, cmdKeyLink); in OsShellKeyInit()615 cmdKeyLink->count = 0; in OsShellKeyInit()616 LOS_ListInit(&(cmdKeyLink->list)); in OsShellKeyInit()617 shellCB->cmdKeyLink = (VOID *)cmdKeyLink; in OsShellKeyInit()626 LITE_OS_SEC_TEXT_MINOR VOID OsShellKeyDeInit(CmdKeyLink *cmdKeyLink) in OsShellKeyDeInit() argument629 if (cmdKeyLink == NULL) { in OsShellKeyDeInit()633 while (!LOS_ListEmpty(&(cmdKeyLink->list))) { in OsShellKeyDeInit()[all …]
52 CmdKeyLink *cmdkey = shellCB->cmdKeyLink; in ShellGetInputBuf()167 OsShellCmdPush(shellCB->shellBuf, shellCB->cmdKeyLink); in ShellCmdLineParse()397 OsShellKeyDeInit((CmdKeyLink *)shellCB->cmdKeyLink); in ShellTask()
112 (VOID)LOS_MemFree((VOID *)m_aucSysMem0, shellCB->cmdKeyLink);
61 extern void OsShellCmdPush(const char *string, CmdKeyLink *cmdKeyLink);64 extern void OsShellKeyDeInit(CmdKeyLink *cmdKeyLink);
75 void *cmdKeyLink; member
96 extern VOID OsShellCmdPush(const CHAR *string, CmdKeyLink *cmdKeyLink);99 extern VOID OsShellKeyDeInit(CmdKeyLink *cmdKeyLink);
90 VOID *cmdKeyLink; member
89 VOID *cmdKeyLink; member
91 extern VOID OsShellKeyDeInit(CmdKeyLink *cmdKeyLink);