Lines Matching refs:ocfs2_alloc_reservation

45 					   struct ocfs2_alloc_reservation *resv)  in ocfs2_resv_window_bits()
59 static inline unsigned int ocfs2_resv_end(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_end()
66 static inline int ocfs2_resv_empty(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_empty()
82 struct ocfs2_alloc_reservation *resv; in ocfs2_dump_resv()
90 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_dump_resv()
117 struct ocfs2_alloc_reservation *resv) in ocfs2_validate_resmap_bits()
141 struct ocfs2_alloc_reservation *resv; in ocfs2_check_resmap()
145 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_check_resmap()
192 void ocfs2_resv_init_once(struct ocfs2_alloc_reservation *resv) in ocfs2_resv_init_once()
198 void ocfs2_resv_set_type(struct ocfs2_alloc_reservation *resv, in ocfs2_resv_set_type()
220 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_mark_lru()
230 static void __ocfs2_resv_trunc(struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_trunc()
237 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_remove()
247 struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_discard()
263 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_discard()
275 struct ocfs2_alloc_reservation *resv; in ocfs2_resmap_clear_all_resv()
280 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_resmap_clear_all_resv()
307 struct ocfs2_alloc_reservation *new) in ocfs2_resv_insert()
312 struct ocfs2_alloc_reservation *tmp; in ocfs2_resv_insert()
321 tmp = rb_entry(parent, struct ocfs2_alloc_reservation, r_node); in ocfs2_resv_insert()
358 static struct ocfs2_alloc_reservation *
361 struct ocfs2_alloc_reservation *resv = NULL; in ocfs2_find_resv_lhs()
362 struct ocfs2_alloc_reservation *prev_resv = NULL; in ocfs2_find_resv_lhs()
372 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_find_resv_lhs()
463 struct ocfs2_alloc_reservation *resv, in __ocfs2_resv_find_window()
468 struct ocfs2_alloc_reservation *prev_resv, *next_resv; in __ocfs2_resv_find_window()
530 next_resv = rb_entry(next, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
568 struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
610 prev_resv = rb_entry(prev, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
623 struct ocfs2_alloc_reservation *resv, in ocfs2_cannibalize_resv()
626 struct ocfs2_alloc_reservation *lru_resv; in ocfs2_cannibalize_resv()
643 struct ocfs2_alloc_reservation, r_lru); in ocfs2_cannibalize_resv()
684 struct ocfs2_alloc_reservation *resv, in ocfs2_resv_find_window()
720 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_resv_bits()
761 struct ocfs2_alloc_reservation *resv, in ocfs2_adjust_resv_from_alloc()
789 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_claimed_bits()