Searched refs:parent_size (Results 1 – 1 of 1) sorted by relevance
41 u64 parent_size = mtd_is_partition(parent) ? in allocate_partition() local105 if (parent_size - child->part.offset >= child->part.size) { in allocate_partition()106 child->part.size = parent_size - child->part.offset - in allocate_partition()110 part->name, parent_size - child->part.offset, in allocate_partition()117 child->part.size = parent_size - child->part.offset; in allocate_partition()124 if (child->part.offset >= parent_size) { in allocate_partition()136 child->part.size = parent_size - child->part.offset; in allocate_partition()243 u64 parent_size = mtd_is_partition(parent) ? in mtd_add_partition() local255 length = parent_size - offset; in mtd_add_partition()