Home
last modified time | relevance | path

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

/drivers/mtd/
Dmtdpart.c320 uint64_t cur_offset) in add_one_partition() argument
395 slave->offset = cur_offset; in add_one_partition()
397 slave->offset = cur_offset; in add_one_partition()
398 if (mtd_mod_by_eb(cur_offset, master) != 0) { in add_one_partition()
400 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in add_one_partition()
403 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in add_one_partition()
504 uint64_t cur_offset = 0; in add_mtd_partitions() local
510 slave = add_one_partition(master, parts + i, i, cur_offset); in add_mtd_partitions()
513 cur_offset = slave->offset + slave->mtd.size; in add_mtd_partitions()