Searched defs:lba (Results 1 - 1 of 1) sorted by relevance

/system/core/libdiskconfig/
H A Dconfig_mbr.c58 uint64_t lba; local
60 lba = (uint64_t)len_kb * 1024;
62 lba = (lba + (uint64_t)sect_size - 1) & ~((uint64_t)sect_size - 1);
63 lba /= (uint64_t)sect_size;
64 if (lba >= 0xffffffffULL)
65 ALOGE("Error converting kb -> lba. 32bit overflow, expect weirdness");
66 return (uint32_t)(lba & 0xffffffffULL);
72 uint32_t *lba)
109 len_lba = dinfo->num_lba - *lba;
71 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum, uint32_t *lba) argument
114 pinfo->type, *lba, (uint32_t)len_lba); local
141 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, uint32_t ext_lba, struct part_info *pnext) argument
[all...]

Completed in 17 milliseconds