Home
last modified time | relevance | path

Searched refs:pmsgLoggerWrite (Results 1 – 2 of 2) sorted by relevance

/system/core/liblog/
Dpmsg_writer.c44 LIBLOG_HIDDEN struct android_log_transport_write pmsgLoggerWrite = { variable
45 .node = { &pmsgLoggerWrite.node, &pmsgLoggerWrite.node },
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()
[all …]
Dconfig_write.c57 extern struct android_log_transport_write pmsgLoggerWrite; in __android_log_config_write()
60 __android_log_add_transport(&__android_log_persist_write, &pmsgLoggerWrite); in __android_log_config_write()