Lines Matching defs:to
44 static int _block2mtd_erase(struct block2mtd_dev *dev, loff_t to, size_t len)
48 int index = to >> PAGE_SHIFT; // page index
130 /* write data to the underlying device */
132 loff_t to, size_t len, size_t *retlen)
136 int index = to >> PAGE_SHIFT; // page index
137 int offset = to & ~PAGE_MASK; // page offset
171 static int block2mtd_write(struct mtd_info *mtd, loff_t to, size_t len,
178 err = _block2mtd_write(dev, buf, to, len, retlen);
232 to resolve the device name by other means. */
247 pr_err("attempting to use an MTD device as a block device\n");
298 /* This function works similar to reguler strtoul. In addition, it
315 /* By dwmw2 editorial decree, "ki", "Mi" or "Gi" are to be used. */
420 called so early that it is not possible to resolve
421 the device (even kmalloc() fails). Deter that work to
432 MODULE_PARM_DESC(block2mtd, "Device to use. \"block2mtd=<dev>[,<erasesize>]\"");