1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 #ifndef _LUSTRE_OTREE_H
5 #define _LUSTRE_OTREE_H
7 /* XXX ok, I can't make sense of our header nest right now.. */
9 #include <linux/rbtree.h>
10 #include <linux/spinlock.h>
15 unsigned long ot_num_marked;
23 int ot_mark_offset(struct otree *ot, unsigned long offset);
24 int ot_clear_extent(struct otree *ot, unsigned long start, unsigned long end);
25 int ot_find_marked_extent(struct otree *ot, unsigned long *start,
27 int ot_last_marked(struct otree *ot, unsigned long *last);
28 unsigned long ot_num_marked(struct otree *ot);
29 void ot_init(struct otree *ot);