Searched refs:cur_lba (Results 1 – 1 of 1) sorted by relevance
/system/core/libdiskconfig/ |
D | config_mbr.c | 235 uint32_t cur_lba = dinfo->skip_lba; in config_mbr() local 252 ext_lba = cur_lba; in config_mbr() 253 if ((temp_wr = mk_pri_pentry(dinfo, NULL, cnt, &cur_lba))) in config_mbr() 263 if ((cur_lba + extended) >= dinfo->num_lba) in config_mbr() 267 if ((cur_lba + sz_lba + extended) > dinfo->num_lba) in config_mbr() 272 temp_wr = mk_pri_pentry(dinfo, pinfo, cnt, &cur_lba); in config_mbr() 276 temp_wr = mk_ext_pentry(dinfo, pinfo, &cur_lba, ext_lba, pnext); in config_mbr() 290 cur_lba = 0; in config_mbr() 292 if (!(temp_wr = mk_pri_pentry(dinfo, &blank, cnt, &cur_lba))) { in config_mbr()
|