Searched refs:IsBlockAligned (Results 1 – 4 of 4) sorted by relevance
198 bool IsBlockAligned(uint64_t read_size) { return ((read_size & (BLOCK_SZ - 1)) == 0); } in IsBlockAligned() function232 bool IsBlockAligned(size_t size) { return ((size & (BLOCK_SZ - 1)) == 0); } in IsBlockAligned() function392 bool IsBlockAligned(uint64_t read_size) { return ((read_size & (BLOCK_SZ - 1)) == 0); } in IsBlockAligned() function
571 CHECK(IsBlockAligned(sector << SECTOR_SHIFT)); in ReadUnalignedSector()609 if (!IsBlockAligned(header->sector << SECTOR_SHIFT)) { in DmuserReadRequest()
168 if (!IsBlockAligned(dev_sz)) { in VerifyPartition()
282 bool IsBlockAligned(int read_size) { return ((read_size & (BLOCK_SZ - 1)) == 0); } in IsBlockAligned() function