Searched refs:swap_extent (Results 1 – 2 of 2) sorted by relevance
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()[all …]
150 struct swap_extent { struct