Searched refs:rfd (Results 1 – 2 of 2) sorted by relevance
272 int rfd; in setup_wlan_config_file() local294 rfd = open(WLAN_INI_FILE_SOURCE, O_RDONLY); in setup_wlan_config_file()295 if (rfd < 0) { in setup_wlan_config_file()303 close(rfd); in setup_wlan_config_file()307 rc = sendfile(wfd, rfd, 0, st_src.st_size); in setup_wlan_config_file()332 close(rfd); in setup_wlan_config_file()
301 int rfd; in setup_wlan_config_file() local323 rfd = open(WLAN_INI_FILE_SOURCE, O_RDONLY); in setup_wlan_config_file()324 if (rfd < 0) { in setup_wlan_config_file()332 close(rfd); in setup_wlan_config_file()336 rc = sendfile(wfd, rfd, 0, st_src.st_size); in setup_wlan_config_file()361 close(rfd); in setup_wlan_config_file()