Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapuserd_worker.cpp232 size_t skip_sector_size = 0; in ReadUnalignedSector() local
246 skip_sector_size = num_sectors_skip << SECTOR_SHIFT; in ReadUnalignedSector()
250 if (skip_sector_size == BLOCK_SZ) { in ReadUnalignedSector()
256 memmove(msg->payload.buf, (char*)msg->payload.buf + skip_sector_size, in ReadUnalignedSector()
257 (BLOCK_SZ - skip_sector_size)); in ReadUnalignedSector()
261 return std::min(size, (BLOCK_SZ - skip_sector_size)); in ReadUnalignedSector()