Lines Matching refs:g_DebugLogFilleDes
26 static int32_t g_DebugLogFilleDes = INVALID_FD; variable
43 if (g_DebugLogFilleDes != INVALID_FD) { in WriteLog()
77 if (g_DebugLogFilleDes != INVALID_FD) { in InitDebugLog()
90 g_DebugLogFilleDes = RequestLogFileDescriptor(&faultloggerdRequest); in InitDebugLog()
91 if (g_DebugLogFilleDes <= 0) { in InitDebugLog()
93 g_DebugLogFilleDes = INVALID_FD; in InitDebugLog()
97 if (dup2(g_DebugLogFilleDes, STDERR_FILENO) == -1) { in InitDebugLog()
99 close(g_DebugLogFilleDes); in InitDebugLog()
100 g_DebugLogFilleDes = INVALID_FD; in InitDebugLog()
105 InitDebugFd(g_DebugLogFilleDes); in InitDebugLog()
110 if (g_DebugLogFilleDes == INVALID_FD) { in CloseDebugLog()
117 close(g_DebugLogFilleDes); in CloseDebugLog()
118 g_DebugLogFilleDes = INVALID_FD; in CloseDebugLog()
121 InitDebugFd(g_DebugLogFilleDes); in CloseDebugLog()