Lines Matching refs:CmdKeyLink
597 CmdKeyLink *cmdKeyLink = NULL; in OsShellKeyInit()
598 CmdKeyLink *cmdHistoryLink = NULL; in OsShellKeyInit()
603 cmdKeyLink = (CmdKeyLink *)LOS_MemAlloc(m_aucSysMem0, sizeof(CmdKeyLink)); in OsShellKeyInit()
608 cmdHistoryLink = (CmdKeyLink *)LOS_MemAlloc(m_aucSysMem0, sizeof(CmdKeyLink)); in OsShellKeyInit()
626 LITE_OS_SEC_TEXT_MINOR VOID OsShellKeyDeInit(CmdKeyLink *cmdKeyLink) in OsShellKeyDeInit()
628 CmdKeyLink *cmdtmp = NULL; in OsShellKeyDeInit()
634 cmdtmp = LOS_DL_LIST_ENTRY(cmdKeyLink->list.pstNext, CmdKeyLink, list); in OsShellKeyDeInit()
665 LITE_OS_SEC_TEXT_MINOR VOID OsShellCmdPush(const CHAR *string, CmdKeyLink *cmdKeyLink) in OsShellCmdPush()
667 CmdKeyLink *cmdNewNode = NULL; in OsShellCmdPush()
675 cmdNewNode = (CmdKeyLink *)LOS_MemAlloc(m_aucSysMem0, sizeof(CmdKeyLink) + len + 1); in OsShellCmdPush()
680 (VOID)memset_s(cmdNewNode, sizeof(CmdKeyLink) + len + 1, 0, sizeof(CmdKeyLink) + len + 1); in OsShellCmdPush()
693 CmdKeyLink *cmdtmp = NULL; in OsShellHistoryShow()
694 CmdKeyLink *cmdNode = shellCB->cmdHistoryKeyLink; in OsShellHistoryShow()
695 CmdKeyLink *cmdMask = shellCB->cmdMaskKeyLink; in OsShellHistoryShow()
704 cmdtmp = LOS_DL_LIST_ENTRY(cmdMask->list.pstNext, CmdKeyLink, list); in OsShellHistoryShow()
711 cmdtmp = LOS_DL_LIST_ENTRY(cmdMask->list.pstPrev, CmdKeyLink, list); in OsShellHistoryShow()