Lines Matching refs:size
42 parent->part.size : parent->size;
64 child->part.size = part->size;
105 if (parent_size - child->part.offset >= child->part.size) {
106 child->part.size = parent_size - child->part.offset -
107 child->part.size;
111 child->part.size);
116 if (child->part.size == MTDPART_SIZ_FULL)
117 child->part.size = parent_size - child->part.offset;
120 child->part.offset, child->part.offset + child->part.size,
127 child->part.size = 0;
135 if (child->part.offset + child->part.size > parent->size) {
136 child->part.size = parent_size - child->part.offset;
137 printk(KERN_WARNING"mtd: partition \"%s\" extends beyond the end of device \"%s\" -- size truncated to %#llx\n",
138 part->name, parent->name, child->part.size);
142 /* Deal with variable erase size stuff */
144 u64 end = child->part.offset + child->part.size;
163 /* Single erase size */
178 /* Doesn't start on a boundary of major erase size */
180 * _minor_ erase size though */
186 tmp = mtd_get_master_ofs(child, 0) + child->part.size;
194 child->size = child->part.size;
202 while (offs < child->part.size) {
244 parent->part.size : parent->size;
262 part.size = length;
430 cur_offset = child->part.offset + child->part.size;
711 /* Returns the size of the entire flash chip */
716 return master->size;