Home
last modified time | relevance | path

Searched refs:mtdswap_dev (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/
Dmtdswap.c113 struct mtdswap_dev { struct
180 #define MTDSWAP_MBD_TO_MTDSWAP(dev) ((struct mtdswap_dev *)dev->priv)
197 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background);
199 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset()
204 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach()
237 static void mtdswap_rb_add(struct mtdswap_dev *d, struct swap_eb *eb, int idx) in mtdswap_rb_add()
266 static int mtdswap_handle_badblock(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_handle_badblock()
294 static int mtdswap_handle_write_error(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_handle_write_error()
312 static int mtdswap_read_oob(struct mtdswap_dev *d, loff_t from, in mtdswap_read_oob()
336 static int mtdswap_read_markers(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_read_markers()
[all …]