Home
last modified time | relevance | path

Searched refs:transp (Results 1 – 8 of 8) sorted by relevance

/system/core/liblog/
Dlogger_read.c88 struct android_log_transport_context *transp; in init_transport_context() local
108 transp = calloc(1, sizeof(*transp)); in init_transport_context()
109 if (!transp) { in init_transport_context()
112 transp->parent = logger_list; in init_transport_context()
113 transp->transport = transport; in init_transport_context()
114 transp->logMask = logMask; in init_transport_context()
115 transp->ret = 1; in init_transport_context()
116 list_add_tail(&logger_list->transport, &transp->node); in init_transport_context()
126 struct android_log_transport_context *transp; \
139 transport_context_for_each(transp, logger_internal->parent) { \
[all …]
Dconfig_write.h29 #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, \
37 #define write_transport_for_each_safe(transp, n, transports) \ argument
38 for (transp = node_to_item((transports)->next, \
40 n = transp->node.next; \
41 (transp != node_to_item(transports, \
43 transp = node_to_item(n, struct android_log_transport_write, node), \
44 n = transp->node.next)
Dconfig_read.h29 #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, \
37 #define read_transport_for_each_safe(transp, n, transports) \ argument
38 for (transp = node_to_item((transports)->next, \
40 n = transp->node.next; \
41 (transp != node_to_item(transports, \
43 transp = node_to_item(n, struct android_log_transport_read, node), \
44 n = transp->node.next)
Dlogger.h62 struct android_log_transport_context *transp);
64 struct android_log_transport_context *transp);
71 struct android_log_transport_context *transp,
75 struct android_log_transport_context *transp);
78 struct android_log_transport_context *transp);
80 struct android_log_transport_context *transp,
83 struct android_log_transport_context *transp);
85 struct android_log_transport_context *transp);
88 struct android_log_transport_context *transp,
91 struct android_log_transport_context *transp,
[all …]
Dpmsg_reader.c33 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);
118 struct android_log_transport_context *transp __unused) in pmsgClear()
131 struct android_log_transport_context *transp __unused) in pmsgVersion()
137 struct android_log_transport_context *transp, in pmsgRead() argument
153 if (transp->context.fd <= 0) { in pmsgRead()
166 transp->context.fd = fd; in pmsgRead()
172 ret = TEMP_FAILURE_RETRY(read(transp->context.fd, in pmsgRead()
[all …]
Dlogd_reader.c50 struct android_log_transport_context *transp);
52 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);
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,
71 struct android_log_transport_context *transp,
[all …]
Dconfig_read.c31 struct android_log_transport_read *transp; in __android_log_add_transport() local
39 read_transport_for_each(transp, list) { in __android_log_add_transport()
40 if (!transp->available) { in __android_log_add_transport()
43 if (((*transp->available)(i) < 0) && in __android_log_add_transport()
Dconfig_write.c31 struct android_log_transport_write *transp; in __android_log_add_transport() local
39 write_transport_for_each(transp, list) { in __android_log_add_transport()
40 if (!transp->available) { in __android_log_add_transport()
43 if (((*transp->available)(i) < 0) && in __android_log_add_transport()