Searched refs:consoleCB (Results 1 – 4 of 4) sorted by relevance
114 CONSOLE_CB *consoleCB = NULL; in ConsoleTcGetAttr() local121 consoleCB = (CONSOLE_CB *)filep->f_priv; in ConsoleTcGetAttr()122 if (consoleCB == NULL) { in ConsoleTcGetAttr()126 …(VOID)memcpy_s(termios, sizeof(struct termios), &consoleCB->consoleTermios, sizeof(struct termios)… in ConsoleTcGetAttr()133 CONSOLE_CB *consoleCB = NULL; in ConsoleTcSetAttr() local142 consoleCB = (CONSOLE_CB *)filep->f_priv; in ConsoleTcSetAttr()143 if (consoleCB == NULL) { in ConsoleTcSetAttr()147 …(VOID)memcpy_s(&consoleCB->consoleTermios, sizeof(struct termios), termios, sizeof(struct termios)… in ConsoleTcSetAttr()151 STATIC UINT32 ConsoleRefcountGet(const CONSOLE_CB *consoleCB) in ConsoleRefcountGet() argument153 return consoleCB->refCount; in ConsoleRefcountGet()[all …]
105 extern BOOL SetSerialNonBlock(const CONSOLE_CB *consoleCB);106 extern BOOL SetSerialBlock(const CONSOLE_CB *consoleCB);107 extern BOOL SetTelnetNonBlock(const CONSOLE_CB *consoleCB);108 extern BOOL SetTelnetBlock(const CONSOLE_CB *consoleCB);114 extern BOOL is_nonblock(const CONSOLE_CB *consoleCB);115 extern BOOL IsConsoleOccupied(const CONSOLE_CB *consoleCB);
63 CONSOLE_CB *consoleCB = OsGetConsoleByID(consoleId); local64 if ((consoleCB == NULL) || (consoleCB->shellHandle != NULL)) {67 consoleCB->shellHandle = LOS_MemAlloc((VOID *)m_aucSysMem0, sizeof(ShellCB));68 if (consoleCB->shellHandle == NULL) {71 ShellCB *shellCB = (ShellCB *)consoleCB->shellHandle;120 consoleCB->shellHandle = NULL;139 CONSOLE_CB *consoleCB = NULL; local142 consoleCB = OsGetConsoleByID(consoleId);143 if (consoleCB == NULL) {148 shellCB = (ShellCB *)consoleCB->shellHandle;[all …]
335 CONSOLE_CB *consoleCB = OsGetConsoleByID((INT32)shellCB->consoleID); in ShellEntry() local336 if (consoleCB == NULL) { in ShellEntry()345 if (!IsConsoleOccupied(consoleCB)) { in ShellEntry()348 n = read(consoleCB->fd, &ch, 1); in ShellEntry()352 if (is_nonblock(consoleCB)) { in ShellEntry()