Lines Matching full:interval
22 * drbd_insert_interval - insert a new interval into a tree
58 * drbd_contains_interval - check if a tree contains a given interval
59 * @sector: start sector of @interval
60 * @interval: may not be a valid pointer
62 * Returns if the tree contains the node @interval with start sector @start.
63 * Does not dereference @interval until @interval is known to be a valid object
64 * in @tree. Returns %false if @interval is in the tree but with a different
69 struct drbd_interval *interval) in drbd_contains_interval() argument
81 else if (interval < here) in drbd_contains_interval()
83 else if (interval > here) in drbd_contains_interval()
92 * drbd_remove_interval - remove an interval from a tree
101 * drbd_find_overlap - search for an interval overlapping with [sector, sector + size)
105 * Returns an interval overlapping with [sector, sector + size), or NULL if
106 * there is none. When there is more than one overlapping interval in the
107 * tree, the interval with the lowest start sector is returned, and all other