Lines Matching defs:size
12 * <partdef> := <size>[@<offset>][<name>][ro][lk][slc]
14 * <size> := standard linux memsize OR "-" to denote all remaining space
15 * size is automatically truncated at end of device
16 * if specified or truncated size is 0 the part is skipped
23 * <size> and <offset> can be specified such that the parts are out of order
55 /* special size referring to all the remaining space in a partition */
90 unsigned long long size, offset = OFFSET_CONTINUOUS;
97 /* fetch the partition size */
100 size = SIZE_REMAINING;
103 size = memparse(s, &s);
104 if (!size) {
105 pr_err("partition has size 0\n");
164 if (size == SIZE_REMAINING) {
191 parts[this_part].size = size;
202 dbg(("partition %d: name <%s>, offset %llx, size %llx, mask flags %x\n",
204 parts[this_part].size, parts[this_part].mask_flags));
367 if (part->parts[i].size == SIZE_REMAINING)
368 part->parts[i].size = master->size - offset;
370 if (offset + part->parts[i].size > master->size) {
371 pr_warn("%s: partitioning exceeds flash size, truncating\n",
373 part->parts[i].size = master->size - offset;
375 offset += part->parts[i].size;
377 if (part->parts[i].size == 0) {