Lines Matching refs:swap_extent
155 static inline struct swap_extent *first_se(struct swap_info_struct *sis) in first_se()
158 return rb_entry(rb, struct swap_extent, rb_node); in first_se()
161 static inline struct swap_extent *next_se(struct swap_extent *se) in next_se()
164 return rb ? rb_entry(rb, struct swap_extent, rb_node) : NULL; in next_se()
173 struct swap_extent *se; in discard_swap()
204 static struct swap_extent *
207 struct swap_extent *se; in offset_to_swap_extent()
212 se = rb_entry(rb, struct swap_extent, rb_node); in offset_to_swap_extent()
227 struct swap_extent *se; in swap_page_sector()
244 struct swap_extent *se = offset_to_swap_extent(si, start_page); in discard_swap_cluster()
1691 struct swap_extent *se = first_se(sis); in swap_type_of()
1728 struct swap_extent *se; in swapdev_block()
2162 struct swap_extent *se = rb_entry(rb, struct swap_extent, rb_node); in destroy_swap_extents()
2189 struct swap_extent *se; in add_swap_extent()
2190 struct swap_extent *new_se; in add_swap_extent()
2202 se = rb_entry(parent, struct swap_extent, rb_node); in add_swap_extent()