Lines Matching defs:from
54 concat_read(struct mtd_info *mtd, loff_t from, size_t len,
65 if (from >= subdev->size) {
68 from -= subdev->size;
71 if (from + len > subdev->size)
73 size = subdev->size - from;
78 err = mtd_read(subdev, from, size, &retsize, buf);
100 from = 0;
127 printk(KERN_ERR "mtdconcat: Cannot write from panic without panic_write\n");
260 concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops)
271 if (from >= subdev->size) {
272 from -= subdev->size;
277 if (from + devops.len > subdev->size)
278 devops.len = subdev->size - from;
280 err = mtd_read_oob(subdev, from, &devops);
311 from = 0;
742 * subdev's attributes may be different from master
781 /* if it differs from the last subdevice's erase size, count it */
900 /* Cleans the context obtained from mtd_concat_create() */