Searched refs:logfile_fd (Results 1 – 2 of 2) sorted by relevance
68 static int logfile_fd = INVALID_FD; variable111 if (logfile_fd != INVALID_FD) close(logfile_fd); in shut_down()112 logfile_fd = INVALID_FD; in shut_down()135 if (logfile_fd == INVALID_FD) return; in capture()193 if (logfile_fd != INVALID_FD) { in open_next_snoop_file()194 close(logfile_fd); in open_next_snoop_file()195 logfile_fd = INVALID_FD; in open_next_snoop_file()208 logfile_fd = open(log_path, O_WRONLY | O_CREAT | O_TRUNC, in open_next_snoop_file()211 if (logfile_fd == INVALID_FD) { in open_next_snoop_file()217 write(logfile_fd, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16); in open_next_snoop_file()[all …]
153 int logfile_fd = open(LOG_PATH, O_WRONLY | O_CREAT | O_TRUNC, in hci_open_firmware_log_file() local156 if (logfile_fd == INVALID_FD) { in hci_open_firmware_log_file()161 return logfile_fd; in hci_open_firmware_log_file()