Home
last modified time | relevance | path

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

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