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()
215 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_mark_lru()
225 static void __ocfs2_resv_trunc(struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_trunc()
232 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_remove()
242 struct ocfs2_alloc_reservation *resv) in __ocfs2_resv_discard()
258 struct ocfs2_alloc_reservation *resv) in ocfs2_resv_discard()
270 struct ocfs2_alloc_reservation *resv; in ocfs2_resmap_clear_all_resv()
275 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_resmap_clear_all_resv()
302 struct ocfs2_alloc_reservation *new) in ocfs2_resv_insert()
307 struct ocfs2_alloc_reservation *tmp; in ocfs2_resv_insert()
316 tmp = rb_entry(parent, struct ocfs2_alloc_reservation, r_node); in ocfs2_resv_insert()
353 static struct ocfs2_alloc_reservation *
356 struct ocfs2_alloc_reservation *resv = NULL; in ocfs2_find_resv_lhs()
357 struct ocfs2_alloc_reservation *prev_resv = NULL; in ocfs2_find_resv_lhs()
367 resv = rb_entry(node, struct ocfs2_alloc_reservation, r_node); in ocfs2_find_resv_lhs()
458 struct ocfs2_alloc_reservation *resv, in __ocfs2_resv_find_window()
463 struct ocfs2_alloc_reservation *prev_resv, *next_resv; in __ocfs2_resv_find_window()
525 next_resv = rb_entry(next, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
563 struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
605 prev_resv = rb_entry(prev, struct ocfs2_alloc_reservation, in __ocfs2_resv_find_window()
618 struct ocfs2_alloc_reservation *resv, in ocfs2_cannibalize_resv()
621 struct ocfs2_alloc_reservation *lru_resv; in ocfs2_cannibalize_resv()
638 struct ocfs2_alloc_reservation, r_lru); in ocfs2_cannibalize_resv()
679 struct ocfs2_alloc_reservation *resv, in ocfs2_resv_find_window()
715 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_resv_bits()
756 struct ocfs2_alloc_reservation *resv, in ocfs2_adjust_resv_from_alloc()
784 struct ocfs2_alloc_reservation *resv, in ocfs2_resmap_claimed_bits()