Searched refs:lcp_rtt_file_fd (Results 1 – 1 of 1) sorted by relevance
223 static int lcp_rtt_file_fd = 0; /* fd for the opened LCP RTT file */ variable2341 if (lcp_rtt_file_fd && len >= 16) { in lcp_received_echo_reply()2414 if (lcp_rtt_file_fd) { in LcpSendEchoRequest()2436 lcp_rtt_file_fd = open(lcp_rtt_file, O_RDWR | O_CREAT, 0644); in lcp_rtt_open_file()2437 if (lcp_rtt_file_fd < 0) { in lcp_rtt_open_file()2439 lcp_rtt_file_fd = 0; in lcp_rtt_open_file()2443 if (ftruncate(lcp_rtt_file_fd, LCP_RTT_FILE_SIZE) < 0) in lcp_rtt_open_file()2446 MAP_SHARED, lcp_rtt_file_fd, 0); in lcp_rtt_open_file()2466 if (!lcp_rtt_file_fd) in lcp_rtt_close_file()2473 if (close(lcp_rtt_file_fd) < 0) in lcp_rtt_close_file()[all …]