Symbol: mtdswap_dev
drivers/mtd/mtdswap.c
1022
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
1061
static int mtdswap_auto_header(struct mtdswap_dev *d, char *buf)
drivers/mtd/mtdswap.c
1079
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
1143
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
1170
struct mtdswap_dev *d = (struct mtdswap_dev *) s->private;
drivers/mtd/mtdswap.c
1255
static int mtdswap_add_debugfs(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
1270
static int mtdswap_init(struct mtdswap_dev *d, unsigned int eblocks,
drivers/mtd/mtdswap.c
1334
struct mtdswap_dev *d;
drivers/mtd/mtdswap.c
1416
d = kzalloc_obj(struct mtdswap_dev);
drivers/mtd/mtdswap.c
1464
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
165
#define MTDSWAP_MBD_TO_MTDSWAP(dev) ((struct mtdswap_dev *)dev->priv)
drivers/mtd/mtdswap.c
182
static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background);
drivers/mtd/mtdswap.c
184
static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
189
static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
222
static void mtdswap_rb_add(struct mtdswap_dev *d, struct swap_eb *eb, int idx)
drivers/mtd/mtdswap.c
251
static int mtdswap_handle_badblock(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
279
static int mtdswap_handle_write_error(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
297
static int mtdswap_read_oob(struct mtdswap_dev *d, loff_t from,
drivers/mtd/mtdswap.c
321
static int mtdswap_read_markers(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
367
static int mtdswap_write_marker(struct mtdswap_dev *d, struct swap_eb *eb,
drivers/mtd/mtdswap.c
416
static void mtdswap_check_counts(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
455
static void mtdswap_scan_eblks(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
504
static void mtdswap_store_eb(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
526
static int mtdswap_erase_block(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
562
static int mtdswap_map_free_block(struct mtdswap_dev *d, unsigned int page,
drivers/mtd/mtdswap.c
603
static unsigned int mtdswap_free_page_cnt(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
609
static unsigned int mtdswap_enough_free_pages(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
614
static int mtdswap_write_block(struct mtdswap_dev *d, char *buf,
drivers/mtd/mtdswap.c
675
static int mtdswap_move_block(struct mtdswap_dev *d, unsigned int oldblock,
drivers/mtd/mtdswap.c
732
static int mtdswap_gc_eblock(struct mtdswap_dev *d, struct swap_eb *eb)
drivers/mtd/mtdswap.c
756
static int __mtdswap_choose_gc_tree(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
800
static int mtdswap_choose_wl_tree(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
828
static int mtdswap_choose_gc_tree(struct mtdswap_dev *d,
drivers/mtd/mtdswap.c
844
static struct swap_eb *mtdswap_pick_gc_eblk(struct mtdswap_dev *d,
drivers/mtd/mtdswap.c
873
static unsigned int mtdswap_eblk_passes(struct mtdswap_dev *d,
drivers/mtd/mtdswap.c
937
static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background)
drivers/mtd/mtdswap.c
977
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);
drivers/mtd/mtdswap.c
987
static void mtdswap_cleanup(struct mtdswap_dev *d)
drivers/mtd/mtdswap.c
998
struct mtdswap_dev *d = MTDSWAP_MBD_TO_MTDSWAP(dev);