Home
last modified time | relevance | path

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

/system/core/liblog/
Dpmsg_writer.cpp43 struct android_log_transport_write pmsgLoggerWrite = { variable
44 .node = {&pmsgLoggerWrite.node, &pmsgLoggerWrite.node},
54 int fd = atomic_load(&pmsgLoggerWrite.context.fd); in pmsgOpen()
59 i = atomic_exchange(&pmsgLoggerWrite.context.fd, fd); in pmsgOpen()
69 int fd = atomic_exchange(&pmsgLoggerWrite.context.fd, -1); in pmsgClose()
82 if (atomic_load(&pmsgLoggerWrite.context.fd) < 0) { in pmsgAvailable()
116 if (atomic_load(&pmsgLoggerWrite.context.fd) < 0) { in pmsgWrite()
170 ret = TEMP_FAILURE_RETRY(writev(atomic_load(&pmsgLoggerWrite.context.fd), newVec, i)); in pmsgWrite()
266 if (atomic_load(&pmsgLoggerWrite.context.fd) < 0) { in __android_log_pmsg_file_write()
270 weOpened = atomic_load(&pmsgLoggerWrite.context.fd) < 0; in __android_log_pmsg_file_write()
Dconfig_write.cpp59 extern struct android_log_transport_write pmsgLoggerWrite; in __android_log_config_write()
62 __android_log_add_transport(&__android_log_persist_write, &pmsgLoggerWrite); in __android_log_config_write()