Searched refs:lba (Results 1 – 3 of 3) sorted by relevance
57 uint64_t lba; in kb_to_lba() local59 lba = (uint64_t)len_kb * 1024; in kb_to_lba()61 lba = (lba + (uint64_t)sect_size - 1) & ~((uint64_t)sect_size - 1); in kb_to_lba()62 lba /= (uint64_t)sect_size; in kb_to_lba()63 if (lba >= 0xffffffffULL) in kb_to_lba()65 return (uint32_t)(lba & 0xffffffffULL); in kb_to_lba()71 uint32_t *lba) in mk_pri_pentry() argument108 len_lba = dinfo->num_lba - *lba; in mk_pri_pentry()113 pinfo->type, *lba, (uint32_t)len_lba); in mk_pri_pentry()115 pinfo->start_lba = *lba; in mk_pri_pentry()[all …]
232 uint64_t lba = extent.target_data * LP_SECTOR_SIZE; in TEST_F() local233 ASSERT_TRUE(AlignTo(lba, device_info.alignment, &aligned_lba)); in TEST_F()234 EXPECT_EQ(lba, aligned_lba); in TEST_F()
990 uint64_t lba = sector * LP_SECTOR_SIZE; in AlignSector() local991 if (!AlignTo(lba, block_device.alignment, out)) { in AlignSector()