Searched refs:transp (Results 1 – 9 of 9) sorted by relevance
/system/core/liblog/ |
D | logger_read.c | 85 struct android_log_transport_context* transp; in init_transport_context() local 103 transp = calloc(1, sizeof(*transp)); in init_transport_context() 104 if (!transp) { in init_transport_context() 107 transp->parent = logger_list; in init_transport_context() 108 transp->transport = transport; in init_transport_context() 109 transp->logMask = logMask; in init_transport_context() 110 transp->ret = 1; in init_transport_context() 111 list_add_tail(&logger_list->transport, &transp->node); in init_transport_context() 121 struct android_log_transport_context* transp; \ 134 transport_context_for_each(transp, logger_internal->parent) { \ [all …]
|
D | config_write.h | 29 #define write_transport_for_each(transp, transports) \ argument 30 for ((transp) = node_to_item((transports)->next, \ 32 ((transp) != node_to_item((transports), \ 34 ((transp) != node_to_item((transp)->node.next, \ 36 (transp) = node_to_item((transp)->node.next, \ 39 #define write_transport_for_each_safe(transp, n, transports) \ argument 40 for ((transp) = node_to_item((transports)->next, \ 42 (n) = (transp)->node.next; \ 43 ((transp) != node_to_item((transports), \ 45 ((transp) != \ [all …]
|
D | config_read.h | 29 #define read_transport_for_each(transp, transports) \ argument 30 for ((transp) = node_to_item((transports)->next, \ 32 ((transp) != node_to_item((transports), \ 34 ((transp) != node_to_item((transp)->node.next, \ 36 (transp) = node_to_item((transp)->node.next, \ 39 #define read_transport_for_each_safe(transp, n, transports) \ argument 40 for ((transp) = node_to_item((transports)->next, \ 42 (n) = (transp)->node.next; \ 43 ((transp) != node_to_item((transports), \ 45 ((transp) != \ [all …]
|
D | logger.h | 65 struct android_log_transport_context* transp); 68 struct android_log_transport_context* transp); 74 struct android_log_transport_context* transp, 78 struct android_log_transport_context* transp); 81 struct android_log_transport_context* transp); 83 struct android_log_transport_context* transp, size_t size); 85 struct android_log_transport_context* transp); 87 struct android_log_transport_context* transp); 90 struct android_log_transport_context* transp, char* buf, 93 struct android_log_transport_context* transp, char* buf, [all …]
|
D | pmsg_reader.c | 33 struct android_log_transport_context* transp); 35 struct android_log_transport_context* transp, 38 struct android_log_transport_context* transp); 40 struct android_log_transport_context* transp); 116 struct android_log_transport_context* transp __unused) { in pmsgClear() 128 struct android_log_transport_context* transp __unused) { in pmsgVersion() 133 struct android_log_transport_context* transp, in pmsgRead() argument 149 if (atomic_load(&transp->context.fd) <= 0) { in pmsgRead() 162 i = atomic_exchange(&transp->context.fd, fd); in pmsgRead() 173 fd = atomic_load(&transp->context.fd); in pmsgRead() [all …]
|
D | local_logger.c | 59 struct android_log_transport_context* transp); 61 struct android_log_transport_context* transp, 64 struct android_log_transport_context* transp); 66 struct android_log_transport_context* transp); 68 struct android_log_transport_context* transp); 70 struct android_log_transport_context* transp); 73 struct android_log_transport_context* transp __unused, size_t size); 76 struct android_log_transport_context* transp); 207 struct android_log_transport_context* transp; in LogBufferLog() local 209 transport_context_for_each(transp, logger_list) { in LogBufferLog() [all …]
|
D | config_write.c | 35 struct android_log_transport_write* transp; in __android_log_add_transport() local 43 write_transport_for_each(transp, list) { in __android_log_add_transport() 44 if (!transp->available) { in __android_log_add_transport() 47 if (((*transp->available)(i) < 0) && in __android_log_add_transport() 94 struct android_log_transport_write* transp; in __android_log_config_write() local 95 write_transport_for_each(transp, &__android_log_transport_write) { in __android_log_config_write() 96 if (transp == &stderrLoggerWrite) { in __android_log_config_write()
|
D | logd_reader.c | 48 struct android_log_transport_context* transp); 50 struct android_log_transport_context* transp, 53 struct android_log_transport_context* transp); 55 struct android_log_transport_context* transp); 57 struct android_log_transport_context* transp); 59 struct android_log_transport_context* transp, 62 struct android_log_transport_context* transp); 64 struct android_log_transport_context* transp); 66 struct android_log_transport_context* transp, 69 struct android_log_transport_context* transp, [all …]
|
D | config_read.c | 35 struct android_log_transport_read* transp; in __android_log_add_transport() local 43 read_transport_for_each(transp, list) { in __android_log_add_transport() 44 if (!transp->available) { in __android_log_add_transport() 47 if (((*transp->available)(i) < 0) && in __android_log_add_transport()
|