• Home
  • Raw
  • Download

Lines Matching refs:last

43 #define LAST(node) ((node)->last)
70 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument
79 interval->last = last; in usnic_uiom_interval_node_alloc()
105 unsigned long start, unsigned long last, in find_intervals_intersection_sorted() argument
112 for (node = usnic_uiom_interval_tree_iter_first(root, start, last); in find_intervals_intersection_sorted()
114 node = usnic_uiom_interval_tree_iter_next(node, start, last)) in find_intervals_intersection_sorted()
120 int usnic_uiom_get_intervals_diff(unsigned long start, unsigned long last, in usnic_uiom_get_intervals_diff() argument
132 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_get_intervals_diff()
148 if (pivot > interval->last) { in usnic_uiom_get_intervals_diff()
150 } else if (pivot <= interval->last && in usnic_uiom_get_intervals_diff()
153 pivot = interval->last + 1; in usnic_uiom_get_intervals_diff()
157 if (pivot <= last) in usnic_uiom_get_intervals_diff()
158 MAKE_NODE_AND_APPEND(tmp, pivot, last, 1, flags, err, err_out, in usnic_uiom_get_intervals_diff()
180 unsigned long last, int flags) in usnic_uiom_insert_interval() argument
190 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_insert_interval()
199 ilast = interval->last; in usnic_uiom_insert_interval()
214 if (ilast > last) { in usnic_uiom_insert_interval()
215 MAKE_NODE_AND_APPEND(tmp, lpivot, last, iref_cnt + 1, in usnic_uiom_insert_interval()
218 MAKE_NODE_AND_APPEND(tmp, last + 1, ilast, iref_cnt, in usnic_uiom_insert_interval()
229 if (lpivot <= last) in usnic_uiom_insert_interval()
230 MAKE_NODE_AND_APPEND(tmp, lpivot, last, 1, flags, err, err_out, in usnic_uiom_insert_interval()
251 unsigned long start, unsigned long last, in usnic_uiom_remove_interval() argument
256 for (interval = usnic_uiom_interval_tree_iter_first(root, start, last); in usnic_uiom_remove_interval()
260 last)) { in usnic_uiom_remove_interval()