Lines Matching refs:s
24 int s = socket_local_client(DEBUGGER_SOCKET_NAME, in dump_tombstone() local
26 if (s < 0) { in dump_tombstone()
35 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { in dump_tombstone()
39 if (TEMP_FAILURE_RETRY(read(s, &ack, 1)) != 1) { in dump_tombstone()
43 ssize_t n = TEMP_FAILURE_RETRY(read(s, pathbuf, pathlen - 1)); in dump_tombstone()
52 TEMP_FAILURE_RETRY(close(s)); in dump_tombstone()
57 int s = socket_local_client(DEBUGGER_SOCKET_NAME, in dump_backtrace_to_file() local
59 if (s < 0) { in dump_backtrace_to_file()
68 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { in dump_backtrace_to_file()
72 if (TEMP_FAILURE_RETRY(read(s, &ack, 1)) != 1) { in dump_backtrace_to_file()
77 while ((n = TEMP_FAILURE_RETRY(read(s, buffer, sizeof(buffer)))) > 0) { in dump_backtrace_to_file()
85 TEMP_FAILURE_RETRY(close(s)); in dump_backtrace_to_file()