Lines Matching refs:loff_t
39 static loff_t usbplug_dummy_partition_write_last_addr;
40 static loff_t usbplug_dummy_partition_write_seek;
41 static loff_t usbplug_dummy_partition_read_last_addr;
42 static loff_t usbplug_dummy_partition_read_seek;
46 loff_t offset, in mtd_blk_map_table_init()
110 static bool get_mtd_blk_map_address(struct mtd_info *mtd, loff_t *off) in get_mtd_blk_map_address()
113 loff_t offset = *off; in get_mtd_blk_map_address()
125 *off = (loff_t)(((u32)mtd_map_blk_table[(u64)offset >> in get_mtd_blk_map_address()
183 static __maybe_unused int mtd_map_read(struct mtd_info *mtd, loff_t offset, in mtd_map_read()
185 loff_t lim, u_char *buffer) in mtd_map_read()
201 loff_t mapped_offset; in mtd_map_read()
242 static __maybe_unused int mtd_map_write(struct mtd_info *mtd, loff_t offset, in mtd_map_write()
244 loff_t lim, u_char *buffer, int flags) in mtd_map_write()
280 loff_t mapped_offset; in mtd_map_write()
336 static __maybe_unused int mtd_map_erase(struct mtd_info *mtd, loff_t offset, in mtd_map_erase()
340 loff_t pos, len; in mtd_map_erase()
354 loff_t mapped_offset; in mtd_map_erase()
493 loff_t off = (loff_t)(start * 512); in mtd_dread()
579 loff_t off = (loff_t)(start * 512); in mtd_dwrite()
662 loff_t off = (loff_t)(start * 512); in mtd_derase()