Searched refs:klog_fd (Results 1 – 2 of 2) sorted by relevance
50 static int klog_fd = __open_klog(); in klog_writev() local51 if (klog_fd == -1) return; in klog_writev()52 TEMP_FAILURE_RETRY(writev(klog_fd, iov, iov_count)); in klog_writev()
249 static int klog_fd = OpenKmsg(); in KernelLogLine() local250 if (klog_fd == -1) return; in KernelLogLine()260 TEMP_FAILURE_RETRY(write(klog_fd, buf, std::min(size, sizeof(buf)))); in KernelLogLine()268 TEMP_FAILURE_RETRY(write(klog_fd, buf, std::min(size, sizeof(buf)))); in KernelLogLine()