Lines Matching refs:ocfs2_alloc_reservation

42 					   struct ocfs2_alloc_reservation *resv)  in ocfs2_resv_window_bits()
56 static inline unsigned int ocfs2_resv_end(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_end()
63 static inline int ocfs2_resv_empty(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_empty()
79 struct ocfs2_alloc_reservation *resv; in ocfs2_dump_resv()
87 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_dump_resv()
114 struct ocfs2_alloc_reservation *resv) in ocfs2_validate_resmap_bits()
138 struct ocfs2_alloc_reservation *resv; in ocfs2_check_resmap()
142 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_check_resmap()
189 void ocfs2_resv_init_once(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_init_once()
195 void ocfs2_resv_set_type(struct ocfs2_alloc_reservation *resv, in ocfs2_resv_set_type()
217 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_mark_lru()
227 static void __ocfs2_resv_trunc(struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_trunc()
234 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_remove()
244 struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_discard()
260 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_discard()
272 struct ocfs2_alloc_reservation *resv; in ocfs2_resmap_clear_all_resv()
277 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_resmap_clear_all_resv()
304 struct ocfs2_alloc_reservation *new) in ocfs2_resv_insert()
309 struct ocfs2_alloc_reservation *tmp; in ocfs2_resv_insert()
318 tmp = rb_entry(parent, struct ocfs2_alloc_reservation, r_node); in ocfs2_resv_insert()
355 static struct ocfs2_alloc_reservation *
358 struct ocfs2_alloc_reservation *resv = NULL; in ocfs2_find_resv_lhs()
359 struct ocfs2_alloc_reservation *prev_resv = NULL; in ocfs2_find_resv_lhs()
369 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_find_resv_lhs()
460 struct ocfs2_alloc_reservation *resv, in __ocfs2_resv_find_window()
465 struct ocfs2_alloc_reservation *prev_resv, *next_resv; in __ocfs2_resv_find_window()
527 next_resv = rb_entry(next, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
565 struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
607 prev_resv = rb_entry(prev, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
620 struct ocfs2_alloc_reservation *resv, in ocfs2_cannibalize_resv()
623 struct ocfs2_alloc_reservation *lru_resv; in ocfs2_cannibalize_resv()
640 struct ocfs2_alloc_reservation, r_lru); in ocfs2_cannibalize_resv()
681 struct ocfs2_alloc_reservation *resv, in ocfs2_resv_find_window()
717 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_resv_bits()
758 struct ocfs2_alloc_reservation *resv, in ocfs2_adjust_resv_from_alloc()
786 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_claimed_bits()