Symbol: mtdswap_dev
drivers/mtd/mtdswap.c
1023
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
1062
static int mtdswap_auto_header(struct mtdswap_dev *d, char *buf)
drivers/mtd/mtdswap.c
1080
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
1144
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
1171
struct mtdswap_dev *d = (struct mtdswap_dev *) s->private;
drivers/mtd/mtdswap.c
1256
static int mtdswap_add_debugfs(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
1272
static int mtdswap_init(struct mtdswap_dev *d, unsigned int eblocks,
drivers/mtd/mtdswap.c
1336
struct mtdswap_dev *d;
drivers/mtd/mtdswap.c
1418
d = kzalloc_obj(struct mtdswap_dev);
drivers/mtd/mtdswap.c
1466
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
166
#define MTDSWAP_MBD_TO_MTDSWAP(dev) ((struct mtdswap_dev *)dev->priv)
drivers/mtd/mtdswap.c
183
static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background);
drivers/mtd/mtdswap.c
185
static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
190
static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
223
static void mtdswap_rb_add(struct mtdswap_dev *d, struct swap_eb *eb, int idx)
drivers/mtd/mtdswap.c
252
static int mtdswap_handle_badblock(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
280
static int mtdswap_handle_write_error(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
298
static int mtdswap_read_oob(struct mtdswap_dev *d, loff_t from,
drivers/mtd/mtdswap.c
322
static int mtdswap_read_markers(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
368
static int mtdswap_write_marker(struct mtdswap_dev *d, struct swap_eb *eb,
drivers/mtd/mtdswap.c
417
static void mtdswap_check_counts(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
456
static void mtdswap_scan_eblks(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
505
static void mtdswap_store_eb(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
527
static int mtdswap_erase_block(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
563
static int mtdswap_map_free_block(struct mtdswap_dev *d, unsigned int page,
drivers/mtd/mtdswap.c
604
static unsigned int mtdswap_free_page_cnt(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
610
static unsigned int mtdswap_enough_free_pages(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
615
static int mtdswap_write_block(struct mtdswap_dev *d, char *buf,
drivers/mtd/mtdswap.c
676
static int mtdswap_move_block(struct mtdswap_dev *d, unsigned int oldblock,
drivers/mtd/mtdswap.c
733
static int mtdswap_gc_eblock(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
757
static int __mtdswap_choose_gc_tree(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
801
static int mtdswap_choose_wl_tree(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
829
static int mtdswap_choose_gc_tree(struct mtdswap_dev *d,
drivers/mtd/mtdswap.c
845
static struct swap_eb *mtdswap_pick_gc_eblk(struct mtdswap_dev *d,
drivers/mtd/mtdswap.c
874
static unsigned int mtdswap_eblk_passes(struct mtdswap_dev *d,
drivers/mtd/mtdswap.c
938
static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background)
drivers/mtd/mtdswap.c
978
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
988
static void mtdswap_cleanup(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
999
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);