Home
last modified time | relevance | path

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

/system/core/libdiskconfig/
Ddiskconfig.c217 dinfo->num_lba = strtoul(tmp, NULL, 0); in load_diskconfig()
312 if (!dinfo->num_lba) { in validate()
318 dinfo->num_lba = (uint32_t)(disk_size / (uint64_t)dinfo->sect_size); in validate()
320 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size; in validate()
327 if (dinfo->num_lba) in validate()
328 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size; in validate()
330 dinfo->num_lba = (uint32_t)(stat.st_size / dinfo->sect_size); in validate()
340 dinfo->device, disk_size, dinfo->num_lba, dinfo->sect_size); in validate()
482 printf("Number of LBAs: %u\n", dinfo->num_lba); in dump_disk_config()
Dconfig_mbr.c109 len_lba = dinfo->num_lba - *lba; in mk_pri_pentry()
122 *lba, dinfo->num_lba - *lba); in mk_pri_pentry()
170 len = dinfo->num_lba - *lba; in mk_ext_pentry()
198 next_len_lba = dinfo->num_lba - *lba; in mk_ext_pentry()
243 if ((cur_lba + extended) >= dinfo->num_lba) in config_mbr()
247 if ((cur_lba + sz_lba + extended) > dinfo->num_lba) in config_mbr()
/system/core/include/diskconfig/
Ddiskconfig.h94 uint32_t num_lba; /* the size of the disk in LBA units */ member
/system/vold/
DVolume.cpp694 dinfo.num_lba = 0; in initializeMbr()