Home
last modified time | relevance | path

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

/system/vold/
DCheckpoint.cpp516 void restoreSector(int device_fd, Used_Sectors& used_sectors, std::vector<char>& ls_buffer, in restoreSector() argument
518 log_sector_v1_0& ls = *reinterpret_cast<log_sector_v1_0*>(&ls_buffer[0]); in restoreSector()
519 uint32_t index = le - ((log_entry*)&ls_buffer[ls.header_size]); in restoreSector()
527 write(device_fd, &ls_buffer[0], ls.block_size); in restoreSector()
604 auto ls_buffer = relocatedRead(device_fd, relocations, validating, 0, in cp_restoreCheckpoint() local
606 log_sector_v1_0& ls = *reinterpret_cast<log_sector_v1_0*>(&ls_buffer[0]); in cp_restoreCheckpoint()
634 reinterpret_cast<log_entry*>(&ls_buffer[ls.header_size]) + ls.count - 1; in cp_restoreCheckpoint()
635 le >= reinterpret_cast<log_entry*>(&ls_buffer[ls.header_size]); --le) { in cp_restoreCheckpoint()
657 restoreSector(device_fd, used_sectors, ls_buffer, le, buffer); in cp_restoreCheckpoint()