Lines Matching refs:transp

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);
118 struct android_log_transport_context *transp __unused)
131 struct android_log_transport_context *transp __unused)
137 struct android_log_transport_context *transp,
153 if (transp->context.fd <= 0) {
166 transp->context.fd = fd;
172 ret = TEMP_FAILURE_RETRY(read(transp->context.fd,
195 if ((transp->logMask & (1 << buf.l.id)) &&
205 ret = TEMP_FAILURE_RETRY(read(transp->context.fd,
234 current = TEMP_FAILURE_RETRY(lseek(transp->context.fd,
239 next = TEMP_FAILURE_RETRY(lseek(transp->context.fd,
252 struct android_log_transport_context *transp) {
253 if (transp->context.fd > 0) {
254 close (transp->context.fd);
256 transp->context.fd = 0;
266 struct android_log_transport_context transp;
292 /* Add just enough clues in logger_list and transp to make API function */
294 memset(&transp, 0, sizeof(transp));
299 transp.logMask = (unsigned)-1;
301 transp.logMask = (1 << logId);
303 transp.logMask &= ~((1 << LOG_ID_KERNEL) |
306 if (!transp.logMask) {
331 while (pmsgRead(&logger_list, &transp, &transp.logMsg) > 0) {
333 size_t hdr_size = transp.logMsg.entry.hdr_size ?
334 transp.logMsg.entry.hdr_size : sizeof(transp.logMsg.entry_v1);
335 char *msg = (char *)&transp.logMsg + hdr_size;
339 if ((transp.logMsg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE) ||
340 ((transp.logMsg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >=
346 len = transp.logMsg.entry.len - sizeof(prio);
396 (names->id == transp.logMsg.entry.lid) &&
414 names->id = transp.logMsg.entry.lid;
467 if (transp.logMsg.entry.nsec == content->entry.nsec) {
475 hdr_size + transp.logMsg.entry.len);
480 memcpy(&content->entry, &transp.logMsg.entry,
481 hdr_size + transp.logMsg.entry.len);
486 transp.logMsg.entry.nsec) {
492 pmsgClose(&logger_list, &transp);