Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/
Dmtdswap.c69 struct swap_eb { struct
79 #define MTDSWAP_ECNT_MIN(rbroot) (rb_entry(rb_first(rbroot), struct swap_eb, \ argument
81 #define MTDSWAP_ECNT_MAX(rbroot) (rb_entry(rb_last(rbroot), struct swap_eb, \
112 struct swap_eb *eb_data;
124 struct swap_eb *curr_write;
184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset()
189 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach()
203 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) in __mtdswap_rb_add()
206 struct swap_eb *cur; in __mtdswap_rb_add()
211 cur = rb_entry(parent, struct swap_eb, rb); in __mtdswap_rb_add()
[all …]