mtdswap_dev       165 drivers/mtd/mtdswap.c #define MTDSWAP_MBD_TO_MTDSWAP(dev) ((struct mtdswap_dev *)dev->priv)
mtdswap_dev       182 drivers/mtd/mtdswap.c static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background);
mtdswap_dev       184 drivers/mtd/mtdswap.c static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       189 drivers/mtd/mtdswap.c static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       222 drivers/mtd/mtdswap.c static void mtdswap_rb_add(struct mtdswap_dev *d, struct swap_eb *eb, int idx)
mtdswap_dev       251 drivers/mtd/mtdswap.c static int mtdswap_handle_badblock(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       279 drivers/mtd/mtdswap.c static int mtdswap_handle_write_error(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       297 drivers/mtd/mtdswap.c static int mtdswap_read_oob(struct mtdswap_dev *d, loff_t from,
mtdswap_dev       321 drivers/mtd/mtdswap.c static int mtdswap_read_markers(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       367 drivers/mtd/mtdswap.c static int mtdswap_write_marker(struct mtdswap_dev *d, struct swap_eb *eb,
mtdswap_dev       416 drivers/mtd/mtdswap.c static void mtdswap_check_counts(struct mtdswap_dev *d)
mtdswap_dev       455 drivers/mtd/mtdswap.c static void mtdswap_scan_eblks(struct mtdswap_dev *d)
mtdswap_dev       504 drivers/mtd/mtdswap.c static void mtdswap_store_eb(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       526 drivers/mtd/mtdswap.c static int mtdswap_erase_block(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       562 drivers/mtd/mtdswap.c static int mtdswap_map_free_block(struct mtdswap_dev *d, unsigned int page,
mtdswap_dev       603 drivers/mtd/mtdswap.c static unsigned int mtdswap_free_page_cnt(struct mtdswap_dev *d)
mtdswap_dev       609 drivers/mtd/mtdswap.c static unsigned int mtdswap_enough_free_pages(struct mtdswap_dev *d)
mtdswap_dev       614 drivers/mtd/mtdswap.c static int mtdswap_write_block(struct mtdswap_dev *d, char *buf,
mtdswap_dev       675 drivers/mtd/mtdswap.c static int mtdswap_move_block(struct mtdswap_dev *d, unsigned int oldblock,
mtdswap_dev       733 drivers/mtd/mtdswap.c static int mtdswap_gc_eblock(struct mtdswap_dev *d, struct swap_eb *eb)
mtdswap_dev       757 drivers/mtd/mtdswap.c static int __mtdswap_choose_gc_tree(struct mtdswap_dev *d)
mtdswap_dev       801 drivers/mtd/mtdswap.c static int mtdswap_choose_wl_tree(struct mtdswap_dev *d)
mtdswap_dev       829 drivers/mtd/mtdswap.c static int mtdswap_choose_gc_tree(struct mtdswap_dev *d,
mtdswap_dev       845 drivers/mtd/mtdswap.c static struct swap_eb *mtdswap_pick_gc_eblk(struct mtdswap_dev *d,
mtdswap_dev       874 drivers/mtd/mtdswap.c static unsigned int mtdswap_eblk_passes(struct mtdswap_dev *d,
mtdswap_dev       938 drivers/mtd/mtdswap.c static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background)
mtdswap_dev       978 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
mtdswap_dev       988 drivers/mtd/mtdswap.c static void mtdswap_cleanup(struct mtdswap_dev *d)
mtdswap_dev       999 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
mtdswap_dev      1023 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
mtdswap_dev      1063 drivers/mtd/mtdswap.c static int mtdswap_auto_header(struct mtdswap_dev *d, char *buf)
mtdswap_dev      1081 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
mtdswap_dev      1145 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
mtdswap_dev      1172 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d = (struct mtdswap_dev *) s->private;
mtdswap_dev      1257 drivers/mtd/mtdswap.c static int mtdswap_add_debugfs(struct mtdswap_dev *d)
mtdswap_dev      1278 drivers/mtd/mtdswap.c static int mtdswap_init(struct mtdswap_dev *d, unsigned int eblocks,
mtdswap_dev      1342 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d;
mtdswap_dev      1424 drivers/mtd/mtdswap.c 	d = kzalloc(sizeof(struct mtdswap_dev), GFP_KERNEL);
mtdswap_dev      1472 drivers/mtd/mtdswap.c 	struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);