Lines Matching refs:context
46 .context.fd = -1,
56 if (pmsgLoggerWrite.context.fd < 0) { in pmsgOpen()
57 pmsgLoggerWrite.context.fd = TEMP_FAILURE_RETRY(open("/dev/pmsg0", O_WRONLY | O_CLOEXEC)); in pmsgOpen()
60 return pmsgLoggerWrite.context.fd; in pmsgOpen()
65 if (pmsgLoggerWrite.context.fd >= 0) { in pmsgClose()
66 close(pmsgLoggerWrite.context.fd); in pmsgClose()
67 pmsgLoggerWrite.context.fd = -1; in pmsgClose()
81 if (pmsgLoggerWrite.context.fd < 0) { in pmsgAvailable()
118 if (pmsgLoggerWrite.context.fd < 0) { in pmsgWrite()
172 ret = TEMP_FAILURE_RETRY(writev(pmsgLoggerWrite.context.fd, newVec, i)); in pmsgWrite()
231 fd = pmsgLoggerWrite.context.fd; in __android_log_pmsg_file_write()