Searched refs:parent_size (Results 1 – 1 of 1) sorted by relevance
42 u64 parent_size = mtd_is_partition(parent) ? in allocate_partition() local106 if (parent_size - child->part.offset >= child->part.size) { in allocate_partition()107 child->part.size = parent_size - child->part.offset - in allocate_partition()111 part->name, parent_size - child->part.offset, in allocate_partition()118 child->part.size = parent_size - child->part.offset; in allocate_partition()125 if (child->part.offset >= parent_size) { in allocate_partition()137 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()