Home
last modified time | relevance | path

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

/drivers/mtd/
Dmtdpart.c41 u64 parent_size = mtd_is_partition(parent) ? in allocate_partition() local
105 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() local
255 length = parent_size - offset; in mtd_add_partition()