Lines Matching defs:eb
197 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset()
202 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach()
216 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) in __mtdswap_rb_add()
235 static void mtdswap_rb_add(struct mtdswap_dev *d, struct swap_eb *eb, int idx) in mtdswap_rb_add()
264 static int mtdswap_handle_badblock(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_handle_badblock()
292 static int mtdswap_handle_write_error(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_handle_write_error()
334 static int mtdswap_read_markers(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_read_markers()
380 static int mtdswap_write_marker(struct mtdswap_dev *d, struct swap_eb *eb, in mtdswap_write_marker()
433 struct swap_eb *eb; in mtdswap_check_counts() local
472 struct swap_eb *eb; in mtdswap_scan_eblks() local
517 static void mtdswap_store_eb(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_store_eb()
539 static int mtdswap_erase_block(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_erase_block()
581 struct swap_eb *eb; in mtdswap_map_free_block() local
631 struct swap_eb *eb; in mtdswap_write_block() local
692 struct swap_eb *eb, *oldeb; in mtdswap_move_block() local
746 static int mtdswap_gc_eblock(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_gc_eblock()
862 struct swap_eb *eb = NULL; in mtdswap_pick_gc_eblk() local
888 struct swap_eb *eb) in mtdswap_eblk_passes()
953 struct swap_eb *eb; in mtdswap_gc() local
1038 struct swap_eb *eb; in mtdswap_writesect() local
1098 struct swap_eb *eb; in mtdswap_readsect() local
1160 struct swap_eb *eb; in mtdswap_discard() local