Lines Matching refs:ocfs2_alloc_reservation

40 					   struct ocfs2_alloc_reservation *resv)  in ocfs2_resv_window_bits()
54 static inline unsigned int ocfs2_resv_end(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_end()
61 static inline int ocfs2_resv_empty(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_empty()
77 struct ocfs2_alloc_reservation *resv; in ocfs2_dump_resv()
85 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_dump_resv()
112 struct ocfs2_alloc_reservation *resv) in ocfs2_validate_resmap_bits()
136 struct ocfs2_alloc_reservation *resv; in ocfs2_check_resmap()
140 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_check_resmap()
187 void ocfs2_resv_init_once(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_init_once()
193 void ocfs2_resv_set_type(struct ocfs2_alloc_reservation *resv, in ocfs2_resv_set_type()
213 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_mark_lru()
223 static void __ocfs2_resv_trunc(struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_trunc()
230 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_remove()
240 struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_discard()
256 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_discard()
268 struct ocfs2_alloc_reservation *resv; in ocfs2_resmap_clear_all_resv()
273 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_resmap_clear_all_resv()
300 struct ocfs2_alloc_reservation *new) in ocfs2_resv_insert()
305 struct ocfs2_alloc_reservation *tmp; in ocfs2_resv_insert()
314 tmp = rb_entry(parent, struct ocfs2_alloc_reservation, r_node); in ocfs2_resv_insert()
351 static struct ocfs2_alloc_reservation *
354 struct ocfs2_alloc_reservation *resv = NULL; in ocfs2_find_resv_lhs()
355 struct ocfs2_alloc_reservation *prev_resv = NULL; in ocfs2_find_resv_lhs()
365 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_find_resv_lhs()
456 struct ocfs2_alloc_reservation *resv, in __ocfs2_resv_find_window()
461 struct ocfs2_alloc_reservation *prev_resv, *next_resv; in __ocfs2_resv_find_window()
523 next_resv = rb_entry(next, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
561 struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
603 prev_resv = rb_entry(prev, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
616 struct ocfs2_alloc_reservation *resv, in ocfs2_cannibalize_resv()
619 struct ocfs2_alloc_reservation *lru_resv; in ocfs2_cannibalize_resv()
636 struct ocfs2_alloc_reservation, r_lru); in ocfs2_cannibalize_resv()
677 struct ocfs2_alloc_reservation *resv, in ocfs2_resv_find_window()
713 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_resv_bits()
754 struct ocfs2_alloc_reservation *resv, in ocfs2_adjust_resv_from_alloc()
782 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_claimed_bits()