Home
last modified time | relevance | path

Searched refs:fw_fd (Results 1 – 1 of 1) sorted by relevance

/system/core/init/
Dfirmware_handler.cpp47 static void LoadFirmware(const std::string& firmware, const std::string& root, int fw_fd, in LoadFirmware() argument
53 int rc = sendfile(data_fd, fw_fd, nullptr, fw_size); in LoadFirmware()
212 unique_fd fw_fd(open(file.c_str(), O_RDONLY | O_CLOEXEC)); in ProcessFirmwareEvent() local
213 if (fw_fd == -1) { in ProcessFirmwareEvent()
219 if (fstat(fw_fd, &sb) == -1) { in ProcessFirmwareEvent()
224 LoadFirmware(firmware, root, fw_fd, sb.st_size, loading_fd, data_fd); in ProcessFirmwareEvent()