Lines Matching defs:to
38 * Given a pointer to the MTD object in the mtd_part structure, we can retrieve
39 * the pointer to that structure with this macro.
46 * to the _real_ device.
140 static int part_write (struct mtd_info *mtd, loff_t to, size_t len,
146 if (to >= mtd->size)
148 else if (to + len > mtd->size)
149 len = mtd->size - to;
150 return part->master->write (part->master, to + part->offset,
154 static int part_write_oob(struct mtd_info *mtd, loff_t to,
162 if (to >= mtd->size)
164 if (ops->datbuf && to + ops->len > mtd->size)
166 return part->master->write_oob(part->master, to + part->offset, ops);
184 unsigned long count, loff_t to, size_t *retlen)
190 to + part->offset, retlen);
286 * attached to the given master MTD object.
313 * and registers slave MTD objects which are bound to the master according to
404 /* Round up to next erasesize */
420 /* let's register it anyway to preserve ordering */
428 printk ("mtd: partition \"%s\" extends beyond the end of device \"%s\" -- size truncated to %#x\n",